Score:0

How to update the AMI of the instance without loosing data? and the instance has two EBS volumes which EBS volume should i take snapshot?

vn flag

How to update the AMI of the instance without loosing data? and the instance has two EBS volumes (root and secondary) which EBS volume should i take snapshot? to replicate the original instance.

Score:1
gp flag
Tim

You can't update the AMI of an instance without replacing it with a new instance. Typically you simply run the operating system updates - yum update / apt update & upgrade / windows update. So long as the OS is still supported that typically does everything most people need, unless you need features in a newer OS that aren't available in an older OS.

If you want a VM based on a different AMI you have to manually create a new instance, install required software, migrate your data, etc. You can of course attach any volumes from that instance to another VM, which is best done after the old instance is stopped.

Take a snapshot of all volume before you do anything.

What exactly are you trying to achieve here?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.