Both are fine choice , i just wanted to keep it simple and beginner friendly that's why i went ec2 to show how to deploy it in any vm . ecs is best choice for docker of course but at the end our container runs in ec2 no matter which way we go. Thanks for reading
That's not strictly true. on ECS you don't need to setup the Docker installation, only the task definition. it's way easier and it's managed by aws, a better choice, if you use ec2 might as well skip the Docker setup and host the app directly.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
why on ec2 instead of ECS?
Both are fine choice , i just wanted to keep it simple and beginner friendly that's why i went ec2 to show how to deploy it in any vm . ecs is best choice for docker of course but at the end our container runs in ec2 no matter which way we go. Thanks for reading
That's not strictly true. on ECS you don't need to setup the Docker installation, only the task definition. it's way easier and it's managed by aws, a better choice, if you use ec2 might as well skip the Docker setup and host the app directly.