Create Security Group

  1. In the VPC interface:

    • Select Security Group
    • Select Cretae security group

VPC

  1. Implement Security group

    • Security Group name, as Public subnet - SG
    • Description, as Allow SSH and Ping for servers in public subnet.
    • Choose Workshop1 VPC

VPC

  1. Implement Inbound rules

    • Within Inbound rules, click Add rule
    • Select Type: SSH and **Source: My IP. (Use your public IPv4 address)
    • Select Add rule to add new rule.
    • Select Type: All ICMP - IPv4Source: Anywhere. Accept ping from anywhere.

VPC

  1. Check Outbound rules and select Cretae security group

VPC

  1. Complete the creation of the security group for the server located in the Public subnet

VPC

Same the way, create Security Group for instance in Private subnet

VPC VPC VPC VPC

  1. Complete the creation of the security group for the server located in the Private subnet

VPC