Amazon VPC 中可以使用多少个 EC2 实例?

发布于 2024-09-29 00:49:38 字数 183 浏览 3 评论 0原文

Amazon 的 Virtual Private Cloud (Amazon VPC) 允许我打开与 EC2 集群的 VPN 连接。

看起来您可以在虚拟私有云中运行的 EC2 实例数量是 24 个主机 - 这是正确的吗?

Amazon's Virtual Private Cloud (Amazon VPC) allows me to open a VPN connection to the EC2 cluster.

It looks like the number of EC2 instances you can run within a virtual private cloud is 24 hosts - is that correct?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

逆流 2024-10-06 00:49:38

更新

最初答案中提到的测试版限制同时已取消,新的限制(可以按照概述提出)由相应的常见问题解答 我可以在 VPC 中使用多少个 Amazon EC2 实例?

您可以在 VPC 内运行任意数量的 Amazon EC2 实例,只要
因为您的 VPC 大小合适,可以分配 IP 地址
每个实例。您最初只能启动 20 个 Amazon EC2
任意时间每个 VPC 的实例,最大 VPC 大小为 /16
(65,536 个 IP)。如果您想超出这些限制,请
填写以下表单

此外,每个区域的初始 VPC 数量为 5,每个 VPC 的初始子网数量为 20,请参阅附录 B:限制 了解有关这些限制和其他限制的详细信息。


初步解答

目前,每个 AWS 账户可以拥有 1 个 VPC,最多可包含 20 个子网。这些是测试版限制,如果您需要解除这些限制,请填写表单

使用单个 AWS 账户运行的实例也有限制,但同样,您可以让它们达到此限制。 AWS 有各种限制,包括 EBS 卷、弹性 IP 等。它们都可以提高。

Update

The beta limitations mentioned in the initial answer have meanwhile been lifted, the new ones (which can be raised as outlined) are addressed by the respective FAQ How many Amazon EC2 instances can I use within a VPC?:

You can run any number of Amazon EC2 instances within a VPC, so long
as your VPC is appropriately sized to have an IP address assigned to
each instance. You are initially limited to launching 20 Amazon EC2
instances per VPC at any one time and a maximum VPC size of /16
(65,536 IPs). If you would like to exceed these limits, please
complete the following form.

Furthermore, the initial Number of VPCs per region is 5 and the initial Number of subnets per VPC is 20, see Appendix B: Limits for details regarding these and other limitations in place.


Initial Answer

You can currently have 1 VPC per AWS account with up to 20 subnets. These are the beta limitations, complete their form if you need to lift them.

There is also a limit of instances you can run with a single AWS account, but again -- you can get them to up this limit. AWS has all kinds of limits in place, also on EBS volumes, elastic IPs, etc.. They can all be upped.

寂寞清仓 2024-10-06 00:49:38

事情已经改变了。

问:我可以在 Amazon EC2 中运行多少个实例?

您最多只能运行 20 个按需实例,购买 20 个
预留实例,并根据您的动态请求 Spot 实例
每个区域的现货限制。新的 AWS 账户开始时可能会受到以下限制
低于此处描述的限制。某些实例类型是
每个区域的进一步限制如下...

来源:
http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2

Things Have Changed.

Q: How many instances can I run in Amazon EC2?

You are limited to running up to 20 On-Demand instances, purchasing 20
Reserved Instances, and requesting Spot Instances per your dynamic
Spot limit per region. New AWS accounts may start with limits that are
lower than the limits described here. Certain instance types are
further limited per region as follows...

Source:
http://aws.amazon.com/ec2/faqs/#How_many_instances_can_I_run_in_Amazon_EC2

少年亿悲伤 2024-10-06 00:49:38

我非常怀疑。我的理解是,VPC 只是一个 VPN,您可以通过管道传输尽可能多的流量。您是否混淆了主机和子网?可用子网的数量有限制。主机数量也有限制(我认为最多 20 台主机),但这是 EC2 的普遍问题,并非特定于 VPC。请注意,如果您向亚马逊发送电子邮件,这两个限制都可以被推翻。

I highly doubt it. My understanding is that VPC is just a VPN, where you can tunnel as much traffic as it can support through the pipe. Are you confusing hosts with subnets? There is a restrictions on the number of subnets available. There is also a restriction on the number of hosts (I think it's a max of 20 hosts), but that's a general EC2 concern and not specific to VPC. Note that both restrictions can be overturned if you send an email to Amazon.

热鲨 2024-10-06 00:49:38

这取决于实例的类型。使用以下说明检查您的限制:https:// docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html

It depends on the type of the instance. Check your limits using the following instruction: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文