User Tools

Site Tools


move_ec2_instance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
move_ec2_instance [2017/07/26 17:41] – [Move EC2 Instance] walkeradminmove_ec2_instance [2017/07/26 19:14] – [Move EC2 Instance] walkeradmin
Line 3: Line 3:
 \\  \\ 
 \\  \\ 
 +<color #ed1c24>This page is not complete, please check back in a short time for the full guide.</color>
  
 ---- ----
Line 25: Line 26:
 {{ :aws_move_instance_001.jpg?900 |}} {{ :aws_move_instance_001.jpg?900 |}}
 \\  \\ 
-\\  +In the example above it can be see that my <color #ff7f27>EC2 Instance</color> is in the <color #ff7f27>Availability Zone (AZ)</color> <color #ff7f27>us-east-2c</color>. I am in England, so I really need a closer AZ to where I am.
-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</color> or <color #ff7f27>AMI</color>. 
 +\\  
 +\\  
 +To create an AMI, select the <color #ff7f27>Actions</color> button. 
 +\\  
 +\\  
 +{{ :aws_move_instance_002.jpg?900 |}} 
 +\\  
 +From the pop out list select <color #ff7f27>Image</color> then <color #ff7f27>Create image</color>
 +\\  
 +\\  
 +The Create Image page will open. 
 +\\  
 +\\  
 +{{ :aws_move_instance_003.jpg?900 |}} 
 +\\  
 +Enter the following information: 
 +\\  
 +\\  
 +**Image name:**           A simple name to identify the image. 
 +**Image description:**    A description for the image. 
 +**No Reboot:**            If you tick this, the Image may have issues, best to allow reboot if possible. 
 +\\  
 +\\  
 +**Size GiB:**             Size of storage for image (I went with the default) 
 +**Volume Type:**          Magnetic, don't need SSD for simple storage. 
 +\\  
 +\\  
 +Select <color #ff7f27>Create Image</color>
 +\\  
 + 
 +---- 
 + 
 +<color #ed1c24>WARNING!:</color> Now I know I go on about this, but the space you use, might not be free. Remember you get 30GB free. If you exceed that you start to pay per hour. Even if you do exceed it, you will finish this process in about 20-30 minutes, and can delete this AMI, so your costs again should be no more than a few pence, if anything at all. 
 + 
 +---- 
 + 
 +When you select the <color #ff7f27>Create Image</color> button, you will see a confirmation window. 
 +\\  
 +\\  
 +{{ :aws_move_instance_004.jpg?600 |}} 
 +\\  
 +Just accept the message by selecting <color #ff7f27>Close</color>
 +\\  
 +\\  
 +The <color #ff7f27>AMI Status</color> will change to <color #ff7f27>Pending</color>
 +\\  
 +\\  
 +{{ :aws_move_instance_005.jpg?900 |}} 
 +\\  
 +\\  
 +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 #22b14c>available</color>
 +\\  
 +\\  
 +{{ :aws_move_instance_006.jpg?900 |}} 
 +\\  
 +This is the back process complete. 
 +\\  
 +\\  
 +Next we need to make the AMI available in our new region (AZ). 
 +\\  
 +\\  
 +{{ :aws_move_instance_007.jpg?900 |}} 
 +\\  
 +Select <color #ff7f27>Actions</color>, then <color #ff7f27>Copy AMI</color>
 +\\  
 +\\  
 +The Copy AMI page will open. 
 +\\  
 +\\  
 +{{ :aws_move_instance_008.jpg?600 |}} 
 +\\  
 +We have to make some initial choices here: 
 +\\  
 +\\  
 +**Destination Region:**    This is the new AZ for your EC2 Instance (I want it in London) 
 +**Name:**                  A name to identify the copied AMI (you will need this, so make it obvious) 
 +\\  
 +\\  
 +Select <color #ff7f27>Copy AMI</color>
 +\\  
 +\\  
 +A Copy AMI Confirmation window will open. 
 +\\  
 +\\  
 +{{ :aws_move_instance_008.jpg?600 |}} 
 +\\  
 +Select <color #ff7f27>Done</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).  
 +\\  
 +\\  
 +{{ :aws_move_instance_010.jpg?900 |}} 
 +\\  
 +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 #22b14c>available</color>. What you have just done is to copy the AMI you created in your original AZ, and put it in the AZ where you want the new EC2 Instance to reside. 
 +\\  
 +\\  
 +when the AMI is available, select <color #ff7f27>Actions</color>
 +\\  
 +\\  
 +{{ :aws_move_instance_011.jpg?900 |}} 
 +\\  
 +From the menu, select <color #ff7f27>Launch</color>
 +\\  
 +\\  
 +What launch does, it to take you through an identical process to when you create a new EC2 Instance. 
 +\\  
 +\\  
 +{{ :aws_move_instance_012.jpg?900 |}} 
 +\\  
 +Chose an instance type, select <color #ff7f27>t2micro</color> (free tier) and then select Next: <color #ff7f27>Configure Instance Details</color>
 +\\  
 +\\  
 +Configure Instance Details. 
 +\\  
 +\\  
 +{{ :aws_move_instance_013.jpg?900 |}} 
 +\\  
 +Unless you have a good reason, there are no changes required here. Select <color #ff7f27>Next: Add Storage</color>
 +\\  
 +\\  
 +Add Storage. 
 +\\  
 +\\  
 +{{ :aws_move_instance_014.jpg?900 |}} 
 +\\  
 +I normally accept the defaults here, but I do change from SSD to Magnetic. Select <color #ff7f27>Next: Add Tags</color>
 +\\  
 +\\  
move_ec2_instance.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1