Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Working with VPC Flow Logs for Network Monitoring in AWS

This hands-on lab gives you the opportunity to work with VPC Flow Logs. It will teach various ways to review VPC Flow Logs and monitor networks. A common way people evaluate VPC Flow Logs is by sending them to CloudWatch. Once they're in CloudWatch, people can create metrics, then set alarms based on those metrics. Additionally, it's possible to export CloudWatch Logs to S3. In fact, it's possible to export VPC Flow Logs directly to S3. The advantages of this are cost savings and ease of use. In this hands-on lab, we will go through the process of exporting VPC Flow Logs to S3, as well as use Amazon Athena to query those Flow Logs.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Advanced
Last updated
Sep 24, 2025
Duration
1h 0m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Create an S3 Bucket
    1. Navigate to S3.
    2. Click Create Bucket.
    3. Give the bucket a unique name (e.g., "vpcflow4learningactivity" and a series of numbers at the end, like the account ID of the AWS account provisioned with the lab, to make it globally unique).
    4. Click Next three times.
    5. Click Create Bucket.
    6. Click to open your newly created bucket.
    7. Click Create folder.
    8. In the box next to the folder, enter "AWSLogs".
    9. Click Save.
    10. Click Create folder.
    11. In the box next to the folder, enter "QueryResults".
    12. Click Save.
  2. Challenge

    Configure VPC Flow Logs
    1. Navigate to VPC > Your VPCs.
    2. Select the LinuxAcademy VPC.
    3. Click Actions > Create flow log.
    4. Set the following values:
      • Filter: All
      • Destination: Send to an S3 bucket
      • S3 bucket ARN: arn:aws:s3:::<YOUR_BUCKET_NAME>
    5. Click Create.
    6. Click the Flow Logs tab to verify the flow log exists.
  3. Challenge

    Create and Query a Sample Table in Amazon Athena
    1. In Athena, specify the QueryResults folder in the S3 bucket as the query results location.
    2. Use the Athena tutorial to create a sample table.
    3. Run a select * from query on the table.
    4. Edit the query by replacing * with request_ip and run it again.
  4. Challenge

    Configure and Query the VPC Flow Logs
    1. In S3, verify that logs have populated the AWSLogs folder in the vpcflow4learningactivity bucket.
    2. In Athena, run the scripts provided on the lab page.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight