What is the difference between Amazon ECS and Amazon EC2?

前端 未结 6 2437
一生所求
一生所求 2020-12-22 17:28

I\'m just getting started on AWS EC2. I understand that EC2 is like a remote computer where I can do pretty much everything I want. Then I found out about ECS. I know it use

6条回答
  •  梦毁少年i
    2020-12-22 18:04

    Okay, as you know EC2 is a virtual machine on AWS and ECS is a container orchestration system on AWS.

    To use ECS, you need to run your container into some virtual machines which EC2 is one of an option to provide that.

    You will need to install ecs-agent on EC2 to make a connection with ECS. And ECS also can monitor the resource usages on your EC2. So basically you choose the more high-level EC2 type, then more resource(CPU/MEM) your container can use.

提交回复
热议问题