Tuesday, April 10, 2012

Upgrade Amazon EC2 Micro Instance to Larger instance

I always fear of how to upgrade my T1.Micro instance when i need a larger instance but it end up it is sooo easy , here i get you the steps ...


First Way:
  • Create a new AMI of the instance
  • Launch it
Alternative Way:
  • Make a snapshot of the disk
  • Launch a large EBS instance with the same AMI type (please note that at this point the disk will contain the data that was present when this AMI was created, not your latest changes)
  • Once is fully booted, stop the new instance
  • Detach the root volume from the stopped instance
  • Create a virtual disk from the snapshot created before in the same availability zone of the new instance
  • Attach the root volume to /dev/sda1
  • Start the new instance again

Or in a NUTSHELL ,
Using the AWS Management Console
  • Go to "Volumes" and create a Snapshot of your instance's volume.
  • Go to "Snapshots" and select "Create Image from Snapshot".
  • Go to "AMIs" and select "Launch Instance" and choose your "Instance Type" etc.