Chapter 3. Integrating with the Cloud

Being able to configure new hosts automatically means that if you outgrow your existing resources, you can easily bring up new servers to increase your capacity with very little effort. The Chef command-line tool, knife, provides the ability to provision new hosts with cloud services automatically from the command line if configured correctly. This chapter introduces you to using Chef with two popular cloud platform providers: Amazon EC2 and Rackspace Cloud. Here, you will learn to use knife with both of these providers in order to perform the following:

  • Provision new hosts according to your hardware needs
  • Bootstrap the Chef client and register hosts with the Chef service
  • List your existing capacity
  • Terminate ...

Get Chef: Powerful Infrastructure Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.