Quick start guide: WordPress
With this quick start guide, you'll learn how to launch and configure a WordPress instance on Amazon Lightsail.
Step 1: Create a WordPress instance
Complete the following steps to get your WordPress instance up and running.
To create a Lightsail instance for WordPress
-
Sign in to the Lightsail console
. -
On the Instances section of the Lightsail home page, choose Create instance.
-
Choose the AWS Region and Availability Zone for your instance.
-
Choose the image for your instance as follows:
-
For Select a platform, choose Linux/Unix.
-
For Select a blueprint, choose WordPress.
-
-
Choose an instance plan.
A plan includes a machine configuration (RAM, SSD, vCPU) at a low, predictable cost, plus a data transfer allowance.
-
Enter a name for your instance. Resource names:
-
Must be unique within each AWS Region in your Lightsail account.
-
Must contain 2 to 255 characters.
-
Must start and end with an alphanumeric character or number.
-
Can include alphanumeric characters, numbers, periods, dashes, and underscores.
-
-
Choose Create instance.
-
To view the test blog post, go to the instance management page and copy the public IPv4 address shown in the upper-right corner of the page. Paste the address into the address field of an internet-connected web browser. The browser displays the test blog post.
Step 2: Configure your WordPress instance
You can configure your WordPress instance using a guided, step-by-step workflow that configures the following:
-
A registered domain name – Your WordPress site needs a domain name that is easy to remember. Users will specify this domain name to access your WordPress site. For more information, see Domain registration in Amazon Lightsail.
-
DNS management – You must decide how to manage the DNS records for your domain. A DNS record tells the DNS server which IP address or hostname a domain or subdomain is associated with. A DNS zone contains the DNS records for your domain. For more information, see DNS in Amazon Lightsail.
-
A Static IP address – The default public IP address for your WordPress instance changes if you stop and start your instance. When you attach a static IP address to your instance, it stays the same even if you stop and start your instance. For more information, see IP addresses in Amazon Lightsail.
-
An SSL/TLS certificate – After you create a validated certificate and install it on your instance, you can enable HTTPS for your WordPress website so that traffic that is routed to the instance through your registered domain is encrypted using HTTPS. For more information, see Enable HTTPS on your WordPress instance in Lightsail.
To configure your instance using the guided workflow
-
On the instance management page, on the Connect tab, choose Set up your website.
-
For Specify a domain name, use an existing Lightsail managed domain, register a new domain with Lightsail, or use a domain that you registered by using another domain registrar. Choose Use this domain to go to the next step.
-
For Configure DNS, do one of the following:
-
Choose Lightsail managed domain to use a Lightsail DNS zone. Choose Use this DNS zone to go to the next step.
-
Choose Third-party domain to use the hosting service that manages the DNS records for your domain. Note that we create a matching DNS zone in your Lightsail account in case you decide to use it later on. Choose Use third-party DNS to go to the next step.
-
-
For Create a static IP address, enter a name for your static IP address and then choose Create static IP.
-
For Manage domain assignments, choose Add assignment, choose a domain type, and then choose Add. Choose Continue to go to the next step.
-
For Create an SSL/TLS certificate, choose your domains and subdomains, enter an email address, select I authorize Lightsail to configure a Let's Encrypt certificate on my instance, and choose Create certificate. We start to configure the Lightsail resources.
Important
While setup is in progress, do not stop or make changes to your instance. It can take up to 15 minutes to configure your instance. You can view the progress for each step in the instance connect tab.
If setup fails, wait a few minutes then run setup again. If setup fails a second time, reboot your instance.
-
After the website setup is complete, verify that the URLs that you specified in the domain assignments step open your WordPress site.
Step 3: Get the default application password for your WordPress website
You need the default application password to sign in to the administration dashboard for your WordPress website.
To get the default password for the WordPress administrator
-
Open the instance management page for your WordPress instance.
-
On the WordPress panel, choose Retrieve default password. This expands Access default password at the bottom of the page.
-
Choose Launch CloudShell. This opens a panel at the bottom of the page.
-
Choose Copy and then paste the contents into the CloudShell window. You can either put your cursor at the CloudShell prompt and press Ctrl+V, or you can right-click to open the menu and then choose Paste.
-
Make a note of the password displayed in the CloudShell window. You need this to sign in to the administration dashboard of your WordPress website.
Step 4: 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.
To sign in to the administration dashboard
-
Open the instance management page for your WordPress instance.
-
On the WordPress panel, choose Access WordPress Admin.
-
On the Access your WordPress Admin Dashboard panel, under Use public IP address, choose the link with this format:
http://
public-ipv4-address
./wp-admin -
For Username or Email Address, enter
user
. -
For Password, enter the password obtained in the previous step.
-
Choose Log in.
You are now signed in to the administration dashboard of your WordPress website where you can perform administrative actions. For more information about administering your WordPress website, see the WordPress Codex
in the WordPress documentation.
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