Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Python script execution results Figure 4 Instances deployed wih python script in the required subnets 2. Security Group definition: example for VM1 only


1. Python script execution results

image

Figure 4 Instances deployed wih python script in the required subnets

 

2. Security Group definition: example for VM1 only 

image

Figure 5 The screenshot shows public IP of VM1

(This group might be incorrect and is added for demonstration purposes only!)

image

Figure 6 Security group for VM1
a. Connectivity to VM1 from my laptop with ping
image

Figure 7 Verified that I can ping VM1 from my laptop
b. Connectivity to VM1 from my laptop with traceroute
image
c. Connectivity to VM1 from my laptop with SSH 
 
image


Figure 8 Connected to VM1 via ssh

3. Security Group definition: VM2
Add the screenshots of security group definition and all the required VM2 connectivity screenshots (SSH, HTTP)
d. Example: Connectivity the laptop to webservers on VM2 ports 8081, 8082, and 27017
 

image
Figure 9 Public IP of VM2
image

Figure 10 Connecting to VM2 on port 8081
image
Figure 11 Connecting to VM2 on port 8082
image

Figure 2 Connecting to VM2 on port 27017

4. Security Group definition: VM3
Add the screenshots of security group definition and all the required VM3 connectivity screenshots
5. Cleanup

          Cleanup task completed

image

Using Python script accomplish this task in AWS(Amazon Web Services) panel.


irina@Irinas-MacBook-Pro Assignment2 % python3 create_vms.py Create EC2 Instances Instance ID is i-02271c806d8941727 with Private IP 172.31.33.68 In the Subnet subnet-0a5b4cbeabe4a1521 with CIDR 172.31.32.0/20 Instance ID is i-0e4082a1e111f2b92 with Private IP 172.31.11.199 In the Subnet subnet-09523bed6fa17fe8e with CIDR 172.31.0.0/20 Instance ID is i-0c0292004eca0alld with Private IP 172.31.28.205 In the Subnet subnet-0748e5e9f3ce54467 with CIDR 172.31.16.0/20 o irina@Irinas-MacBook-Pro Assignment2 %

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions

Question

how is balance in the book category found for a bank

Answered: 1 week ago

Question

million mailing packs were sent to

Answered: 1 week ago

Question

million households).

Answered: 1 week ago