Amazon – Delete privately shared AMI

amazon ec2amazon-ami

We had to split an Amazon account into two accounts to better track usage between departments on the company.

To transfer a server, we made an AMI of the EC2 server and shared it privately with the new account. The new account was able to instantiate the EC2 server successfully.

That server is stopped in the old account, and the AMI is still shared privately.

So the doubts boil down to:

  • Is the instantiated server dependant on the shared AMI?
  • Is it safe to terminate the EC2 instance on the old account, and to unshared and deregister the AMI?
  • Would the new Account will still be able to run the instantiated server?
  • Is it possible to make a new AMI on the new Account after deleting the shared AMI on the old account?

Thanks

Best Answer

  • Is the instantiated server dependant on the shared AMI?

    No, once the EC2 instance is created from AMI, there is no connection between 2 anymore.

  • Is it safe to terminate the EC2 instance on the old account, and to unshared and deregister the AMI?

    Yes, it's totally safe.

  • Would the new Account will still be able to run the instantiated server?

    Yes.

  • Is it possible to make a new AMI on the new Account after deleting the shared AMI on the old account?

    Yes, you can anytime create a AMI out of your running instance and use that further to create new instances out of it.

Related Topic