Querying Amazon VPC Flow Logs with Amazon Athena

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Storing Amazon VPC Flow Logs in Amazon S3
lock
Querying Amazon VPC Flow Logs with Amazon Athena

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h
Students44

Description

Flow logs are a powerful feature of Amazon Virtual Private Cloud (VPC) that allow you to record the network traffic in a VPC and inspect it later. Amazon Athena is a serverless interactive query service that allows you to interrogate data stored in a number of different data stores.

By learning how to capture and query Amazon VPC flow logs, you will be able to debug and analyse your VPC networks with ease.

In this lab, you will configure an Amazon S3 bucket to store flow logs, you will enable flow logs for an Amazon VPC, and you will query the flow logs using Amazon Athena.

Learning Objectives

Upon completion of this beginner level lab, you will be able to:

  • Configure an Amazon S3 bucket policy
  • Enable Amazon VPC flow logs VPC wide
  • Run queries on flow log data stored in Amazon S3 using Amazon Athena

Intended Audience

  • Candidates for the AWS Solutions Architect Associate certification
  • Cloud Architects
  • Data Engineers
  • DevOps Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Amazon Simple Storage Service (S3)
  • Amazon Virtual Private Cloud (VPC)
  • Amazon Athena

The following courses can be used to fulfill the prerequisites:

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students30909
Labs74
Courses2
Learning paths1

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds the Developer - Associate, Sysops Administrator - Associate, and Solutions Architect – Associate AWS certifications.