Skip to content

About

Code Reference Guide for developers progressing through the AWS Developer Learning Plan

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

58 Commits

Folders and files

Repository files navigation

☁️ AWS Developer Learning Plan — Code Reference Guide

AWS AWS CDK Python Status Learning Plan

A structured, module-by-module code reference guide for developers progressing through the AWS Developer Learning Plan on AWS Skill Builder.


Important

Always read each module's README.md first before checking or running the code!
Each module folder contains its own comprehensive README.md detailing:

  • Prerequisites & new packages that must be installed.
  • Summary of changes made when moving from the previous module.
  • Exact file layouts and configurations (Lambda layers, environment variables, permissions).
  • Step-by-step testing and deployment commands (unit tests, coverage, and SAM CLI local emulation).

Jumping straight into the code without reading the corresponding module documentation will likely cause missing dependency errors or confusion about incremental architectural refactorings.


📌 Table of Contents


📖 About This Repository

The AWS Developer Learning Plan on AWS Skill Builder guides developers through building an end-to-end, production-grade cloud application (a Product Catalog API and e-commerce backend) using AWS CDK (Python), Amazon API Gateway, AWS Lambda, Amazon DynamoDB, Amazon S3, and event-driven services.

This repository serves as a practical, incremental companion containing verified working code, clear directory structures, and configuration files for each course module as you advance through the curriculum.


🎯 Why This Repository Exists

While working through the AWS Skill Builder curriculum, learners often encounter a few common roadblocks:

  1. Incremental Transitions & Missing Context
    Modules build directly upon the codebase of previous modules. However, transitioning between lessons can be challenging when it's unclear where new files belong or which specific files and lines need modification in existing stacks.

  2. Fragmented Code Snippets
    Skill Builder provides snippets of code within its lesson text, but frequently omits guidance on overall directory layout, imports, and file organization.

  3. Gaps in the Official AWS Sample Repository
    The official aws-samples/sample-aws-developer-project repository provides only initial and final states of the project. Furthermore, some code snippets in the official repo diverge slightly from what is presented in the Skill Builder course modules.

The Solution

This repository provides isolated, working code snapshots for each module:

  • ✅ Full Directory Visibility: See exact folder layouts and where each file lives.
  • ✅ Clean Module Separation: Inspect working states at each milestone without having to jump straight to the final project code.
  • ✅ Troubleshooting Baseline: Quickly compare your code when facing deployment or runtime issues.

🚀 How to Use This Repository

To maximize your learning experience, we recommend following this workflow:

    [1. Learn on AWS Skill Builder] --> [2. Build & Code Locally]
    Does it deploy & work?
        Yes --> [3. Proceed to Next Module]
        Stuck / Errors --> [4. Read Module's README.md & Consult Folder]
    [5. Check Directory Layout, Dependencies & File Differences]
  1. Follow the Skill Builder Course First: Go through the theory and instructions on AWS Skill Builder and write and deploy the code in your own AWS development environment.
  2. Read the Module README: Always open the module's README.md first to understand the architectural diff, required libraries, and layer setup.
  3. Use as a Reference, Not a Shortcut: When you get stuck, encounter syntax or import errors, or wonder how to organize files, open the corresponding module directory here (e.g., 05_testing_and_error_handling/).
  4. Compare File Structures: Verify your directory layout against the module's structure, paying close attention to CDK stack definitions (product_api/), shared utilities (utils/), and Lambda function code (lambda_code/).
  5. Cross-Check with Official Sample Code: Use the official AWS repo as an additional reference for overarching architectural patterns and final states.

📂 Repository Roadmap & Structure

Each folder represents an individual milestone in the learning plan:

aws-developer-learning-plan/
├── 01_introduction_to_aws_developer_learning_plan/   # Environment setup, CLI verification & resource provisioning
├── 02_introduction_to_being_an_aws_developer/        # AWS naming conventions, partition considerations & namespacing
├── 03_building_your_first_serverless_api/            # Initial CDK project setup, Lambda & API Gateway
├── 04_adding_data_to_your_api/                       # DynamoDB integration, Pydantic validation & Lambda layers
├── 05_testing_and_error_handling/                    # Unit testing (Pytest/Moto), DLQ, Retries, Circuit Breaker & SAM CLI
├── 06_scaling_with_data_storage/                     # Amazon S3 media storage, presigned URLs, event triggers & ElastiCache (Valkey) caching
├── 07_advanced_lambda_patterns_for_optimization_and_resilience/ # Shared utility layers, versioning & resilience patterns
├── 08_adding_asynchronous_processing/                 # SQS queues, SNS pub/sub filtering & EventBridge routing
├── ...                                               # Upcoming modules
└── README.md                                         # Main documentation & companion guide

Module Breakdown

Module Topic / Focus Key Concepts & AWS Services Status
01 Introduction to AWS Developer Learning Plan Establishing essential AWS concepts and configuring your development environment ✅ Complete
02 Introduction to Being an AWS Developer Evaluate compute options and understand your role as an AWS developer ✅ Complete
03 Building Your First Serverless API Build and deploy a working REST API using AWS Lambda and Amazon API Gateway ✅ Complete
04 Adding Data to Your API Integrate Amazon DynamoDB, Pydantic request validation, and Lambda layers ✅ Complete
05 Testing and Error Handling Automated unit testing (Pytest/Moto), Dead-Letter Queues (DLQ), Lambda Destinations, Exponential Backoff, Circuit Breakers, and SAM CLI local testing ✅ Complete
06 Scaling with Data Storage Amazon S3 object storage, Presigned PUT/GET URLs, DynamoDB atomic media linking, S3 event triggers, and ElastiCache (Valkey) in-memory caching ✅ Complete
07 Advanced Lambda Patterns Shared Lambda layers, layer versioning, rollback strategies, optimization & resilience ✅ Complete
08 Adding Asynchronous Processing SQS queues & DLQs, SNS multi-protocol pub/sub & FilterPolicy, EventBridge custom buses & rules, reverse-order workflow rollbacks ✅ Complete
09+ Upcoming Modules Data modeling & access patterns, Cognito authentication, CI/CD pipelines, Observability ⏳ Planned

🛠️ Prerequisites & Environment Setup

Before working on the modules, make sure your local environment is configured:

  1. AWS Account: An active AWS account with administrative or developer-level IAM privileges.
  2. AWS CLI (v2): Installed and configured with your credentials:
    aws sts get-caller-identity
  3. AWS CDK CLI: Installed globally via Node.js:
    npm install -g aws-cdk
    cdk --version
  4. Python 3.9+ & Virtual Environments:
    python3 --version
    pip --version

Note

All resources provisioned in the initial modules (such as on-demand DynamoDB tables and S3 buckets) are configured to use pay-per-request pricing so they incur minimal or zero cost when idle. Remember to clean up unused resources when you conclude your practice sessions.


🔗 Official Resources & References


📄 Disclaimer

This repository is an independent, community-driven educational companion created to aid learning and troubleshooting during the AWS Developer Learning Plan. It is not officially affiliated with, endorsed by, or maintained by Amazon Web Services (AWS). All AWS product names, logos, and brands are property of their respective owners.

About

Code Reference Guide for developers progressing through the AWS Developer Learning Plan

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages