简体   繁体   English

在公共子网中启动AWS EC2实例

[英]Launching AWS EC2 instances in public subnet

What is the security concern in launching AWS EC2 instances in public subnet. 在公共子网中启动AWS EC2实例时,安全性受到什么关注? I assume when an EC2 instance is launched in public subnet , it will have access to outside world provided security groups allow it. 我假设在公共子网中启动EC2实例时,只要安全组允许,它就可以访问外界。 Is all traffic from internet allowed to public subnet? 是否允许所有从Internet到公共子网的流量? I assume even this could be restricted via NACLs. 我假设甚至可以通过NACL来限制。

  • About launching the ec2 instance in public subnet, it is recommended that EC2 instances which need direct Internet access need to be placed in the public subnet, else instances that need direct access to internal networks must be placed in a private subnet with routes to a virtual private gateway. 关于在公共子网中启动ec2实例,建议将需要直接Internet访问的EC2实例放置在公共子网中,否则,将需要直接访问内部网络的实例必须放置在具有虚拟路由的私有子网中专用网关。
  • About NACL, you can control incoming and outgoing traffic at subnet level through NACL. 关于NACL,您可以通过NACL在子网级别控制传入和传出流量。
  • By default, NACL allows all inbound and outbound traffic. 默认情况下,NACL允许所有入站和出站流量。
  • Can customize NACL with required rules in order to provide the extra security at the subnet level. 可以使用必需的规则自定义NACL,以便在子网级别提供额外的安全性。

暂无
暂无

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

相关问题 AWS:为什么对我的私有子网 EC2 实例进行负载平衡需要公共 IP? - AWS: Why is a public IP required for load-balancing to my private subnet EC2 instances? 私有子网和公有子网中的 ec2 实例如何通信? - How can ec2 instances in private and public subnet communicate? 如何负载均衡AWS私有子网EC2实例 - How to load balance AWS private subnet EC2 instances 在私有子网中的EC2实例之间切换的AWS最佳方法 - AWS best method to ssh between EC2 instances in private subnet 将 squid 设置为透明代理(在公共子网中)时,无法从私有子网中的 EC2 实例访问公共 EC2 实例 - Unable to reach public EC2 instance from EC2 instances in a private subnet while setting up squid as a transparent proxy (in public subnet) AWS - 在同一个公共子网中连接一个带有私有 ip 的 ec2 实例和一个带有公共 ip 的 ec2 实例? - AWS - Connecting an ec2 instance with a private ip and an ec2 instance with a public ip in the same public subnet? 我们可以直接将ec2实例从专用子网移动到公用子网吗? - Can we move ec2 instances from private subnet to public subnet directly? AWS Beanstalk继续在同一可用区中启动EC2实例 - AWS Beanstalk keep launching EC2 instances in same AZ 使用boto3启动AWS EC2实例时指定VirtualizationType - specifying VirtualizationType when launching aws ec2 instances with boto3 AWS Java SDK - 使用公共IP启动EC2 Spot实例 - AWS Java SDK - launching an EC2 Spot instance with a public IP
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM