I just finished jotting down some instructions for deploying your WordPress website on an AWS EC2 instance running Ubuntu 20.04. This was not a coding project, but there were challenges getting the different software elements to “play nice” with each other. WordPress, AWS, Ubuntu, Apache, PHP, MySQL, Adminer, and HTTPS were the main components I used. These steps assume that you already have an AWS EC2 instance running Ubuntu 20.04 with SSH access and a WordPress site running properly on your localhost. Here are the main steps…
- Create MySQL user and grant privileges on AWS EC2
- Export local database than import on AWS EC2
- Route domain names with domain registrar, AWS, and Apache
- Update site to use HTTPS