In this recipe, we will create a new NACL with no SSH support and associate one of our subnets with that NACL. By doing this, we'll see that we cannot SSH into EC2 instances within that subnet. After, we will add SSH support to the NACL and try to SSH again.
Working with NACLs
Getting ready
To complete the steps within this recipe, we need a custom VPC with the following configurations:
- Create a VPC by following the Creating a VPC in AWS recipe. Create the subnet by following the Creating subnets in a VPC recipe.
- Launch an instance into our public subnet with a security group configuration that allows our local machine IP to SSH into that machine. You can do this by referring to the Launching an EC2 instance into a...