We have a product which is set of following .Net5 applications:
- Front-end web app for customers
- Admin Tools - for administrative activities
- Web API
- Worker Service - for background jobs
Right now we are using two AWS EC2 VMs(load balanced with AWS Load balancer) to host these application on IIS. Also we have 5 different vendors(will be more in future). So We deployed these 4 applications for each vendor i.e. we hosted 20 applications on IIS on each VM.
Now there is a requirement to move to server less Container service like AWS Fargate. Can anyone expert here suggest to proceed with any of following way:
- 20 container images, 20 Task definitions and 20 Services in the cluster
- 20 container images, 5 Task definitions( each with 5 container definitions) and 5 Services in the cluster
- 5 container images(4 applications in each container- if possible), 5 Task definitions and 5 Services in the cluster
I am not an expert in container services, So it is possible that the 3 ways I mentioned above are totally imaginary, in that case please suggest the appropriate way. My end goal is to find out the possibility of hosting these application in more scalable(auto-scaling) and cost effective way in comparison to EC2 VMs.
Thanks