Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
Task
Select an appropriate lab environment within the AWS Academy platform to deploy a web server as illustrated in the following diagram using the AWS CLI.
Figure 1: Illustration Diagram of Your Final Product.
Submission
Please submit a zip file named ‘JC123456.zip’ (replace ‘JC123456’ with your actual JC num- ber), which should contain the following items.
1. One text file (.txt) that contains all the AWS CLI commands you used, with comments provided for each command.
2. One .pdf file containing the following screenshots (points (a) to (e)).
(a) One screenshot should display the public IPv4 address and the contents of your website in a web browser. Your website should prominently feature your JC num- ber. For instance, in Figure 2, you can see two red circles highlighting the assigned public IPv4 address and a sample JC number (replace it with your JC number) as you implement this project.
Figure 2: Final Website.
(b) One screenshot displays a preview of your VPC (resource map). Refer to Figure 3 for an example.
Figure 3: Resource Map of A VPC.
(c) Two screenshots display the IPv4 CIDRs for both public and private subnets. Refer to Figures 4aand 4b for examples.
Figure 4: IPv4 CIDRs
(d) Two screenshots show the routes of both public and private route tables. Refer to Figures 5a and 5b for examples.
Figure 5: Routes in Route Tables
(e) One screenshot displays the inbound rule(s) of the security group, including the protocol and port range. Refer to Figure 6 for an example.
Figure 6: Inbound Rule.
Rubric/Marking Scheme
Overall marks: 20 points
8 points: the screenshots containing the required information.
- 2 points: the screenshot of the final website.
- 1 point: the resource map of your VPC.
- 2 points: the IPv4 CIDRs for both public and private subnets.
- 2 points: the routes of both public and private route tables.
- 1 point: the inbound rule of the security group.
(2.5 + 1) points: the commands that create the required VPC and their comments.
(1.5 + 1) points: the commands that set up the security group and their comments.
(5 + 1) points: the commands used to launch the EC2 instance for the web server and their comments.
Notes
When working on this project, consider AWS Documentation, previous weekly practical instructions, search engines, and ChatGPT as your best resources and guides.
You have a maximum of three hours to use the lab environment. Before the lab auto- matically terminates, remember to save your work regularly to avoid wasting time.
Pay attention to your web browser’s default protocol (HTTP or HTTPS) when visiting your website.
When aweb server is not reachable (Port 80: connection refused), there are two possible reasons in this assignment. First, the VPC’s firewall may not allow Port 80 traffic.Second,
the web server may not be listening successfully on Port 80 (http or tcp).
The screenshots do not have to be exclusively generated by the AWS CLI. You can still earn 8 points for the screenshots if you use the AWS Management Console, either exclusively or partially, to create the web server.
You will receive marks for comments if and only if you provide the AWS CLI commands. It is acceptable if those commands do not work.
All resources (VPC, subnets, security group, and final website contents) should be tagged or named with your JC number, as shown in the examples above. Failure to do so will result in a score of ZERO.