If you’ve been thinking about setting up a website for yourself, a WordPress website is a quick way to get started. WordPress is a software that is installed on a web server. But there are dependencies that need to be installed for WordPress to work. For example, WordPress uses mysql for database and php as well. So both of these need to be installed before we can install WordPress.

What Cloudformation does is that it let’s us use pre-written templates of all the necessary infrastructure (EC2, Security Groups) and dependencies ( MySQL, php, wordpress) needed to install WordPress or anything else. You could setup a whole VPC with Load balancers and web servers etc. But in this tutorial, our goal will be to setup a simple WordPress blog.

If you’re not so familiar with CloudFormation we have a 3 part series on CloudFormation which will help you understand what CloudFormation is. You can check those videos out right here:

If/when you are familiar with CloudFormation we can start setting up a blog.

I have the steps down on a video as well as typed below .

Steps:

Step1: Go to Cloud formation Page Create a stack

Step 2: Click on select from templates and choose WordPress Blog

Step 3: Choose the parameters like username, password , key etc

** make sure you choose the right ssh key because we need to log in to the EC2 server later

Step 4: On the tag page tag the Stack resources with “Wordpress Blog”

Step 5: Click next and Create

Step 6: Navigate to output section and click on the URL. This will take you the your blog.

Step 7: Choose username and password and click next.

Step 8: You should have a blog setup now.

Step 9: SSH into your EC2 and paste the following command

$ sudo chown -R apache:apache path/to/wordpress

Step 10: Go back to WordPress and you may now install themes and customize your page.

Step 11: Select the stack that we created earlier and click on Actions. Then delete the stack. This will delete all the resources that were created by the stack.

I hope you setup a nice website for yourself.

If you have any comments or suggestions , feel free to share them with us!

Tags:

1
Leave a Reply

Please Login to comment
  Subscribe  
newest oldest most voted
Notify of

There are actually a variety of details like that to take into consideration. That may be a great level to deliver up. I supply the thoughts above as normal inspiration but clearly there are questions like the one you carry up where an important thing shall be working in honest good faith. I don?t know if finest practices have emerged around things like that, however I am certain that your job is clearly recognized as a good game. Each girls and boys really feel the affect of only a moment’s pleasure, for the rest of their lives.