shareVM- Share insights about using VM's

Simplify the use of virtualization in everyday life

Create a new EC2 AMI instance from an existing AMI

leave a comment »

  1. Open ElasticFox; Open tab AMI and Instances
  2. Select an AMI Instance to suit your needs and launch it as described here
  3. You will be shown the Launch New Instance dialog box
  4. Select the Instance Type as small or large
  5. Select the key pair you want to use. There might be just one in the dropdown if you are the only user, otherwise there can be one per member of your development team.
  6. Select the Availability Zone in the same zone as your primary services and data. We chose us-east-1c because that is the zone where all our VM’s are currently running.
  7. Select the appropriate Security Group, I chose pauls-sandbox, which was created as described here.
  8. Press the Launch button to launch an instance of this AMI
  9. The AMI instance is shown as running
  10. Right click on the running AMI instance and select Connect to Instance. This should bring up a terminal window

You have got to remember at all times that Amazon EC2 is stateless, it will not remember things between one AMI instance to the next unless you have allocated persistent storage in Amazon’s Simple Storage Service (S3) and maintain state there, e.g., .bashrc, etc for logins.

  1. Create a new volume in the Elastic Block Store (EBS) from the Volumes and Snapshots tab in ElasticFox
  2. Attach this newly created volume as /dev/sdh with the AMI instance that you have just started
  3. This causes the volume to be associated with the running instance

Written by paule1s

December 5, 2008 at 10:12 pm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: