Amazon Web Services
beginner
Deploy a web server on Amazon EC2
Launch a Linux virtual server in the AWS console, open HTTP in its firewall, bootstrap Apache with user data and connect over EC2 Instance Connect – the classic IaaS deployment.
What you'll do
- Navigate the AWS Management Console
- Create an SSH key pair
- Launch an EC2 instance with a security group
- Bootstrap software with user data
- Connect to and manage the instance lifecycle
Lab tasks
- 1 Open the EC2 service
-
2
Create a key pair named
web-key -
3
Launch a
t2.microAmazon Linux web server - 4 Wait for the instance to reach the running state
- 5 Connect with EC2 Instance Connect
- 6 Verify Apache serves your page
- 7 Stop the instance to save cost
-
8
Vertically scale to
t3.small