move_ec2_instance
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
move_ec2_instance [2017/07/26 18:26] – [Move EC2 Instance] walkeradmin | move_ec2_instance [2017/07/26 19:38] – [Move EC2 Instance] walkeradmin | ||
---|---|---|---|
Line 47: | Line 47: | ||
\\ | \\ | ||
{{ : | {{ : | ||
- | \\ | ||
\\ | \\ | ||
Enter the following information: | Enter the following information: | ||
Line 63: | Line 62: | ||
Select <color # | Select <color # | ||
\\ | \\ | ||
- | \\ | + | |
+ | ---- | ||
<color # | <color # | ||
+ | |||
+ | ---- | ||
+ | |||
+ | When you select the <color # | ||
\\ | \\ | ||
\\ | \\ | ||
- | When you select the <color #ff7f27>Create Image</ | + | {{ : |
+ | \\ | ||
+ | Just accept the message by selecting <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | The <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | \\ | ||
+ | For my EC2 Instance, the AMI creation took around 5 Minutes. I have an EC2 that has an 8Gb Magnetic store, this store is about 80% full. | ||
+ | \\ | ||
+ | \\ | ||
+ | After the AMI Creation is complete, the status will change to <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | This is the back process complete. | ||
+ | \\ | ||
+ | \\ | ||
+ | Next we need to make the AMI available in our new region (AZ). | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | The Copy AMI page will open. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | We have to make some initial choices here: | ||
+ | \\ | ||
+ | \\ | ||
+ | **Destination Region: | ||
+ | **Name: | ||
+ | \\ | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | A Copy AMI Confirmation window will open. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | This also took around 5 minutes to complete for my EC2 Instance. | ||
+ | \\ | ||
+ | \\ | ||
+ | Before you continue, it is very important to ensure that you are now working in the correct AZ (Availability Zone). | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | In the top right of the web interface, ensure you see your zone. | ||
+ | \\ | ||
+ | \\ | ||
+ | Before you continue, ensure that the status for the AMI is <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | when the AMI is available, | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | From the menu, select | ||
+ | \\ | ||
+ | \\ | ||
+ | What launch does, it to take you through an identical process to when you create a new EC2 Instance. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Chose an instance type, select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | **Configure Instance Details.** | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Unless you have a good reason, there are no changes required here. Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | **Add Storage.** | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | I normally accept the defaults here, but I do change from SSD to Magnetic. Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | **Add Tags.** | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Nothing to do here, select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | **Configure Security Group** | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Here we have to open any ports that we were using for the instance we copied earlier. I was using port 80 as my EC2 Instance was a web server. | ||
+ | \\ | ||
+ | \\ | ||
+ | Add any relevant ports then select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | You will get a warning about storage. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Because we selected magnetic, we see this page. I have been using magnetic for a few weeks and have not yet incurred any costs. | ||
+ | \\ | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | After all the settings pages you will see a **confirmation | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | Because this is a new EC2 Instance, we need to create a new Key Pair. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | If you check the status of your EC2 Instance, you will see the following: | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | The Availability Zone (AZ) has now changed to the region you selected. Your IP will also have changed, as IPs can't be moved between AZs you will have to update your DNS settings, also if you use Elastic IP Addresses, you will have to recreate new ones for this AZ. | ||
+ | \\ | ||
+ | \\ |
move_ec2_instance.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1