Security Group Configuration Examples

Common security group configurations are presented here. The examples in this section allow all outgoing data packets by default. This section will only describe how to configure inbound rules.

You can use the default security group or create a security group in advance. For details, see sections Creating a Security Group and Adding a Security Group Rule.

Allowing External Access to a Specified Port

Enabling ECSs in Different Security Groups to Communicate with Each Other Through an Internal Network

Enabling Specified IP Addresses to Remotely Access ECSs in a Security Group

Remotely Connecting to Linux ECSs Using SSH

Remotely Connecting to Windows ECSs Using RDP

Enabling Communication Between ECSs

Hosting a Website on ECSs

Enabling an ECS to Function as a DNS Server

Uploading or Downloading Files Using FTP