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.

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
Part of a Course
This lab is part of the AWS Solutions Architect Associate (SAA-C03) course
View All CoursesChoose your plan
Simple, Transparent Pricing
Unlock full access to TeKanAid courses, labs, and bootcamps
Just exploring? Start free below. Want the full experience? Try Premium free for 7 days (card required, $0 today).
Pro
All courses, with lab scripts to run on your own machine
Renews automatically. Cancel anytime.
Final price verified at checkout.
- Full access to all courses
- Lab scripts to download and run on your own machine (hosted labs not included)
- Progress tracking
- Certificate of completion
- Community access
- Self-paced bootcamps
- Premium puzzle library not included (5 free puzzles available)
- New content access
Premium
Full access, including unlimited hosted labs
Renews automatically. Cancel anytime.
Final price verified at checkout.
- Everything in Pro
- Unlimited hands-on labs, fully hosted on TeKanAid Academy (nothing to set up)
- Full access to the puzzle library
- Lab AI Assistant
- Priority support
Prefer a single course?
Purchase individual courses for a one-time fee of $79. Full access to course content, quizzes, certificates, and community features, lab access is not included.
Browse CoursesJust exploring? Start free, no account needed
Three free ways to start. All bridge into the paid Premium catalog when you're ready.
Not ready to commit? The crash course is email-only. No academy account required.
Ready to Get Started?
Start this hands-on lab and build real-world Platform Engineering skills
Get Access Now