im kinda new to setting up cloud architectures, im tasked with improving the current ci cd process and infrastructure, our plateforme has a multi tenant architecture with 4 frontends Vuejs, one backend node/expresjs (running in a docker container), serving multiple clients, now ive set up an EC2 for stg, another one for DEV and next another one for production and im assuming a replica to implement a BLUE/GREEN deployments.. ive set up a ci cd workflow with github acitons to deploy to each ec2.
after a quick search i found out about aws s3 which i thought would be suitable for my frontends build folders and ecs with fargate to handle my backend containers for each environment, and maybe a way to switch between containers to deploy blue/green.
im really looking to have better control/monitoring on the containers, and have an efficent, highly available production, with a fast deployment process while keeping costs reasonable.
currently just have multiple ec2s for each envrionment. im havent tried to implement the new services s3 and ecs/fargate because im not sure if this is the right path to take. is this a good approach ?
Elyes Ben othman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.