- Newest
- Most votes
- Most comments
Hello,
The AI answer is generally correct. At a high level, you have two options:
- Upgrade in-place. To do this, you should first take a snapshot of your instance. A snapshot will make reverting to the pre-upgrade state in case anything goes wrong. Once you've done this, you can upgrade WordPress and its dependencies via the WordPress admin application itself. Anything outside of WP may require SSH into the instance and then running commands in the CLI. Bitnami doc on upgrading WP: https://docs.bitnami.com/aws/apps/wordpress/administration/upgrade/
- Upgrade by creating a new instance - this is the same as migrating your WP site. For this approach, you would export your current bitnami WP site and content, create a new instance, and then import the old site content into the new one. You can follow the guidance found here: https://docs.aws.amazon.com/lightsail/latest/userguide/migrate-your-wordpress-blog-to-amazon-lightsail.html
Please reach out if you need further assistance. Thank you, Andy
Upgrading an old Bitnami Lightsail instance running WordPress to get all the software current can be a bit complex, especially when it comes to Bitnami itself. Your approach of taking a snapshot and creating a new instance is on the right track, but there are some important considerations and best practices to keep in mind:
-
Snapshot and New Instance: Taking a snapshot of your current instance is a good first step for backup purposes. However, creating a new instance from this snapshot won't automatically update the software components.
-
Launch a Fresh Instance: The recommended approach is to launch a completely new Lightsail instance with the latest Bitnami WordPress stack. This ensures you have the most up-to-date versions of PHP, Apache, and Bitnami components.
-
Data Migration: After launching the new instance, you'll need to migrate your data from the old instance to the new one. This typically involves transferring your WordPress files and database.
-
PHP Version: It's crucial to ensure that your WordPress site and any plugins are compatible with the PHP version on the new instance. If you need a specific PHP version, you may need to adjust this on the new instance.
-
Configuration and Customizations: Remember to transfer any custom configurations or modifications you've made to Apache, PHP, or WordPress settings.
-
Testing: Before switching over to the new instance, thoroughly test your site to ensure everything works correctly with the updated software stack.
-
DNS and IP Address: Once you're satisfied with the new instance, update your DNS settings to point to the new instance's IP address.
This approach, while more involved than simply updating components on your existing instance, provides a cleaner, more reliable way to get all your software current. It minimizes the risk of conflicts that can arise from in-place upgrades of multiple components on an older system.
Remember to back up your data regularly and keep your WordPress core, themes, and plugins updated for security and performance reasons.
Sources
Upgrade PHP on Lightsail | AWS re:Post
Launch and configure WordPress on Lightsail - Amazon Lightsail
Lightsail Wordress Bitnami - How Can I Downgrade from PHP 8.2.12 to PHP 8.0? | AWS re:Post
answered 2 years ago
Relevant content
asked a year ago
asked a year ago
asked a year ago
- AWS OFFICIALUpdated 2 years ago

OK, thanks. It's pretty clear that simply snapshotting and creating a new instance won't do what I hoped. I'll treat it just like any other site "move."