There's a newer version of this post: Bitnami WordPress: Reset file permissions on AWS Lightsail
Some notes on transferring an existing WordPress site to Amazon Web Services and some common issues.
MySQL Import Fail
If the import fails on import pointing to an issue with the 'comment_date' field it'll be a SQL setting that's causing the bother.
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
Add the above line to the top of your SQL import script.
Set-up an SSL
sudo /opt/bitnami/bncert-tool
Run the above command in SSH and follow the instructions, you will need to have the domain pointed and propagated for this to work.
Unable to Upload Files
Fix file upload permissions
sudo chown -R bitnami:daemon /opt/bitnami/apps/wordpress/htdocs/wp-content
sudo chmod -R g+w /opt/bitnami/apps/wordpress/htdocs/wp-content
After the above file uploads will be back to normal.
There is a bit more on the standard AWS Wordpress set-up here.
Ready to elevate your WordPress site?
Whether you're launching a new site, strengthening security, or integrating WooCommerce, I can help transform your vision into a high-performing online presence.
More WordPress posts
—
WordPress plugin security auditing
In the WordPress ecosystem, plugins are the lifeblood of functionality, yet they represent the single largest attack surface for malicious actors. With thousands of new plugins submitted to the repository…
—
WordPress 6.9.1
WordPress 6.9.1, released on 3 February 2026, is a short‑cycle maintenance update that follows the major 6.9 “Gene” launch in December 2025. Rather than adding new features, this point release…
—
Choosing the right content management system
Choosing the right content management system (CMS) is one of the most consequential early decisions when building a website The content management system shapes everything from how editors publish to…
Continue reading "Choosing the right content management system"
—
Using WordPress as a static site generator
Static site generators have gained significant traction amongst developers, designers, and businesses seeking faster, more secure websites. Unlike traditional dynamic sites, which rely on a database to deliver content on…
Continue reading "Using WordPress as a static site generator"