DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • AWS Amplify: A Comprehensive Guide
  • Maximizing Uptime: How to Leverage AWS RDS for High Availability and Disaster Recovery
  • Choosing the Appropriate AWS Load Balancer: ALB vs. NLB
  • Fortifying the Cloud: A Look at AWS Shield's Scalable DDoS Protection

Trending

  • Understanding Git
  • What Is Good Database Design?
  • Snowflake vs. Data Bricks: Compete To Create the Best Cloud Data Platform
  • Exploring the Evolution and Impact of Computer Networks
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. How to Move Servers Between AWS Accounts

How to Move Servers Between AWS Accounts

$$anonymous$$ user avatar by
$$anonymous$$
·
Mar. 20, 13 · Interview
Like (0)
Save
Tweet
Share
13.66K Views

Join the DZone community and get the full member experience.

Join For Free

this is a short post about how to move your ( ec2 ) server from one account to another. i got in this situation a few ago and wanted to move our wordpress server from one account to another. of course i could setup a new clean wordpress instance (like i described here ) and load an wordpress xml export into the new environment. but luckily it is much easier then that, with less risk of errors. the trick here is to create a personal ami under the old account and share that ami to the new account. with the new account you initiate a new ec2 instance based on the shared ami. here are all necessary steps including screen shots:

  • select the ec2 instance in the ‘old’ account
  • after selecting the ec2 instance create an ami out of it by selecting the corresponding action:
    screen shot 2013-03-10 at 13.52.39
    after selecting the ec2 instance create an ami out of it by selecting the corresponding action.

  • set the ami permissions
  • after the ami is created, select it in the ami overview and press the ‘permissions’ button:
    screen shot 2013-03-10 at 13.58.25

  • add the aws account id of the ‘new’ account
  • to give the new account access to this specific ami add it’s aws account id to this list:
    screen shot 2013-03-10 at 13.59.45
    you can find your account id here

  • select ami with the new account
  • log out of aws with the old account and login with the new one. now select the ami option on the left side of menu and filter the ami’s on ‘private images’:
    screen shot 2013-03-10 at 14.04.38

  • create new instance based on the ami
  • the final step is to create a new instance based on the ami. after it is launched you have an exact copy of the same machine within the new account:
    screen shot 2013-03-10 at 14.07.43

of course it is a good idea to create (regular) backups of the new instance and shutdown the instance in the old account so you don’t have to pay for that one anymore.

AWS

Published at DZone with permission of $$anonymous$$. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • AWS Amplify: A Comprehensive Guide
  • Maximizing Uptime: How to Leverage AWS RDS for High Availability and Disaster Recovery
  • Choosing the Appropriate AWS Load Balancer: ALB vs. NLB
  • Fortifying the Cloud: A Look at AWS Shield's Scalable DDoS Protection

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: