By default, network access is turned off to a ECS instance. You can specify rules in a security group that allows access from an IP address range, port, or ECS security group.
You must specify port numbers (for TCP):
- SSH: 22
- HTTP: 80
- HTTPS: 443
- Ftp: 21, 20000-30000