You may have heard about AWS or Amazon Web Services.
If you haven’t, well, AWS is the world’s largest provider of cloud hosting services. It hosts popular companies such as Apple, Netflix, and Twitter.
So, if you’re looking for a potential host for your WordPress website, AWS could be worth considering, although it requires more work than standard hosting providers and website builders.
For those wanting to learn how to host a WordPress site on AWS, we explore that and more in this step-by-step guide.
- What is Amazon Web Services (AWS)?
- What is Amazon Lightsail?
- Costs of using Amazon AWS
- Pros of Lightsail and WordPress
- Cons of Lightsail and WordPress
- How to host a WordPress site on AWS using Lightsail
- Final thoughts: How to host a WordPress site on Amazon Web Services
If you’re confident AWS is right for you, you’ll have enough information in this article to launch your WordPress site via the AWS platform. But the right web hosting platform is as individual as your site itself. Choosing AWS simply because it’s the most popular may not be the best decision for you or your business.
Stick around and we’ll show you why Nexcess may be a better choice for your online hosting needs.
There's something easier than AWS
Nexcess managed WordPress is fast, secure, and scalable — and unlike AWS, it comes with free expert support
What is Amazon Web Services (AWS)?
Amazon Web Services is an on-demand suite of comprehensive cloud computing tools Amazon offers. It features over 200 services, including various infrastructure, platforms, and software tools, which can help your business increase its computing power, database storage, and content delivery services.
Part of the allure of AWS is that it leverages Amazon’s extensive network. Customers can access its enterprise software solutions, like Lightsail and WordPress, in data centers worldwide.
What is Amazon Lightsail?
Amazon Lightsail is one of the many services offered under AWS. It’s a Virtual Private Server (VPS) that lets you build and run websites and web applications in a secure, efficient, and cost-effective environment.
If you’re a small business, student, or web developer, you can use Lightsail to launch and deploy projects quickly and affordably.
It’s also ideal for hosting AWS WordPress instances as it contains load balancers, DNS management, and containers. You can seamlessly run a blog website, ecommerce store, or web application.
Costs of using Amazon AWS
If you’re just starting out with Amazon (AWS) WordPress hosting, you’ll find that AWS takes a unique approach to pricing its services. You don’t pay a fixed fee or follow a tiered pricing structure.
Instead, AWS charges per hour or minute. This pay-as-you-go structure has both upsides and downsides. On the one hand, you can pay as little as $0.50 a month to host a static website, a price you’ll get at no other hosting service.
But the opposite is also true.
If you opt for a complex server setup, you might pay upwards of $250 monthly. That fee includes a Windows Server License, multiple vCPUs, and massive RAM usage. At a bare minimum, one AWS instance using a single vCPU and 2GB RAM will cost you just shy of $20 monthly.
That’s not all.
You may also incur extra charges for exceeding your account limits. For instance, if you exceed your account's allocated outbound data transfer limit, you could end up with “surprise” charges on your bill.
Pros of Lightsail and WordPress
There are many reasons to opt for Amazon Lightsail for your Amazon (AWS) WordPress hosting needs. Let’s explore the most compelling ones:
Ideal for beginners
Amazon Lightsail is user-friendly and intuitive, even for absolute beginners. You can set up your Amazon Lightsail account in minutes and have your WordPress website up and running.
Once inside, the Lightsail management console lets you access all essential controls and configuration settings for hosting AWS WordPress instances in a single location. You can set up your DNS, static IP address, and server by yourself.
However, this process may still be more intricate than it should be, compared to the Nexcess StoreBuilder and other similar website builders.
AWS allows you to increase your website’s resources when you feel ready to grow and expand. You can allocate more RAM, increase storage capacity, and increase vCPUs for your AWS instance. You can also opt for a smaller Lightsail instance if you need to scale down.
You can set up a maximum monthly cost for your Lightsail Instance. Your plan won’t exceed this maximum monthly cost unless you exceed your set resources.
Cons of Lightsail and WordPress
Being the “most popular” WordPress hosting platform is not without its drawbacks. The sheer size and customer scope of AWS’s platform creates some challenges for users. Let’s explore them in more detail down below.
Limited technical support
Like other WordPress hosting services, you enjoy 24/7 customer support with your Amazon Lightsail account.
However, this customer service doesn’t include technical support. You’ll need to purchase a separate support package to get help with technical problems, which may cost upward of $29 a month.
Manual scaling may lead to lost customers
While Amazon Lightsail is flexible, its flexibility relies on you, the customer. The resources for your account won’t autoscale once you hit the upper limit of your Lightsail instance.
Similarly, Lightsail won’t adjust your plan downward if you use fewer resources. It’s up to you to adjust the settings of your account or contact a Lightsail representative. If your website grows rapidly, you may lose customers before you have the chance to login and change your Lightsail settings.
How to host a WordPress site on AWS using Lightsail
Here are the steps to hosting a WordPress website on AWS.
Purchase a domain
Before building and deploying your website across the internet, register a domain name.
- Go to a domain registration service.
- Enter your desired domain name.
- Purchase a domain from the available domain name options.
Set up your AWS account
Log in to your AWS account. If you don’t already have one, you can take advantage of their 12-month free tier plan.
You’ll also get a 30-day free trial of Amazon Lightsail.
Please note that it may take up to 24 hours after signing up for some or all AWS services to become active. In case it takes longer, contact AWS customer support for help.
Create a WordPress instance in Lightsail
Once you’ve created and activated your AWS account, create a WordPress instance.
To begin, open the Lightsail console. To access the console, select build using virtual servers from the build a solution section.
From the Lightsail console, create a Lightsail instance.
Lightsail detects your AWS region and availability zone to build this WordPress instance. Amazon does this to provide optimum settings for your website. If you prefer different settings, you may change these values.
Once you’ve selected your ideal instance location and availability zone, Lightsail will direct you to choose an instance image. Under this section, select Linux/Unix. Lightsail will ask you to select a blueprint for your instance. Select WordPress.
Amazon will now ask you to select a plan for your WordPress instance. If your account is brand new, you can benefit from the 30-day trial period.
Once you select a payment plan, give your new Lightsail instance a unique name — it lets you keep track of different websites if you have multiple WordPress instances in your Lightsail dashboard.
As your final step, Click on the create instance button.
Configure your WordPress instance
Although your WordPress instance has already been created, you’ll need to configure it before building your WordPress website.
On your AWS Lightsail console, click on the instances tab and select the instance you created. Click on the SSH-quick-connect icon next to it to open a browser-based SSH client in a separate window. In this SSH window, enter:
The SSH client will display your password to the WordPress dashboard. Write down this password before closing the SSH client.
Log in to the WordPress admin dashboard
From your Lightsail console, check the public IP address displayed at the bottom right of the WordPress instance card. Type this IP address into the address bar of a new tab in your browser. That’ll lead you to a WordPress login page.
Log in to your WordPress account using your AWS email address and the WordPress password retrieved from the SSH client earlier.
Add a custom domain to your Lightsail WordPress instance
From your Lightsail dashboard, select the networking tab and click on the select DNS zone button.
Add your custom domain to the address box and click on the create DNS zone button.
Next up, you need to change DNS server settings with your domain registrar. This process varies from one provider to another, so read their official documentation for further details.
Once you change DNS settings with your domain registrar and save your changes, you’re ready.
Create a static IP address and map the root of your domain
From the networking tab, select create static IP.
Open the attach an instance dropdown and select your new WordPress instance to this static IP address. Give this static IP address a unique name and click the create button.
Once done, go to the DNS records tab and click Add record.
In the subdomain box, type @ to map the root of your domain.
Next, click on the resolves to box and choose the static IP address you attached to your new WordPress instance.
Save your changes.
Please note that it may take up to 24 hours for your internet DNS to propagate across the internet.
AWS isn’t your only choice
Learning how to host a WordPress site on AWS takes hard work, dedication, and a lot of technical skill. Add to that AWS’s lack of technical support, and it’s easy to see why going with a “popular” big-name provider may amount to more headaches than it’s worth.
If you’re in the market for a hosting provider for your site, you owe it to yourself to check out Nexcess fully managed WordPress hosting before committing to a “big box” provider like AWS.
Nexcess offers fast, secure, and scalable hosting services for businesses large and small. No site is too complex, as our Nexcess Store Builder can easily handle the most complex eCommerce sites - providing the insights and sleek, simple design features you need to keep your eComm customers coming back again and again.
Our customers also receive 24/7 support from our team of experts, and can rest easy knowing their site is protected by “always-on” 24/7 security. Can AWS do all that? We didn’t think so.
Discover how Nexcess can transform your WordPress site experience. Contact us today.