This lab is currently in Beta — content may be updated as we refine the material
LABBEGINNER

Cost Explorer and VPC Endpoint Savings

Use AWS Cost Explorer CLI to analyze spending, identify NAT Gateway data transfer costs, and quantify savings from VPC endpoints.

30 minutes
infrastructure/aws
Cost Explorer and VPC Endpoint Savings - Platform Engineering Hands-On Lab Icon

Lab Overview

Walk through AWS Cost Explorer from the CLI, learn to read cost-and-usage reports grouped by service and usage type, and build a cost comparison showing how VPC Gateway endpoints eliminate NAT Gateway data-processing charges.

You'll learn to:

  • Query Cost Explorer with aws ce get-cost-and-usage grouped by service and usage type
  • Identify NAT Gateway data-processing charges in cost reports
  • Build a VPC with a NAT Gateway and S3 Gateway endpoint to compare traffic paths
  • Create a cost optimization checklist covering VPC endpoints, S3 tiering, right-sizing, and more

Note: Cost Explorer requires approximately 24 hours of billing data. Fresh lab accounts may return $0 values, but the CLI commands and analysis methodology are identical to what you would use on a production account.

Key Resources:

What You'll Learn

Use aws ce get-cost-and-usage to query spending grouped by service and usage type

Identify NAT Gateway data-processing charges in Cost Explorer output

Build a VPC with NAT Gateway and S3 Gateway endpoint to compare cost paths

Create a cost optimization checklist for AWS workloads

Prerequisites

Basic AWS CLI familiarity

Understanding of VPC and NAT Gateway concepts

Technologies Covered

awscost-explorercost-optimizationvpc-endpointsnat-gateways3data-transfer

Part of a Course

This lab is part of the AWS Solutions Architect Associate (SAA-C03) course

View All Courses

Choose your plan

Simple, Transparent Pricing

Unlock full access to TeKanAid courses, labs, and bootcamps

MonthlyQuarterly

Pro

Course content without labs

$59/month

Renews automatically. Cancel anytime.

  • Full access to all courses
  • Progress tracking
  • Certificate of completion
  • Community access
  • Bootcamp participation
  • New content access
Recommended

Premium

Full access with hands-on labs

$99/month

Renews automatically. Cancel anytime.

  • Everything in Pro
  • Unlimited hands-on labs
  • Lab AI Assistant
  • Accelerator bootcamps with live office hours
  • Priority support

Prefer a single course?

Purchase individual courses for a one-time fee of $79.00. Full access to course content, quizzes, certificates, and community features — lab access is not included.

Browse Courses

Free Content Available

Explore our platform with free lessons, quizzes, and lab previews. No credit card required to get started. On the courses page, use the Access filter and select Free to find all available free content.

Browse Free Content

Ready to Get Started?

Start this hands-on lab and build real-world Platform Engineering skills

Get Access Now