What is the difference between Amazon ECS and Amazon EC2?

0 votes

Is ECS just a docker install in EC2? If I already have a EC2, then I start a ECS, does it mean I have two instance?

Jul 10, 2018 in AWS by bug_seeker
• 15,300 points

2 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

EC2 allows you to launch individual instances which you can use for pretty much whatever you like. ECS is a container service, which means it will launch instances that will be ready to launch container applications. The main distinction between the two services is that with EC2 you have to manage each instance separately in whatever method you choose (manually, using a CM tool or any other way) - deploy your applications and maintain the connection between the servers yourself. ECS allows you to launch a cluster of machines that will serve as the deployment ground of your container apps, allowing you to treat all instances in the cluster as one big instance available for your container workload.

And to answer your question - You can start an ECS cluster with no instances in it, but then it won't be able to run anything on it. Once you register an EC2 instance inside an ECS cluster, containers are ready to run in it. So the bottom line is - you can use both ECS and EC2 with only one instance, but that is not the actual use case these services were built for.

answered Jul 11, 2018 by Priyaj
• 56,140 points
–3 votes

AWS ECS is just a logical grouping (cluster) of EC2 instances, and all the EC2 instances part of an ECS act as Docker host which used to send a command to launch a container on them ( EC2 ). While on the other hand, an Amazon ECS without any EC2 registered (added to the cluster) is good for nothing. For  more visit: aws training in Delhi

answered Jun 11 by ananyagupta
Hey Ananya, there is nothing useful in the link you've provided. Please refrain from Promoting other companies. We'd like to keep this platform clean to discuss only technical problems.
Hahaha! Amazon ECS is not just a logical grouping of EC2 instances, it's way more than that. It's basically a container orchestration tool that helps you use Docker containers without a third party tool.

Related Questions In AWS

0 votes
1 answer

What is the difference between Amazon SNS and Amazon SQS?

SNS is a distributed publish-subscribe system and the messages are pushed to ...READ MORE

answered Jul 30, 2018 in AWS by Mrunal
• 680 points
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer

What is difference between Lightsail and EC2?

EC2 is one of the service by AWS ...READ MORE

answered Aug 7, 2018 in AWS by ArchanaNagur
• 1,790 points
0 votes
1 answer
0 votes
1 answer

What is the difference between Amazon Cloudfront and S3

major difference is that cloudfront allows you ...READ MORE

answered Jul 9, 2018 in AWS by Priyaj
• 56,140 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.