Thursday, June 18, 2009

Bundling an Instance into an AMI (Windows):

S3 Bucket
S3 is a persistent data store that enables you to store objects, like an AMI. The bucket is similar to a folder on a file system so that you can keep your objects organized. The bucket name though is unique across all S3 users.

Bundling
Bundling is a method of taking a snapshot of the file system, so you can later boot from it. You can make a new AMI by modifying and extending an existing image (such as the one you just booted and logged onto), and then bundling it to use later.

Windows Operating Systems

Step 1: Make any Modifications
The first step in creating any AMI is to make any modifications to your running instance. To create a running instance, please follow the steps provided above.
Step 2: Bundle the Image
Once your modifications have been made to a running instance, you can bundle your instance into an AMI. This will automatically shut down your instance, take a snapshot, and restart it for you. To take the snapshot:
1. Launch Elasticfox by clicking on the “Tools” menu in Firefox, and selecting Elasticfox.
2. Click on the “AMIs and Instances” tab.
3. Refresh the “Your Instances” . This will ensure you have the most up to date list of instances shown on your screen.
4. Right click on the instance to bundle, and select “Bundle into an AMI”.

5. Enter in a S3 bucket name to store the AMI in and a name for the image, then click “OK”. Please ensure that the bucket name hasAssuming you have entered a valid bucket and image name, this will cause you to be switched to the “Bundle Tasks” tab where it will show you the status of the bundling process.

Step 3: Register the Image

Once the image has reached the “completed” state in the “Bundle Tasks” tab, you just need to register the AMI to make it available for you to use. To do this:

Amazon EC2 Elasticfox

1. Ensure you are on the “Bundle Tasks” tab, by clicking on the “Bundle Tasks” tab.

2. Right click on the bundle to register, and select “Register a new AMI”. If successful,

this will take you back to the “AMIs and Instances” page and select the newly created AMI. Now you can launch that instance if you need.

(Or)

S3Fox

1. Start Firefox->Tools->S3 Organizer--->

2. Alert box : Click OK

3. Manage Accounts--->







4. The buckets loads after authentication.

5. To boot the bundled instance(Windows only).





*Start Elasticfox-->









After Registering AMI.

Search the AMI in the list of instances & Launch as usual.




No comments:

Post a Comment