Lets say you want to deploy 10+ WordPress site in different EC2 instances, they will all be using a common RDS instance as database and static files like images would be uploaded to S3 and served via Cloudfront.
All the websites would share all basic configuration and plugins except themes.
What systems would you put in place to make all the configurations and plugins you need in one site and being able to easily deploy the other sites?
And lets say you want to change some configuration, add or remove a plugin in all of the sites, how would you achieve this? What about updating WordPress version?
Im thinking of:
a) Configuring one "development" AMI image and then using that to launch the EC2 instances.
b) Using Docker images to develop locally and then push to production sites via.
And using env variables to customize each server with its own settings like, domain name, theme it should use, etc.
Do you have any tips or has anyone done anything similar?