I have a free micro instance launched in AWS EC2, I want to change the instance's OS to Cent OS. How would I be able to change the AMI <- (OS Image) of the instance?
Edit (Solved):
Terminated existing instance and launched a new one.
You can't edit AMI once you created Launch Configuration LC-1 ( You can't change anything once you create Launch configuration). Okay, but it's difficult to create a new Launch configuration all time and then update the auto scaling group with new Launch Configuration.
To edit an instance's configurationStop the instance, if it is not already stopped. On the Instances page, click an instance name to display the Details page. Click Edit to display the edit page. Edit the instance's configuration, as appropriate.
It is not possible to change the name of an AMI image. Once the name is set, it cannot be changed. You have 2 possible resolutions: Create the AMI image again, using a different name.
You cannot update the AMI
on an existing instance in AWS. The only way to do that is to terminate the current instance and relaunch the instances with the desired the AMI
Background
AMI
is a special type of virtual appliance that is used to instantiate (create) a virtual machine within the Amazon Elastic Compute Cloud ("EC2") and I always refer to it as .iso
image file.
Now I can use an .iso
image file of a particular OS say Ubuntu to install it on a partition of my choice and if I want to change the OS on that partition then only way for me to do is by formatting that partition and installing a new OS from its .iso
image file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With