Write Review

How to Install WordPress using AWS without Coding

In the large suite of solutions built around AWS, there are solutions like Lightsail and Bitnami that help you set up WordPress on AWS without any coding. These solutions simplify the process of building custom websites and web applications on your AWS infrastructure.

Amazon Lightsail is the simplest way of beginning your journey with AWS. It is a one-stop solution for building applications and websites quickly and efficiently with the help of low-cost, pre-configured cloud resources. It offers virtual servers, storage, databases, and networking, plus a cost-effective, monthly plan. Lightsail allows customers to create websites and applications in just a few clicks by automatically configuring networking, access, and security environments.

Bitnami enables customers to begin their cloud journey seamlessly with Amazon Web Services. It offers pre-packaged application images for AWS Cloud servers that allow you to make the most out of new your new server at the earliest. Bitnami WordPress Stack offers a feature-packed, one-stop solution for setting up WordPress on AWS. It allows you to host WordPress on AWS by downloading installers and virtual machines or running your own WordPress server in the cloud.

How to Install WordPress using AWS without Coding

Now that you have a brief understanding of Amazon Lightsail and Bitnami, take a look at the steps to install WordPress using AWS without coding. These steps are specifically designed to effectively set up WordPress on AWS while leaving any technical hassle out of the picture.

Registering on Amazon Lightsail

The first step to install WordPress on AWS without any technical hassles is to register with Amazon Lightsail. We mentioned earlier that Amazon Lightsail is the simplest way of beginning your journey with AWS. The same goes for the process of registering with Amazon Lightsail. It is easy and hassle-free.

Start by creating an account on Amazon Lightsail by visiting https://amazonlightsail.com/. You will find the “Sign Up” button at the top-right of the page. You will need an Amazon account to sign up. If you don’t have one, create an account on Amazon to proceed.

After signing into your Amazon account, you can register on Amazon Lightsail with some basic contact information and your mobile phone number.

AWS Sign Up window

You will be able to proceed further by entering your credit card information.

screenshot of adding credit card

Lightsail offers a three-month free trial which allows you to see if it’s the right fit for you. However, you will still be asked for your credit card information for various security purposes. The credit card information enables Amazon Lightsail to avoid service misuse and to confirm your identity. Once the free trial ends, Amazon Lightsail will start charging you for the service.

The next step after submitting payment details is to verify your identity. Amazon confirms your identity by making an automated call on your mobile number and asking you to enter the PIN number displayed on the screen.

After completion of the identity verification process, choose the free “Basic Support” plan and confirm your account and selection.

You will find yourself redirected to the Amazon Lightsail dashboard once the AWS account registration process is complete. Finally, you should receive an account confirmation email which means that your account is ready to run on wheels. You can also directly access using https://lightsail.aws.amazon.com/ls/webapp/home

Deploying WordPress On Amazon Lightsail

To deploy WordPress on Amazon Lightsail, you need to launch an Amazon Lightsail server with the Bitnami WordPress Stack. Here are the steps to do that:

  • Log into the Amazon Lightsail dashboard.
  • Click on the “Let’s get started” button or the “Create instance” button.
    screenshot of highlighted Create instance button
  • Select the WordPress image in the “Pick your instance image” section.
    screenshot of selecting instance location
  • You will find various instance plans in the “Choose your instance plan” section. Review all the options and choose the most suitable one according to your needs.
    Note: If you’re hosting a low-traffic WordPress blog or WordPress development on AWS, the first option (512MB RAM, 1 vCPU, 20GB SSD, and 1TB data transfer) will work just fine.
    screenshot of selecting the instance plan
  • Give your new server an easy-to-remember name in the “Name your instance” section. Finally, confirm your selections by clicking on the “Create” button.

There we go. Amazon Lightsail will start spinning the new server as soon as you hit the “Create” button. The whole process just takes a few minutes. The status of deployment is also displayed throughout the process which keeps the customers informed. Once your new instance has launched, you will see the status change to “running”.

screenshot of Instances page (Hello screen)

You can see the detail page of the server which includes the server’s public IP address and user configuration data by selecting it. In addition, this page also includes options to stop, reboot, delete or connect to the server.

screenshot of Connect page

After following the aforementioned steps, you should be able to access the Amazon Lightsail server. You can do so by entering the server’s public IP address into the address bar of your web browser. You will see the homepage of your WordPress blog with a sample post. It must be noted that it takes a few minutes after the server status changes to “Running” and it becomes publicly accessible. Thus, you must try again after a few minutes if you can’t connect to the application through your browser right away.

screenshot of WordPress welcome page

You will find the application username on the server detail page in the “Connect using your own SSH client” section. The application username depends on the application.

The corresponding password for the application username is generated randomly during the deployment process and stored securely in a file on the server. You can generate and get this password by clicking on the “Connect using SSH” button on the server detail page.

screenshot of Connect page with highlighted Connect Using SSH button

A secure SSH connection to the server console will be initiated in a new browser window. You will see the following screen in front of you:

screenshot of console

You can find the administrator password stored in the file named bitnami_application_password in the home directory. Run the command cat bitnami_application_password at the server command prompt to see the password.

Log In and Start Using WordPress

You’re all set to log in and use WordPress and build websites hosted on AWS with the power of the cloud. Take the following steps to log into your WordPress dashboard:

  • Visit the WordPress dashboard, usually at the URL http://SERVER-IP/wp-admin.
  • Log in with the administrator credentials from the previous step.

screenshot of WordPress dashboard

After entering the credentials, you should arrive at the WordPress dashboard. The dashboard allows you to manage posts, pages and comments without any hassles. Furthermore, you can also customize your blog with themes and plugins; import and export content; manage navigation menus; add or delete new user accounts; and much more!

You can also check out this document to point your DNS record to your lightsail application https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-create-dns-entry

Was this article helpful?