O'Reilly logo

Learning Chef by Rishabh Sharma, Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

AWS EC2 bootstrapping using Chef

AWS is the pioneer in providing IaaS. Elastic cloud computing (EC2) is the most popular and widely adopted Infrastructure as a service.

Here, we are going to see step-by-step procedures to bootstrap AWS EC2 instances. Let's start with the first step to set up a workstation.

Preparing your workstation

First, we need to prepare your workstation to install the knife-ec2 plugin, so that you can use the knife command on AWS instances. Here, we are considering to install the Ubuntu operating system on your workstation.

If Ruby is not installed on your workstation, kindly go ahead with the Ruby installation first:

sudo apt-get update
sudo apt-get install ruby1.8-dev ruby1.8ri1.8rdoc1.8irb1.8
sudo apt-get install libreadline-ruby1.8libruby1.8libopenssl-ruby ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required