简体   繁体   English

AWS VPC 安全组中的规则数量是如何计算的?

[英]How does the number of rules in AWS VPC security groups is calculated?

In my control panel I see a security group which has a count of 250 rules, but I only see two rules in the list:在我的控制面板中,我看到一个有 250 条规则的安全组,但我在列表中只看到两条规则:

安全组界面截图

What do I miss?我想念什么?

Ok, so it's not a glitch.好的,所以这不是故障。 After talking to AWS support, turns out that the number of permission entries in this case is calculated from (hold tight) sum of maximum possible entries of each Source (see the sources column on screenshot).在与 AWS 支持人员交谈后,事实证明,在这种情况下,权限条目的数量是根据每个来源的最大可能条目的(保持)总和计算出来的(请参阅屏幕截图上的来源列)。 In this case, sources were Managed Prefix Lists, and the maximum number of entries was 150 for one of them and 100 for another - and this how the limit got hit.在这种情况下,源是托管前缀列表,其中一个的最大条目数为 150,另一个为 100 - 这就是达到限制的方式。

Interestingly, the actual number of records didn't matter - only the limit (see screenshot with Manage Prefix List screen).有趣的是,实际的记录数量并不重要——只有限制(见管理前缀列表屏幕截图)。 I've passed it on to devops, and they dealt with it - sorry for no solution, but maybe it'd help you to locate the root of your issue :)我已将它传递给 devops,他们处理了它 - 抱歉没有解决方案,但也许它会帮助你找到问题的根源 :)

在此处输入图像描述

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

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