WordPress (WP) - Overview
- đź”§Â Extremely popular web Content Management System (CMS)
- Publish blogs, traditional websites, online stores…
- Screenshot
- Free and Open-Source Software (FOSS)
- Written in PHP
- Paired with a MariaDB or MySQL database for data storage
- Can be installed on a web server, local computer, etc
- 💡 Cantrill uses WP in many demos to showcase installation and deployment of a popular SW web solution in different architectures, paradigms, and AWS services
- e.g. monolithic VMs, containers, multi-tiered systems…
Manual Install of WordPress in an EC2 Instance
Ref: https://learn.cantrill.io/courses/1820301/lectures/41301332 and https://learn.cantrill.io/courses/1820301/lectures/41301333
- Disadvantages of manually installing software (specifically in an EC2 instance) vs automated installation:
- 👎 Prone to human errors throughout whole installation
- 👎 Slow - More time and effort than automated flow
- 👎 Less consistent than automated flow
- 👎 Must remember to clean up/remove installation files
systemctl
- command to start and stop system processes
Bake an AMI with WordPress Installed and Launch EC2 Instance from AMI
Ref: https://learn.cantrill.io/courses/1820301/lectures/41301335 and https://learn.cantrill.io/courses/1820301/lectures/41301336
- âť— Recommended: stop instance before creating an AMI from it
- Creating an AMI from a running instance can cause consistency issues (e.g. instance reboot might be required)
- When creating an AMI, one can add and change the EBS volumes that will be stored with the AMI, but normally one copies the current configuration of the EBS volumes of the instance