What WebServerScript.sh does
Lines
- yum update
- installing apache (httpd)
- Ensures apache restarts if ec2 instance goes down
- Starting apache server
- go to www/html
- makes a index.html in that diretory
Exam tips
- You can buy domain names directly with AWS.
- It can take up to 3 days to register depending on the circumstances.