Deploy a Wordpress site on AWS
Published: 2024-05-23 20:19:00

**Introduction:**
In today's tutorial, we'll explore the process of deploying a WordPress website on Amazon Web Services (AWS) Elastic Compute Cloud (EC2) using Bitnami. This comprehensive guide will walk you through each step, from launching your EC2 instance to accessing the WordPress admin dashboard and starting your website-building journey.

**Step 1**
- Log in to the Amazon Console and navigate to the EC2 Dashboard.
- Create a new instance and give the instance a name
- Browse through the AMI
- Search for Wordpress by Bitnami

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iy1ayr2e4yua8z0rmccx.png)

- Under the AWS Marketplace and choose the WordPress by Bitnami as the Amazon Machine Image (AMI)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s0shdonvp8iuvv1e0ftg.png)
**Step 2**
- Select the t3 micro instance type
- Create a new keypair or select from existing ones 
- Keep the Security group as default 
- You can leave the root volume as 10gb or increase to 30gb (It is still within the free tier) 
- Leave everything else as default and click on **Launch Instance**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4fc1bez7s2td2zcmgm00.png)



Once our EC2 is up and running 
- Select the EC2 you just created, in the details tab you will find the Public IP section
- Copy the Public IPv4 address and paste in your web browser 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jq5jjn9d671e9pwrls3i.png)

Yes! Our WordPress site is now live 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hnpze50ab8pfc770q9zy.png)

Now we need to login to our Admin Dashboard 

```
PublicIPV4/wp-admin
```
- Simply append "/wp-admin" to your Public IPv4 address in the browser address bar (e.g. http://54.211.145.2/wp-admin).
In our case http://54.211.145.2 is the IP Address

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m17vo2u5bdtv62w3ll5g.png)
Let's fetch the username and password from our EC2 Logs
- Select the **EC2 Instance**
- Click **actions**
- In the drop down select the **Monitor and Troubleshoot**
- Click the **Get system logs**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/alhic292x5pa0iumnm4s.png)

- Scroll through the system logs until you see something like the image above.

The password and user name is in the logs
- Return to the WordPress admin login page and enter the username and password obtained from the logs.

Now we have successfully logged in to the **Admin Dashboard** of our WordPress.

You can now install plugins and themes to customize your WordPress site according to your preferences. 
Explore the wide range of options available and start building your dream website.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i2l6zkc00anyd99xfu9j.png)
 
**Conclusion:**
Deploying a WordPress website on **EC2 **using **Bitnami** is a straightforward process that can be accomplished with just a few simple steps. 

By following this guide, you've successfully launched your WordPress site on AWS and gained access to the powerful tools and features of the WordPress admin dashboard. 

Now, it's time to unleash your creativity and build an impressive online presence. 
Happy website building!