Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Step: 3

blur-text-image

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

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions