Creating the flow log for one subnet

Now, with all of the prerequisites satisfied, we are going to create a flow log for one subnet that is open in the AWS web console for the VPC service:

  1. Select one subnet. Now, select the Flow Logs tab, and click on the Create flow log button, as shown in the following screenshot:

  1. Insert the information as it is given in the following screenshot. The log group and the role are the ones created with the Terraform module. In this example, we are interested in seeing the traffic that is accepted, so we select the Accept option in the Filter drop-down menu:

Now that you have a situation like this in your ...

Get Effective DevOps with AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.