Lab 2 2: EC2 Web Server - nicolas-tullio/Tech-Journal GitHub Wiki
Deliverables
Submit: Screenshot of successful SSH connection to instance
Submit: Screenshot of successful connection to web service from your workstation browser
Submit: Screenshot of successful connection to your custom web page
Submit: Screenshot of successful ssh auth to server from your new user
Submit: Screenshot showing terminated instance
Steps
Step 1: Launch a Free-Tier EC2 AWS instance
Follow Lab 1-1 to create and connect to an EC2 instance
Step 2: Install a web service
Edit security group
Install and start apache
sudo yum update
sudo yum install httpd
sudo systemctl start httpd
Connect via browser
Step 3: Create a custom homepage for your web server
Step 4: Create a new user on your instance and allow password SSH for that user
Restart sshd
systemctl restart sshd