Exercise 7.2 – Creating a Bastion Host security group
In this exercise, we will create a custom security group that will be used by an EC2 instance. This will act as a Bastion Host, as previously discussed in this chapter. Let's get started:
- Log in to your AWS account and navigate to the VPC console. Ensure you are in the us-east-1 Region. From the left-hand menu, confirm that ProductionVPC is available in this Region.
- Select the Security Groups link from the left-hand menu, which is located under the Security category, as shown in the following screenshot:
- Click on the Create security group button on the top right-hand corner of the screen.
- Under Basic details, provide a name for your security group; for example,
BastionHost-SG
. - Next, provide an appropriate description, such as
Allow Remote Access to Bastion Host Server
. - Under VPC, make sure your select ProductionVPC from the...