WordPress on AWS

Beginner
12 min read
Updated: Nov 2026
5 examples
EC2 / Marketplace / Bitnami

Definition and Usage

WordPress is a PHP content management system backed by MySQL or MariaDB. On AWS, a fast way to experiment is launching a WordPress Certified by Bitnami and Automattic image from AWS Marketplace onto EC2.

What is the Bitnami WordPress AMI?

It is a preconfigured Amazon Machine Image that bundles WordPress with a web server, PHP, and a database so you skip most manual LAMP install steps. You still own the instance, networking, and day-two hardening.

When should you use this approach?

Use it for a first WordPress lab on a single EC2 instance. For a managed alternative with a simpler panel, see Lightsail WordPress. For a custom stack you build yourself, start from the EC2 launch guide instead.

What you will do

Open EC2, launch the Marketplace WordPress template, pick a small instance type and key pair, open the site over HTTP, then recover the initial admin password from the system log.

After the lab site works

Add an Elastic IP, point Route 53 DNS, enable TLS with ACM (often behind an ALB or CloudFront), and raise PHP limits for imports in the All-in-One WP Migration guide.

Console labels change.

If a button name differs, keep the same ideas: Bitnami WordPress listing, instance type, key pair, HTTP/SSH rules, then Launch.

Protect boot credentials.

Treat the system log password as a secret. Sign in once, rotate it, and never share screenshots that include it.

Marketplace pricing.

Read the listing for software charges in addition to normal EC2 and EBS costs. Tear down test resources when you finish.

Core Concepts

Terms you will use while hosting WordPress on EC2:

ConceptMeaning
WordPressOpen-source CMS for blogs, sites, and plugin-driven apps
Bitnami AMIPrebuilt image with WordPress + web stack + DB
AWS MarketplaceWhere you subscribe to and launch the certified image
Instance typeCPU/RAM size (for example t2.micro for labs)
Security groupMust allow HTTP 80 (and SSH 22 if you administer the box)
System logBoot output where Bitnami often prints the first app password
/wp-adminWordPress admin login path after the site responds
Elastic IPStable public IPv4 for DNS and bookmarks

Prerequisites

Have these ready before you launch:

  • An AWS account with permission to launch EC2 instances and subscribe to Marketplace listings.
  • Access to the EC2 console in the Region where you want the site.
  • A place to store a new key pair private key if you create one at launch (needed for SSH later with PuTTY).

Examples

Launch the Bitnami WordPress AMI, open the site over HTTP, then sign in with credentials from the system log.

Example 1 — Open the Launch Wizard

Sign in and start a new EC2 instance from the dashboard.

  1. Open the EC2 dashboard (search for EC2 in the console search bar if needed).
  2. From the EC2 dashboard, open Instances.
  3. Choose Launch instances.
AWS console navigation to EC2 dashboard
AWS Management Console
EC2 dashboard showing instances section
Amazon EC2
EC2 Launch instances button
Amazon EC2

How It Works

  1. Confirm the Region in the top-right corner before you launch.
  2. Launch instances opens the same wizard used for plain Ubuntu AMIs.
  3. Marketplace images appear in the AMI search next to Amazon Linux/Ubuntu.
  4. Billing starts when the instance reaches Running—stop labs you do not need.

Example 2 — Select the Bitnami WordPress AMI

Find the Marketplace listing and accept any subscription terms.

  1. Under application or AMI search, find WordPress Certified by Bitnami and Automattic.
  2. Open the listing and continue through any subscription or terms prompts the console shows.
AWS Marketplace WordPress Certified by Bitnami and Automattic
AWS Marketplace

How It Works

  1. The AMI already includes WordPress, PHP, a web server, and a database.
  2. Subscription prompts may add Marketplace software charges—read them before continuing.
  3. You still configure instance type, key pair, and security groups yourself.
  4. Manual installs on a blank AMI are covered in a separate LAMP WordPress on EC2 path.

Example 3 — Instance Type, Network, and Launch

Pick a small size, open HTTP/SSH, choose a key pair, and launch.

  1. Choose an instance type. For a small lab, t2.micro or another free-tier–eligible size may be available depending on your account and Region—check the console banner.
  2. Review storage, network, and security group rules. Allow HTTP from the internet for initial setup and SSH (22) from your IP if you will administer the server.
  3. Select an existing key pair or Create new key pair, download the private key, and confirm launch.
  4. Wait until the instance state is Running, then copy its Public IPv4 address or public DNS name.
EC2 instance type t2.micro selected for WordPress
Amazon EC2
EC2 launch wizard review and launch
Amazon EC2
EC2 key pair selection before launch
Amazon EC2
EC2 instance running with public IPv4
Amazon EC2

How It Works

  1. Micro types suit learning; production needs more CPU/RAM and often a managed DB.
  2. HTTP 80 lets the browser reach WordPress before you add HTTPS.
  3. The key pair is for SSH later—not for the WordPress admin password.
  4. Prefer an Elastic IP soon so the public address stays stable for DNS.

Example 4 — Open the Site in a Browser

Hit the public address over HTTP once status checks look healthy.

  1. In a browser, open http://<public-ipv4-or-dns>/.
  2. You should see the default Bitnami WordPress splash or installer flow.
Browser showing default WordPress site on EC2 public IP
Browser

How It Works

  1. Bitnami starts the stack on first boot; wait a minute if the page is blank.
  2. Timeouts usually mean security group, wrong IP, or the instance still booting.
  3. HTTP is temporary—add ACM + ALB/CloudFront before you go live.
  4. Next hardening: unique admin user, updates, backups, and optional CDN caching.

Example 5 — Recover Admin Credentials

Read the initial Bitnami application user and password from the instance system log, then sign in.

  1. Select the instance, open Actions → Monitor and troubleshoot → Get system log (wording can vary).
  2. Scroll the log and locate the lines that include the default user and password for the application (often labeled by Bitnami).
  3. Open http://<public-ip>/wp-admin, sign in once, then change the password and enable MFA where possible.
EC2 Actions menu Get system log
Amazon EC2
System log excerpt showing Bitnami WordPress credentials
Amazon EC2
WordPress admin dashboard after login
WordPress
Protect credentials.

Treat the system log like a secret until you rotate passwords. Do not share screenshots that include the password.

How It Works

  1. Bitnami prints credentials to boot output on many images.
  2. SSH key ≠ wp-admin password—they unlock different surfaces.
  3. Rotate immediately after first login for any instance that stays online.
  4. Large site imports: raise PHP limits with the All-in-One WP Migration guide.

Edge Cases & Pitfalls

Most first-boot issues are networking, Marketplace terms, or missing credentials in the log.

http

Browser times out on port 80

Confirm Running state, public IP/DNS, security group TCP 80, and that status checks have passed.

log

No password in the system log yet

Wait a few minutes after first boot and refresh Get system log. Very early boot output may not include Bitnami lines yet.

market

Unexpected Marketplace charges

Software fees can stack on top of EC2. Read the listing pricing and terminate unused instances.

size

Micro instance feels slow

Burstable micros are for labs. Upgrade the type, add caching, or move the database off-box for real traffic.

ip

Public IP changed after stop

Attach an Elastic IP before you publish DNS or share bookmarks.

upload

Migration plugin rejects large archives

Raise PHP upload and post limits on the Bitnami stack before importing big sites.

Key Takeaways

  • Bitnami AMI: WordPress + stack in one Marketplace launch.
  • Open HTTP for the first browser test; tighten SSH and add HTTPS before production.
  • System log: recover the first admin password, then rotate it.
  • Scale later: caching, managed DB, ALB/CDN—not a lone micro forever.

One line: launch Bitnami WordPress on EC2, open HTTP, rotate the system-log admin password.

Frequently Asked Questions

It is a preconfigured Amazon Machine Image from Bitnami and Automattic that bundles WordPress with a web server, PHP, and database so you can launch a working site from AWS Marketplace with fewer manual installation steps.
For many Bitnami images, the initial application password appears in the EC2 instance system log after first boot. In the EC2 console, use Instance actions, then Monitor and troubleshoot options such as Get system log, and search the log for Bitnami credential lines.
A burstable micro instance can be enough for learning and very light traffic. Production sites usually need larger instance types, tuned caching, backups, HTTPS, and monitoring. Always test performance under realistic load.
Marketplace software can include licensing or hourly charges in addition to normal EC2 and storage costs. Read the subscription and pricing details on the listing before you launch, and tear down test resources when you are done.
Check the instance state, a correct public IP or DNS name, and the security group inbound rules for TCP 80 (and 443 if you configured HTTPS). Status checks should pass before you rely on the site.
High-traffic WordPress sites usually add caching, a managed database, load balancing, CDN, backups, and hardening. Treat this guide as a learning path, not a full production architecture by itself.

Next: large migrations

Bump PHP upload limits so All-in-One WP Migration can import bigger archives on your Bitnami instance.

WP Migration upload limit →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful