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.
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 sudo apt-get install libxslt-dev libxml2-dev
After this is done, the Gem installation is also required on Ubuntu because Gems contain all of the package information with files for installation:
sudo apt-add-repository...