In the VPC interface
Configure Security group
Public subnet - SG
Configure Inbound rules
In Inbound rules, click Add rule.
Select Type: SSH and Source: My IP. My IP represents 1 public IPv4 address you are using (will change when you change network)
Select Add rule to add a new rule.
Select Type: All ICMP - IPv4 and Source: Anywhere. Allow ping from any IP address.
In the VPC interface
Configure Security group
In the Security group name field enter Private subnet - SG
In the Description section enter Allow SSH and Ping for servers in private subnet.
select VPC, select VPC named ASG.
Configure Inbound rules
In Inbound rules, select Add rule.
Select Type: SSH and leave Source: Custom. Check the search box and select Public subnet SG. This option allows all servers assigned Public subnet SG to be SSH to the servers assigned to Private subnet SG. **.
Select Add rule to add a new rule.
Select Type: All ICMP IPv4 and Source: Anywhere. Allow ping from any IP address. |
---|
![]() |
Select Create security group