How to register a domain and host your WordPress website in AWS (Amazon Web Services)

How to register a domain and host your WordPress website in AWS (Amazon Web Services)

In this post, I will show you how to register a domain and host your WordPress website in AWS (Amazon Web Services). It’s cheap, effective and reliable!

Steps for Host your WordPress website in AWS

Step 1:

Register your domain with Route53

Click on All services and scroll down to “Networking & Content Delivery” and select Route53

Screenshot: Route 53
Screenshot: Route 53

Search for your domain in the field below, It will also show the price on the right-hand side.

How to register a domain and host your WordPress website in AWS (Amazon Web Services)
How to register a domain and host your WordPress website in AWS (Amazon Web Services)

If your domain is available it will show it like this:

How to register a domain and host your WordPress website in AWS (Amazon Web Services)
How to register a domain and host your WordPress website in AWS (Amazon Web Services)

Hit Add to Cart and proceed with payments to secure your domain within AWS.

While making the purchase you can select either one of these options to secure your identity.

By default, “Hide contact information in the TLD Registry” is checked. (see below)

How to hide contact information while registering domain in AWS. (Amazon Web Services)
How to hide contact information while registering domain in AWS. (Amazon Web Services)

Select your option and hit continue.

Review your complete order and please focus on this DNS settings and accept the “AWS Domain name registration agreement” and hit complete purchase.

Terms and Conditions of registering a domain with AWS. (Amazon Web Services)
Terms and Conditions of registering a domain with AWS. (Amazon Web Services)

STEP II – Create EC2 Instance with Bitnami

Log into aws.amazon.com

In AWS Services under “Compute” click on EC2

EC2 Build
EC2 Build

After you click on EC2 a new page will load which shows the details like:

All of your running Instance; Volumes; Key Pairs; Placement groups; Elastic IPs; Snapshots; Load Balancers; Security Groups; Dedicated Hosts (see image below)

Click on “Launch Instance”

EC2 build - Launch Instance
EC2 build – Launch Instance

After you click on “Launch Instance” a wizard starts which will help you build your server. It looks like this:

We will select “AWS Marketplace” from the left pane:

AWS Marketplace.
AWS Marketplace.

After you click on “AWS Marketplace” search for “Wordpress” you will see various vendors who provide WordPress plugins. (Vendors like Bitnami, Amimoto, Kusanagi, Intuz, Symetricore & IAANSYS)

However, we will select the first one which says “Wordpress Certified by Bitnami” and continue with our build.

AWS Marketplace - WordPress certified by Bitnami
AWS Marketplace – WordPress certified by Bitnami

After you select a respective option it will show you the pricing details such as:

AWS Marketplace - WordPress certified by Bitnami
AWS Marketplace – WordPress certified by Bitnami

After you reviewed the pricing, scroll down and hit Continue to proceed further.

Now let’s choose “Free tier eligible” Type and hit Next “Configure Instance Details”

EC2 build - Instance Type
EC2 build – Instance Type

On this page, we will enable “Protect against accidental termination” to be on a safe side:

EC2 build - Configuring Instance Details.
EC2 build – Configuring Instance Details.

Leave the storage to default 10 GB unless you wish to upgrade the size:

EC2 build - Configuring Instance Details - Storage.
EC2 build – Configuring Instance Details – Storage.

In this page, we will add tags I personally prefer “Value” with “Website name” to make it easy to identify.

EC2 build - Configuring Instance Details - Tags.
EC2 build – Configuring Instance Details – Tags.

In this step 6, you can choose it to open certain ports for e.g: SSH, HTTP, HTTPS & much more.

Once done please hit “Review and Launch”

EC2 build - Review.
EC2 build – Review.

As soon as you hit “Review and Launch” it will show the Review page where you can review all the setting you have selected during the wizard. After you are satisfied with what you opted to build this server hit “Launch” shown on the bottom right of the page.

EC2 build - Review.
EC2 build – Review.

Important Step here after you hit Launch:

You need to create a new “Key Pair” to allow your machine accessible via SSH. Create it and download it and save it somewhere safe. (The downloaded file is in. PEM format)

EC2 build - Create a new key pair.
EC2 build – Create a new key pair.

After you finished downloading the key pair hit “Launch Instances” button as shown in above picture.

You can view the Launch status in next page and if you need to see in detail hit “Launch Log” and the details will be expanded below. Like shown in this picture:

EC2 build - Launch Status via Launch Log.
EC2 build – Launch Status via Launch Log.

Scroll down to bottom and click “View Instances” button on right to see your EC2 instance.

EC2 build - Launch Status via Launch Log.
EC2 build – Launch Status via Launch Log.

It’s your instance name highlighted in yellow which is blank; however, you can rename it to site name as you wish as soon as you move your cursor to that field you will find a way to edit it.

Since you have your instance highlighted on bottom pane capture the Public IP assigned to your EC2 Instance:

Now let’s access the default template by browsing the public Ip you captured in the previous step.

It will show you the default WordPress template.

However, you can access the WP-Admin console by adding /admin in front of public IP.

To get your WP-Admin password you need to view system logs, highlight your EC2 instance and then click on Action > Instance Settings > Get System Log (See below)

EC2 build - Get System Log.
EC2 build – Get System Log.

After you hit “Get System Log” you will see a new pop up with all the information, scroll down to view the password as it’s shown below.

EC2 build - Get System Log.
EC2 build – Get System Log.

There you go Word press is up in running now, please feel free to customize the plugins per your need.

Stay tuned for our upcoming article on configuring WordPress!

WordPress admin console.
WordPress admin console.

Search








Bitnami