Skip to main content

amazon ec2

Apache on an Amazon EC2 Ubuntu instance

I'm refreshing myself on how to make web sites that aren't PHP-CMS-on-Pantheon this week in preparation for a new job.

Launch an Amazon EC2 Virtual Machine. For this, I chose Ubuntu Linux. When the launcher told me that everyone could access my instance, I set SSH to only allow my IP address, and set HTTP and HTTPS to everyone.

ssh -i ~/.ssh/MyKeyPair.pem ubuntu@{EC2 IP_Address}