Provisioning a Linux EC2 Instance in AWS
Launching an EC2 instance is a basic task that all architects should master. However, there are many configuration decisions that can make or break a successful launch.
In this scenario, you need to launch an Apache Web Server on a Linux EC2 instance.
Your task will be to use the User Data to provide a script to automatically install Apache. You will verify that Apache installed correctly using a web browser. You will also log into the OS using SSH.
The user_data script for this activity is:
#!/bin/bash sudo yum update -y sudo yum install -y httpd sudo service httpd start sudo chkconfig httpd on
Note: For Windows PuTTY information, see https://www.youtube.com/watch?v=bi7ow5NGC-U