- An EC2 account. Click on the sign-up for ec2 button.
- Some version of *nix.
- Download the ec2 tools.
- Generated an ec2 keypair.
Now we’re ready to build an EC2 LAMP Server.
You’ll find that a lot of ec2 stuff happens in the .ec2 directory.
To list the possible servers that you can set up run:
and got 1477 possible servers. Some are Windows.
Let’s say we see this listing:
If we want to start up the ubuntu server listed above we just type:
And then we run this command:
We should see either “pending” or the actual instance running with its FQDN listed in the 4th column. An example FQDN is this:
And if we go to:
we should see a webserver.
And if we ssh:
we’ll get the root prompt:
That’s basically it. Now you can go in and mess around with server settings.
In the next blog post, we’ll look at how to save your custom server settings and set up using S3.