Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in AWS by (12.9k points)
edited by

I'm fairly new to AWS, I understand that EC2 is like a remote computer I can do pretty much everything I want. Then I find ECS, I know it is a container management service but I'm confused how these two are related to each other.

If I already have an EC2 instance, and then I start ECS, does it mean that I have two instances?

1 Answer

0 votes
by (18.2k points)

No, if you have an instance and then you start an ECS cluster, it does not means that you'll have two instances. 

EC2, as you already understand, is simply a remote virtual machine that you can launch.

ECS, on the other hand, is a logical group of EC2 instances on which you can run an application without having to scale your own cluster management infrastructure because ECS manages that for you.

If you have an instance, then you launch ECS, you'll have that one EC2 instance only. If you go ahead and register that EC2 instance to ECS then your instance will become a part of the ECS cluster but you will still have a single EC2 instance in that cluster.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

Browse Categories