Hosting a WordPress Blog Using AWS CloudFormation

This article is about hosting a live WordPress blog in AWS using CloudFormation

Creating a CloudFormation Stack

  • ►Login to your AWS Management Console and navigate to AWS CloudFormation and click on create stack.
AWS CloudFormation
AWS CloudFormation
  • ►Use a sample template and choose WordPress blog under-sample templates.
Creating a Stack
Creating a Stack
  • ►Specify the stack details like the name of the stack, database, and admin account user and password.
Specifying the Stack details
Specifying the Stack details
  • ►Specify the instance type and the key pair name. Click on next.
Specifying the Stack details
Specifying the Stack details
  • ►Review the WordPress blog and finally click on create.
Review the Stack
Review the Stack
  • ►The stack has been created successfully.
Created a Stack
Created a Stack

Setting Up the WordPress Blog

  • ►Now click on Outputs, where one can find the WordPress website URL. Click on it.
Outputs of the Stack
Outputs of the Stack
  • ►Enter the required information.
Installing WordPress
Installing WordPress
  • ►The WordPress gets installed successfully. Click on Login.
  • ►Enter the credentials set during the installation of WordPress.
Logging into WordPress
Logging into WordPress
  • ►After logging in, the WordPress dashboard gets displayed.
WordPress Dashboard
WordPress Dashboard
  • ►This is your WordPress website to publish blogs.
WordPress Blog
WordPress Blog

Connecting the WordPress Instance

  • ►Connect the WordPress Instance using the SSH client.
Connecting the WordPress Instance
Connecting the WordPress Instance
  • ►Open your terminal and make your keypair file private using. 

Command: chmod 400 keypair.pem

Now, use the command mentioned in the console to connect the EC2 Instance.

Connected the WordPress Instance
Connected the WordPress Instance
  • ►The WordPress Instance is successfully connected.

I also run a small youtube channel on some exciting topics, do look into it. 🙂 

https://www.youtube.com/channel/UCBO2LHhj4-SYejcaE3YfuNg

Leave a Reply

%d bloggers like this: