简体   繁体   English

在VPC内创建ECS集群的优势

[英]Advantages of creating ECS cluster inside a VPC

What are the advantages of creating ECS cluster inside a VPC? 在VPC内创建ECS集群有什么优势? I see that in the console page, it asks for whether one wants to create the ECS cluster inside the VPC or not? 我在控制台页面中看到它询问是否要在VPC内创建ECS集群?

Of course the right answer for your question is: it depends. 当然,您的问题的正确答案是:取决于情况。

There could be many reasons to have you ECS cluster in an existing VPC, eg because that VPC is reserved to your development resources and you are creating your ECS cluster for dev or the VPC is paired with another one and you want to allow the ECS pods to be able to access the paired network resources. 将ECS群集放置在现有VPC中的原因可能很多,例如,因为该VPC已保留给您的开发资源,并且您正在为开发人员创建ECS群集,或者该VPC与另一个VPC配对并且您想要允许ECS吊舱才能访问配对的网络资源。

For the opposite reasons maybe you want to have the ECS in a separated VPC. 出于相反的原因,也许您想将ECS放在单独的VPC中。 Of course the documentation can help you to make a decision. 当然,文档可以帮助您做出决定。

The question in the console page is more about do you have already a VPC for this cluster or do you want me to create one for you? 控制台页面中的问题更多是关于您是否已经为此集群创建了VPC,还是希望我为您创建一个? Let's say you are creating a new ECS cluster and you need a separated VPC, but you don't want to bother creating a new one, you can just leave this task to the AWS console. 假设您正在创建一个新的ECS集群,并且需要一个单独的VPC,但是您不想打扰创建一个新的VPC,只需将此任务留给AWS控制台即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM