A scalable, secure, containerized WordPress instance with MySQL 5.7, all pre-configured with best practices and security builtin. The appXen WordPress EC2 offering comes with the ability to run everything you need on a single instance, saving cost. You can also easily stop the MySQL container with a single command and connect to an external database for scale.
When launching your instance, provide the following security group rules:
- TCP, 22, 22, YOUR-IP-ADDRESS*
- TCP, 80, 80, 0.0.0.0/0
- TCP, 443, 443, 0.0.0.0/0
* Always lock-down the SSH port to a single IP address. Opening your SSH port to the world i.e. `0.0.0.0/0` is a security risk and can compromise your instance.
Once the EC2 provided DNS is available, visit the page in your web browser. You will see the WordPress language selection screen. Select your preferred language and click continue. You will then see a page letting you know you need to enter database credentials. Click "Let's Go" (These credentials can be retrieved via the methods in the below section).
Enter the information:
- Database Name: wordpress
- Username: wpuser
- Password: [Auto-generated on first boot] *See below for instructions on how to locate
- Database Host: mysql
- Table Prefix: wp_
Once you click Submit, you will then create your administrator username and password. You are now ready to login to your AWS Cloud hosted WordPress.
CREDENTIALS AND PASSWORDS
All AppXen instances auto-generate passwords upon first boot. You can locate the credentials:
- Within the EC2 console, view the instances startup log, you will find the docker-compose file that contains the generated passwords exported out to the log, from which you can copy/paste to login to web administration applications.
- Connect to your instance via SSH and view the ~/docker-compose.yml file.