• Virtual Private Cloud

vpc
  1. Help Center
  2. Virtual Private Cloud
  3. User Guide
  4. Security
  5. Security Group Configuration Examples
  6. Hosting a Website on ECSs

Hosting a Website on ECSs

  • Example scenario:

    If you deploy a website on your ECSs and require that your website be accessed over HTTP or HTTPS, you can add the following rules to the security group used by the ECSs functions as the web servers.

  • Security group configuration:

    Protocol

    Direction

    Port/Range

    Source

    TCP

    Inbound

    80 (HTTP)

    0.0.0.0/0

    TCP

    Inbound

    443 (HTTPS)

    0.0.0.0/0