Ali cloud ECS allows networks based on how well HTTP, HTTPS and other services to access the instance configuration?

If you set up a website on the instance, want your users to access via HTTP or HTTPS service to your site, you need to add the following security rules set in instances where the security group.

  • Allow the public network to all IP addresses from accessing your website.
     
    Network Type NIC type Rules direction Authorization Policy agreement type Port Range License Type Authorization object priority
    VPC No need to configure Ingress direction allow HTTP (80) 80/80 Addresses access 0.0.0.0/0 1
    HTTPS (443) 443/443
    Custom TCP Custom, e.g. 8080/8080
    Classic Network public net Ingress direction allow HTTP (80) 80/80 Addresses access 0.0.0.0/0 1
    HTTPS (443) 443/443
    Custom TCP Custom, such as 8080/8080
  • Allow public Internet access portion of the IP address of your website.
     
    Network Type NIC type Rules direction Authorization Policy agreement type Port Range License Type Authorization object priority
    VPC No need to configure Ingress direction allow HTTP (80) 80/80 Addresses access Allow access to the public IP address of the host your site, which can be one or more public IP addresses, such as 1.2.3.4/32 or 10.0.0.0/8. 1
    HTTPS (443) 443/443
    Custom TCP Custom, e.g. 8080/8080
    Classic Network public net Ingress direction allow HTTP (80) 80/80 Addresses access Allow access to the public IP address of the host your site, which can be one or more public IP addresses, such as 1.2.3.4/32 or 10.0.0.0/8. 1
    HTTPS (443) 443/443
    Custom TCP Custom, e.g. 8080/8080

I configured a 8080 port access.

Ali cloud help documentation: https://help.aliyun.com/document_detail/25475.html?spm=a2c4g.11186623.6.844.331b6fffhwqcl3#allowHttp

Published 80 original articles · won praise 96 · views 360 000 +

Guess you like

Origin blog.csdn.net/Alen_xiaoxin/article/details/104853828