Quick start guide: WordPress on Amazon Lightsail
Last updated: December 8, 2022
Here are a few steps you should take to get started after your WordPress instance is up and running on Amazon Lightsail:
Step 1: Get the default application password for your WordPress website
You need the default application password to sign in to your WordPress website’s administration dashboard.
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:
cat bitnami_application_password
Note
If you're in a directory other than the user home directory, then enter
cat $HOME/bitnami_application_password
.You should see a response similar to this, which contains the default application password:
For more information, see Getting the application user name and password for your Bitnami instance in Amazon Lightsail.
Step 2: Sign in to your WordPress website
Now that you have the default user password, navigate to your WordPress website’s home page, and sign in to the administration dashboard. After you’re signed in, you can change the default password.
On your instance management page, under the Connect tab, make note of the public IP.
Browse to the public IP address, for example by going to
http://192.0.2.3
.Choose Manage in the bottom right corner of your WordPress website home page.
Note
If the Manage banner is not shown, you can reach the application information page by browsing to
http://<public-ip-address>/bitnami/index.html
, or the sign in page by browsing tohttp://<public-ip-address>/wp-admin/
. Replace<public-ip-address>
with the public IP address of your instance.Sign in using the default user name (user) and the default password retrieved earlier in this guide.
The WordPress administration dashboard appears.
For more information, see Getting the application user name and password for your Bitnami instance in Amazon Lightsail
To change the default user password, see Resetting your password in the WordPress documentation.
Step 3: Attach a static IP address to your WordPress instance
The default dynamic public IP address attached to your instance changes every time you stop and start the instance. Create a static IP address, and attach it to your instance, to keep the public IP address from changing. Later, when you use your domain name with your instance, you don’t have to update your domain’s DNS records each time you stop and start the instance. You can attach one static IP to an instance.
On your instance management page, under the Networking tab, choose Create static IP, then follow the instructions on the page.
For more information, see Create a static IP and attach it to an instance in Amazon Lightsail.
Step 4: Map your domain name to your WordPress website
To map your domain name, such as example.com
, to your WordPress website, you
add a record to the domain name system (DNS) of your domain. DNS records are typically managed
and hosted at the registrar where you registered your domain. However, we recommend that you
transfer management of your domain's DNS records to Lightsail so that you can administer it
using the Lightsail console.
On the Lightsail console home page, under the Domains & DNS tab, choose Create DNS zone, then follow the instructions on the page.
For more information, see Creating a DNS zone to manage your domain’s DNS records in Lightsail.
Step 5: Read the Bitnami documentation
Read the Bitnami documentation to learn how to perform administrative tasks on your WordPress website, such as install plugins, customize the theme, and upgrade your version of WordPress.
For more information, see the Bitnami WordPress for AWS Cloud.
Step 6: Create a snapshot of your WordPress instance
A snapshot is a copy of the system disk and original configuration of an instance. The snapshot includes such information as memory, CPU, disk size, and data transfer rate. You can use a snapshot as a baseline for new instances, or as a data backup.
On your instance management page, under the Snapshot tab, enter a name for the snapshot, then choose Create snapshot.
For more information, see Creating a snapshot of your Linux or Unix instance in Amazon Lightsail.