简体   繁体   English

如何将HTTPS入站规则添加到Amazon AWS EC2实例上的安全组?

[英]How to add a HTTPS inbound rule to a security group on an Amazon AWS EC2 instance?

I've created an AWS EC2 instance. 我已经创建了一个AWS EC2实例。 What I'm trying to do is to add an inbound rule for the corresponding security group to the instance. 我想做的是为实例添加相应安全组的入站规则。 The type of connection I wish the firewall to allow is HTTPS on port 443. 我希望防火墙允许的连接类型是端口443上的HTTPS。

Every time I save it though, it changes to a Custom TCP Rule on port 443. Does anyone know why this happens and how may I allow a HTTPS connection to the instance? 但是,每次保存时,它都会更改为端口443上的“自定义TCP规则”。是否有人知道为什么会发生这种情况,以及如何允许HTTPS连接到实例?

That is the way to configure it. 这就是配置它的方法。 Try to make a telnet connection towards the Instance using port 443 and it should be working. 尝试使用端口443与实例建立telnet连接,并且应该可以正常工作。

https://aws.amazon.com/premiumsupport/knowledge-center/connect-http-https-ec2/ https://aws.amazon.com/premiumsupport/knowledge-center/connect-http-https-ec2/

Also see that your Network ACL is allowing https.. Send the screen shot of your inbound traffic rules 还可以看到您的网络ACL允许使用https。。发送入站流量规则的屏幕截图

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

相关问题 如何为所有流量的AWS EC2安全组添加入站规则 - how to add inbound rules for AWS EC2 security group for all traffic AWS EC2:入站规则源中存在安全组名称 - AWS EC2: Security group name present in inbound rule's source 将入站规则添加到安全组 aws cdk - Add inbound rule to security group aws cdk 如何使用默认VPC将入站规则添加到AWS安全组? - How to add inbound rule to AWS security group with my default VPC? 如何使用aws cli将vpc中实例的ip添加到rds ec2经典实例的安全组 - How to add the ip of an instance in a vpc to the security group of rds ec2 classic instance with aws cli 如何查找之前创建的 EC2 实例、弹性 IP 和安全组入站规则? - How to Find Previously Created EC2 Instance, Elastic IP and Security Group Inbound Rules? 如何自动将自动扩展的EC2实例添加到安全组? - How to automatically add an autoscaled EC2 instance to a Security Group? 如何使用CloudFormation将安全组添加到现有EC2实例 - How to add a security group to an existing EC2 instance with CloudFormation Boto3 如何将安全组添加到 ec2 实例 - Boto3 How to add a security group to an ec2 instance AWS外部ALB和privale IP EC2实例之间的安全组规则? - Security group rule between aws external ALB and privale Ip ec2 instance?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM