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 17:41] – [Move EC2 Instance] walkeradmin | move_ec2_instance [2017/07/26 19:34] – [Move EC2 Instance] walkeradmin | ||
---|---|---|---|
Line 3: | Line 3: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | <color # | ||
---- | ---- | ||
Line 25: | Line 26: | ||
{{ : | {{ : | ||
\\ | \\ | ||
- | \\ | + | In the example above it can be see that my <color #ff7f27>EC2 Instance</ |
- | In the example above it can be see that my EC2 Instance is in the Availability Zone (AZ) us-east-2c. I am in England, so I really need a closer AZ to where I am. | + | |
\\ | \\ | ||
\\ | \\ | ||
Line 32: | Line 32: | ||
\\ | \\ | ||
\\ | \\ | ||
- | Amazon Machine Image or AMI. | + | <color #ff7f27>Amazon Machine Image</ |
+ | \\ | ||
+ | \\ | ||
+ | To create an AMI, select the <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | From the pop out list select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | The Create Image page will open. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Enter the following information: | ||
+ | \\ | ||
+ | \\ | ||
+ | **Image name: | ||
+ | **Image description: | ||
+ | **No Reboot: | ||
+ | \\ | ||
+ | \\ | ||
+ | **Size GiB: | ||
+ | **Volume Type: | ||
+ | \\ | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | <color # | ||
+ | |||
+ | ---- | ||
+ | |||
+ | When you select the <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | 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, select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | From the menu, select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | 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 page**. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | Because this is a new EC2 Instance, we need to create a new Key Pair. | ||
+ | \\ | ||
+ | \\ | ||
+ | {{ : | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ | ||
+ | Select <color # | ||
+ | \\ | ||
+ | \\ |
move_ec2_instance.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1