Ubuntu server deployment [closed]

What's the best way to automate Ubuntu Server deployments? I saw that someone is porting Kickstart to Ubuntu, but it didn't look very complete.


Solution 1:

For provisioning, you'll want to look into preseeding installation, or perhaps system-imager.

For configuration and maintenance after the system is up, look into a configuration management tool like Chef.

Solution 2:

See this link on Ubuntu's site. http://www.ubuntu.com/products/whatisubuntu/serveredition/features/autodeploy

Solution 3:

Our setup uses a homegrown script and puppet to roll out nearly 100% automated deployments.

  • netboot grml
  • if no interaction is taken a script will automatically run that installs debian (but ubuntu has the same toolset) thru debootstrap
  • Host will automatically reboot
  • Human interaction is needed on the puppetmaster (on purpose) to verify the SSL certificate for further configurations is fine
  • at most 15 minutes later a "puppetrun" is started since we have a cronjob checking that puppet is indeed running and starts configuring the node

We considered FAI and preseeding but found that our existing scripts need just very little glue to do what we want so we used that, FAI might be an option in the future thou...

Solution 4:

I would recomment you download and read Automated deployments of Ubuntu whitepaper.