This is a multi-step process involving some use of the AWS console, so we recommend having both the RightScale Dashboard and AWS console open in separate tabs in your browser.
Launch an instance directly from the image you want to resize, not using a ServerTemplate. Be sure to associate an SSH key for which you have the private key material handy.
Once the instance is running, retrieve the administrator password from the AWS Console. Additionally, identify the snapshot ID of the volume used as the root device by clicking the device name (typically /dev/sda1) in the description of the instance in the AWS Console.
Create a volume from the image you wish to resize using the snapshot ID obtained in the previous step, and attach this to the instance.
Create and attach a blank EBS volume using the desired size of the shrunk image.
Open an RDP session to the instance.
Open the Server Manager, and under the Server Summary section, scroll to Security Information. Click the Configure IE ESC setting; disable for admin. Now, go to Storage, enable the attached disk containing the image (right-click and set to online), then format and mark as active the empty disk(this should be e:).
To proceed, you'll need to install imagex. You can get the full WAIK suite from Microsoft, or selectively download the required tools using this application: http://theoven.org/index.php?topic=287
Open the command prompt and cd to waik_3, as installed in the previous step.
Invoke imagex as follows, where C: is the root device, D: is the volume containing the image to be shrunk, and E: is the empty volume.
imagex.exe /capture d:\ c:\server-image.wim "Windows Server Image" imagex.exe /apply c:\server-image.wim 1 e:
Close your RDP session, and stop the instance from the AWS Console.
Detach all volumes; reattach the smaller volume as
/dev/sda1; the other two volumes (the original root device and the volume containing the source of the image) should be destroyed.
(Optional) Start the instance to confirm the new image is operational; use the EC2 tools to run sysprep and stop the instance. Otherwise, skip to the next step.
In the AWS console, register the image using Create Image (EBS AMI).
Clone the source MCI in rightscale, and replace the AMI(s) with your newly registered AMI(s).