In the past few updates I’ve described getting WordPress set up on EC2.
In this final post I’m going to tie up a few loose ends.
First, let’s go over the setup of WordPress itself. Yesterday I walked through the unzipping of WordPress.
Before the setup of the blog, let’s get the IP and connectivity working.
Step one: set up and bind an Elastic IP:
On the left side, select the Elastic IP tab. Create a new IP. Then associate the address with the EC2 instance you have running.
This makes a public, static IP address that will be consistant over time.
Next, you’ll want to set up DNS wherever you have registered your domain. I’m bot going to go into too much detail since every provider will be different. It should be pretty simple though.
Now, you want to make sure that you can reach the web server from the outside world.
Again, from the left side pick the security tab. Select the security group you used when you set up the EC2 instance. What you want to do is create an inbound rule for HTTP then apply it. This opens up the firewall so HTTP traffic on port 80 can hit your server.
At this point you should be able to get to your running server, but WordPress will not be set up.
Thankfully, WordPress is somewhat self setup-able.
On this screen all you have to do is fill in the username and password of whatever MySql user you created. The host and table prefix should be good. (If you’re hosting multiple blogs, you’ll want to pick different table prefixes)
After this, you get to set up your Wordpress admin password. Now, you have a fully functional blog!