This is part one of a five part tutorial on using the Amazon Web Service to run a virtual private cloud EC2, RDS and S3 WordPress website that fits into the Amazon Free Tier.
That is right! Free Hosting for 1 Year on Amazons Cloud Network
Part 1- Fast Amazon AWS Optimized WordPress EC2 RDS S3 Manual Cache Gzip Config
Part 2- Amazon EC2 RDS WordPress
Part 3- Tutorial Amazon EC2 RDS WordPress with SSH (Shh Don't be scared:)
Part 4- Install WordPress with EC2 and RDS Instance
Part 5- Settings for Wordpress and Amazon AWS S3
Setting up WordPress on Amazon is easy and the first year is free when you configure a micro instance.
With the click of a mouse you can use one of many AMIs that are offered, some for free, on the Amazon Marketplace. They have their quirks. Many of the options use software sales companies that could someday haunt you. They will pre-configure the system and make the start very easy, but in the long run, there could be nightmares or increased costs.
The following tutorial will use software that is open source and easily accessible. It will take you through the steps of using AWS from launching an instance on EC2, to setting up the RDS database, configuring wordpress, setting up browser caching, moving a website site url and data, and finishing off with integration into the Amazon S3 storage cloud (plus a few other tweeks along the way).
There are millions of resources on the web to help run Ubuntu Cloud Servers, an ec2 instance, an RDS amazon database, the S3 storage system and of course wordpress.org. Some of the fastest WordPress sites today run with Nginx tying things together and a layer of Varnish to further speed things up. For WordPress installations using Nginx, you will want to look somewhere else. Nginx can be very impressive, but the support needed for the the novice or intermediate is not there yet.
Begin setting up your AWS account:
Visit http://aws.amazon.com/ and sign up for your account. After signing up, return to http://aws.amazon.com/ and look for My Account/ Console in the top right corner. Your account console is about to become your friend. Click on "AWS Management Console"
Moving around on your console is not difficult once you are used to the system. The amount of work that Amazon has done creating this cloud platform is incredible.
For this setup you will use Ubuntu 12.10 Quantal Quetzal, 64 bit, EBS boot and a t1.micro instance to save money.. While you are signed in and have the AWS console open in a window, copy http://cloud-images.ubuntu.com/desktop/quantal/current/ and open the link in a new tab. You will find a list of AMIs provided by Ubuntu. You are looking for 64bit EBS. If you are just starting a site or are wanting to qualify for the Free Tier of service, also make sure you use an AMI with t1.micro shown. Click Launch.
Configuring the EC2 Ubuntu 12.10 Quantal Instance
After you click launch the following screen should open. Click Continue Make sure you set the instance type you want. t1.micro is free if you are eligible. Click Continue. Advanced Instance Options will pop up. Click Continue
Create an AWS KeyPair
This is very important!!!
Your Key Pair is how you will access your cloud from your computer. It is a "password" of sorts. Use a name that you will remember. It is a X.509 certificate for logging into your AWS Ubuntu server. You will understand soon... Make sure you download and save the keypair where you will know the path extension. Finding this file will be something you need to do many times going forward.
Also make sure your key pair stays in a safe place where "bad" people cannot get it.
Your security group configuration will soon be important. For now, just choose the default and continue.
Next Click LAUNCH!!!