Practice Problem Elastic IP Address and Custom AMI 09 Dec 2021 Latest
Practice Problem Elastic IP Address and Custom AMI 09 Dec 2021 Latest
Muthuram Govindarasu
Indigeneous Tech Private Limited,
# 165, 8th Cross, CIL Layout, Cholanayakanhalli, RT Nagar (PO), Bangalore - 560032
Table of Contents
I. Elastic IP..............................................................................................................................................2
1) Create an EC2 Instance with Amazon Linux AMI................................................................................2
2) Check the Public and Private IP Addresses of the started Instance...................................................8
3) Stop the Instance and check the Public and Private IP Addresses of the Instance............................9
4) Start the Instance again and check the Public and Private IP Addresses of the Instance...............10
5) Get Allocated an Elastic IP Address..................................................................................................12
6) Associate the Elastic IP Address to the Instance “NCJ-Custom-AMI-01”.........................................15
7) Stop and Start the Instance “NCJ-Custom-AMI-01” and verify its Public IP Address......................18
II. Custom AMI...................................................................................................................................21
1) Check for the availability of any Custom AMI in AWS.....................................................................21
a) Click on Launch Instances.............................................................................................................21
b) Click on “my AMIs” and check......................................................................................................22
2) Create a Custom AMI and check.......................................................................................................22
a) Create an image of the Instance “NCJ-Custom-AMI-01” and check.............................................23
b) Check the creation of “Snapshot”.................................................................................................25
c) Check the availability of the created Custom AMI in the Instance Launch step..........................25
3) Launch a new Instance based on the created Custom AMI.............................................................27
4) Custom EMI’s Permissions................................................................................................................32
5) Deregister Custom AMI and check...................................................................................................33
Page 1 of 36
I. Elastic IP
Page 2 of 36
Page 3 of 36
Page 4 of 36
Page 5 of 36
Page 6 of 36
Page 7 of 36
2) Check the Public and Private IP Addresses of the started
Instance
Public IP of the created Instance: 18.233.9.24
Private IP of the created Instance: 172.31.0.186
Page 8 of 36
3) Stop the Instance and check the Public and Private IP
Addresses of the Instance
Page 9 of 36
Public IP of the created Instance after Stopping:
Private IP of the created Instance: 172.31.0.186
4) Start the Instance again and check the Public and Private IP
Addresses of the Instance
Page 10 of 36
After starting the Instance: Public IP: 13.235.83.6
Page 11 of 36
After starting the Instance: Public IP: 13.235.83.6
Before Stopping the Instance: Public IP: 13.233.9.24
Page 12 of 36
Page 13 of 36
Allocated EIP: 13.232.191.183
Page 14 of 36
6) Associate the Elastic IP Address to the Instance “NCJ-Custom-
AMI-01”
Page 15 of 36
Page 16 of 36
Page 17 of 36
Associated IP Address for the Instance “NCJ-Custom-
AMI-01”: 13.232.191.183
Page 18 of 36
Instance IP Address after stopping: 13.232.191.183
Page 19 of 36
Instance IP after Starting: 13.232.191.183
Page 20 of 36
II. Custom AMI
Page 21 of 36
b) Click on “my AMIs” and check
Page 22 of 36
a) Create an image of the Instance “NCJ-Custom-AMI-01” and check
Page 23 of 36
Page 24 of 36
b) Check the creation of “Snapshot”
c) Check the availability of the created Custom AMI in the Instance Launch
step
Page 25 of 36
Page 26 of 36
3) Launch a new Instance based on the created Custom AMI
Page 27 of 36
Page 28 of 36
Page 29 of 36
Page 30 of 36
Page 31 of 36
4) Custom EMI’s Permissions
Page 32 of 36
5) Deregister Custom AMI and check
Page 33 of 36
Page 34 of 36
Page 35 of 36