AWS EC2 - dennisdup/aws GitHub Wiki

EC2 Quickstart - On-demand instance example

  • When creating an instance, specify tag and add SSH(added by default), HTTP, and HTTPS

  • Confirm Add security group for HTTP/HTTPS

  • SSH into the instance, follow directions given when you click connect on AWS dashboard
    Example:
    chmod 400 octo-key.pem
    ssh -i "sample-key.pem" [email protected]

  • Update server and install httpd sudo yum update
    sudo yum install httpd -y

  • Start the Apache Web Server
    sudo service httpd start

  • Make it so Apache Web Server runs on server boot
    sudo chkconfig httpd on

⚠️ **GitHub.com Fallback** ⚠️