Question: 2 . Assignment Details and Expected Outcomes In this assignment, the student is to write a python script that perform the following sub - tasks:

2. Assignment Details and Expected Outcomes
In this assignment, the student is to write a python script that perform the following sub- tasks:
The script will retrieve the identifications (subnet IDs) of the six subnets in the default virtual private cloud (VPC).
Then using subnet IDs, the same script will deploy one EC2 instance per each subnet.
The deployment of the EC2 will include User Data to configure httpd websites.
The website landing page should say Hi from (VM's hostname) and specify student's name. The example of the user data for the Ubuntu OS is below. More details are available in the "TELE20483 Labs 2023" document and the provided TELE20483 textbook located on SLATE.
Finally, the script will list the identification of the EC2(instance IDs), the subnet Id the instance is deployed to and instance's private IPv4 address.
The following diagram shows the requested infrastructure. By the end of the script execution, there will be a total of six websites deployed across the six
default sub
1 of 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!