Wordpress in Docker container on Fargate
Hi all,
A newbie here.
I want to run a small personal Wordpress blog (more like a CV/portfolio page with little content) on AWS.
I am interested in learning how Fargate/containers work, that's why I set myself a challenge to run this blog as a container rather than on EC2.
I have configured Docker desktop and successfully run the WP container (based on WP and mySQL images) locally.
Now my idea is that I need to deploy this container to AWS (Next steps to register a domain via Route 53, etc, but I am not concerned about it now).
Questions:
1. I googled first, but most of the proposed solutions for running a Wordpress site in a container on AWS mention also using EC2/RDS/S3. Why? My understanding is that if I run both WP + MySQL in a container, I shouldn't need any other AWS services.
---
2. What would be the costs for running a simple container like that? In the Pricing Calculator one of the parameters is the length of the task, and I'm somewhat confused here. My idea is that I just start the container once and it keeps running till it fails for some reason, and then it just gets restarted.
Thank you!
Regards
E