I'm currently trying to deploy multiple copies of a single solution on AWS EC2—each copy will have slightly different environment variables and will each sit on a unique EC2 instance (latency and performance considerations).
What would be the easiest/best way to achieve the above? To give some context, I am a back-end developer who primarily deploys on Docker, but with limited knowledge of Kubernetes. As of now, I've considered (a) manually deploying on each EC2 instance (which would be painfully cumbersome during each update), and (b) using ECS Docker Compose to deploy on AWS. For ECS, I haven't figured out yet how to limit each container to only one EC2 instance.
I do apologise in advance if this is a beginner question in terms of automated deployment—have limited experience in this area. Thank you very much for the help!