What follows is a no-frills, bare bones, recipe for a free-while-it-lasts tier compute instance on AWS. They are my notes from a lesson I'm following.
As with most things I post on here, it's slim on helpfulness (read: details) and fat on aiding my poor memory-making circuits. Your mileage will vary. But if you like gists of things, read on:
|Security Group||fancy term for a virtual firewall. In other words mapping (allowed) services and their related protocols to ports.|
|Machine Image||I'm sure it's more nuanced than that but for our purposes this the OS flavor you want.|
Find EC2 service in AWS and click to launch a new instance:
Security Groups : K start paying attention:
::0/0basically mean accessible to all and sundry. Which is the sort of thing you'd want for a web server. For other things... not so much. Click launch ! :)
Keypair Prompt : This whole endeavour will require assymetric encryption, so:
SSH to your instance*:
ssh ec2-user@<ip-address> -i <keyname>.pempresuming you're not on a public network or similar that blocks port 22.
Secure Shell Appchrome extension*, import a key pair (2 key files), and then come back and click the connect button for your instance.
Update all packages (as root user)
> sudo su > yum update -y
The box is up to date - now do / install whatever you like! like a wee testable, reachable web server:
yum install httpd -y cd /var/www/html touch index.html vi index.html service httpd start chkconfig on