You will learn step by step how to deploy a highly scalable, reliable and secure Wordpress Blog on AWS using Elastic File System.
Here, we will be using EFS for storing shared wordpress files amoung all EC2 instances
Other resources used are -
Custom VPC
EC2 instances with Autoscaling
EFS(Elastic Filesystem) port - 2049
RDS (MariaDB) port - 3306
ELB(Elastic Loadbalancer)
ElasticCache (Redis/Memcache) port -6379
S3 Bucket
Cloudfront CDN
S3 bucket is used to host media assets of Wordpress and serve them to visitors using Cloudfront CDN.
Reference Architecture Diagram -
https://d2908q01vomqb2.cloudfront.net...
Resources used in this tutorial -
1) Wordpress setup on master server
https://pastebin.com/g0ZBRUhp
2) Add permanent mount for EFS
https://pastebin.com/cjz9SwGB
3) Cronjob setup + .htaccess setup + S3 bucket policy
https://pastebin.com/wMiz2vHa
4) Redis instance setup in wp-config.php
https://pastebin.com/EasuyRut
5) Server IP checking script
https://pastebin.com/ia6mrxwL