Detailed Guide for Hosting a WordPress Website on AWS

November 28, 2022 | Comments(0) |

TABLE OF CONTENT

1. Overview
2. Managing a Server Via AWS
3. Conclusion
4. About CloudThat
5. FAQs

 

Overview

Choosing the right cloud provider is usually based on several options: cost, reliability, security, compatibility, and more.

While adopting new cloud technologies is challenging, adhering to the budget without compromising the security posture can be next to impossible without an expert. Here is a guide for Strategizing Effective Cloud Migrations with an Example Case Study.

If you need many services, AWS is probably the best for you. AWS offers 200+ services highest by any. AWS is the leading cloud provider in the market and is known for its reliability and uptime. It means websites hosted on Amazon will rarely go down. They are the cloud hosting provider with the largest share of the market by a good bit. Amazon Web Services (AWS) is perhaps the most popular cloud hosting provider today.

Managing a Server Via AWS

Configuring Amazon Cloud is not easy unless you are a cloud wizard. The command line interface holds a lot of promise, but it is not friendly to those who don’t know their way around it. So what should you do? Learn the command line interface and get started with it.

Step 1: Setting up EC2 Instance on AWS for WordPress

We first need to set up an AWS EC2 instance, for which we click on Services > Compute > EC2 to install a virtual server on the cloud.

WordPress

Then, “EC2 Dashboard” screen, will appear on your browser, and next, you need to click on Instances > Launch Instance.

WordPress

After that, an operating system for instance needed to be selected and I’m going with Amazon Linux 2 AMI.

WordPress

If we use the search feature to look for “WordPress” setups, we’ll find over 100 different configurations to choose from. In the list, look for the WordPress Certified by Bitnami and Automatic options.

WordPress

When we click on ‘Select’ it will show us the details for this configuration and the hourly fees for different levels of instances.

WordPress

Next, the instance-type section will appear from where we can select the number of vCPUs, RAM, and instance type for the server. Then we’ll see, by default, it will be selected as a t2.micro instance. So, just click Next.

WordPress

Then, a new section appears from where we can check and configure the instance details. Just click Next, no need to change any details.

WordPress

We can add a new volume in the storage section, increase the volume size, and other storage-related settings. Here, again don’t need to change anything, just simply click Next.

WordPress

Next, we need to click on Add Tag, fill in the Key and Value field, and then click Next. In my case, Key = Name and Value = HanCloud.

WordPress

Next, section is a security group configuration. Here, we can set a name for your security group and add the description. Also, we can add new rules and set the access point (IPs) for each.
Next, click on the Add Rule button and select SSH. Repeat the same to add HTTP and HTTPS. After that, we must change the Source and, in the image, below Anywhere is selected as you can see.

WordPress

This is the last part of the setup section from where we can review the instance (Storage, Tags, etc) and create a new key pair.

The first thing we need to do is click Launch and select Create a new key pair. After that, just fill in the name for the key pair name and then click Download Key Pair.

WordPress

That’s all, Our EC2 instance has launched successfully.

Step 2: Access the instance and find its public IP

For accessing the new instance, return to the AWS console home look for the Services tab at the top of the screen, then select the EC2 option:

WordPress

On this page, look for the Running Instances option under the main menu:

WordPress

Now, if we have a single instance running at this point and when we select it, we’ll notice it lists the instance’s public IP under its details:

WordPress

If we enter the ‘Public IP address into the navigation bar, we’ll see a brand-new WordPress website!

WordPress

Our WordPress website is ready to use now. However, before we do anything else, we’ll have to map a domain to this IP address, so everyone else can access it through the domain address.

Conclusion

Amazon is no longer ‘just’ a retail giant. It also dominates the field when it comes to cloud hosting services. AWS powers the web services of tech giants such as Apple and Netflix, so you know you’re in good company. However, you need to know how to navigate the complexities of cloud hosting.

About CloudThat

CloudThat is also the official AWS (Amazon Web Services) Advanced Consulting Partner and Training partner and Microsoft gold partner, helping people develop knowledge of the cloud and help their businesses aim for higher goals using best-in-industry cloud computing practices and expertise. We are on a mission to build a robust cloud computing ecosystem by disseminating knowledge on technological intricacies within the cloud space. Our blogs, webinars, case studies, and white papers enable all the stakeholders in the cloud computing sphere.

Drop a query if you have any questions regarding WordPress, Web Hosting, or AWS services, and I will get back to you quickly. To get started, go through our Consultancy page and Managed Services Package that is CloudThat’s offerings.

FAQs

  1. How do you log into WordPress for the first time?
    A: On your instance management page, under the Connect tab, choose Connect using SSH. After you’re connected, enter the following command to get the default application password:

  2. How do you Point your domain toward your AWS instance?
    A: The specifics for this step will depend on which domain name registrar you use. However, in broad terms, you’ll want to set up an ‘A record’ that maps a domain you own toward your AWS instance’s public IP address.

Leave a Reply