Resources



Articles and Tutorials

Configuring Windows Components on Amazon EC2

Click for a printer friendly version of this document Printer Friendly Save to del.icio.us
Average Review:

Optional Windows Server operating system components are typically added or configured using installation media. This tutorial describes how to add or configure optional Windows components within the Amazon EC2 environment.

AWS Products Used: Amazon EC2
Language(s): Other
Date Published: 2008-10-23

Windows Server operating systems include many optional components. Installing all components on each Amazon EC2 Windows AMI is not practical or desirable. Instead, EC2 users can access the necessary files to configure or install components using Elastic Block Storage (EBS) Snapshots.

The following is a list of available snapshots for US:

  • Windows 2003 R2 Enterprise 32-bit: snap-bb10f6d2
  • Windows 2003 R2 Datacenter 32-bit: snap-8010f6e9
  • Windows 2003 R2 Enterprise 64-bit: snap-d010f6b9
  • Windows 2003 R2 Datacenter 64-bit: snap-a310f6ca

The following is a list of available snapshots for EU:

  • Windows 2003 R2 Enterprise 32-bit: snap-a4bb5ecd
  • Windows 2003 R2 Datacenter 32-bit: snap-b8bb5ed1
  • Windows 2003 R2 Enterprise 64-bit: snap-a6bb5ecf
  • Windows 2003 R2 Datacenter 64-bit: snap-babb5ed3

To add a Windows component snapshot to an existing instance (using the API tools):

  1. Create an EBS volume from one of the snapshots above using the ec2-create-volume command-line tool:

    ec2-create-volume --snapshot snap-bb10f6d2 --availability-zone same_as_your_windows_instance
  2. Attach the volume to your Windows instance:

    ec2-attach-volume volume_id --instance instance_id --device xvdg

    where the device can be xvdf through xvdp.

  3. The volume will show up in Windows Explorer within a few minutes.

Now you configure the Windows Components Wizard to point to the new volume.



Related Documents
Type: Developer Tools Amazon EC2 API Tools
Type: Articles & Tutorials Feature Guide: Amazon EC2 Running Windows
Type: Technical Documentation Docs: Amazon EC2 (API Version 2008-08-08)

Discussion

The 5 most recent discussion messages. View full discussion.

Manish@AWS
Posts: 344
Registered: 6/23/08
Re: Not Available in Europe
Posted: Mar 5, 2009 12:02 PM PST   in response to: earthgecko
 
  Click to reply to this thread Reply

The Europe snapshot id's have been added to the doc now. Thanks.


earthgecko
Posts: 11
Registered: 1/26/09
Re: Not Available in Europe
Posted: Mar 5, 2009 3:08 PM PST   in response to: Manish@AWS
 
  Click to reply to this thread Reply

Thanks VERY MUCH for a quick response and resolution!! Nice one... means I can do it easily now...


guyhbradley
Posts: 1
Registered: 12/20/07
Re: Not Available in Europe
Posted: Mar 6, 2009 5:53 AM PST   in response to: Manish@AWS
 
  Click to reply to this thread Reply

Yes, Thanks for the speedy response. I had the same problem yesterday and was about to post a question today :-)



ray25408
Posts: 2
Registered: 8/12/08
Re: Not Available in Europe
Posted: Apr 8, 2009 8:07 AM PDT   in response to: earthgecko
 
  Click to reply to this thread Reply

A note for anyone using the EU snapshots, remember to use the --region parameter to specify the EU region otherwise you'll get the following error:

> "Client.InvalidZone.NotFound: The zone 'eu-west-1a' does not exist."

For example, if you're creating a volume from the snap-babb5ed3 snapshot in the eu-west-1a availability zone, the API call would be:

> ec2-create-volume --snapshot snap-babb5ed3 --availability-zone eu-west-1a --region eu-west-1


aaa83
Posts: 3
Registered: 8/4/09
Re: Not Available in Europe
Posted: Sep 4, 2009 8:37 PM PDT   in response to: earthgecko
 
  Click to reply to this thread Reply

Reading this document

http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1802

about mounting the snapshots using the api tools but I am not sure where to run this at?  I assume it can be run from inside my Windows Server 2003 instance using Cygwin but it is not working for me.

Can someone please describe what environment and how they are executing the ec2-create-volume to mount the snapshots containing the i386 directory to add additional Windows components?

Thanks



Reviews
Create Review Write a Review

Cool but automate it, Nov 25, 2008 12:42 PM
Reviewer: camalartre
This is nice but should be automated and in an Amazon control panel. Carl malartre@scolab.com
Welcome, Guest Help
Login Login