Week 5 - Lambda Cost Optimization, API Gateway & CloudFormation

Weekly Topic

Lambda Cost Optimization + API Gateway + CloudFormation

Weekly Goals

  • Understand how AWS Lambda supports EC2 operations automation and cost optimization.
  • Learn how to design and provision REST APIs with Amazon API Gateway.
  • Get started with AWS CloudFormation for infrastructure as code management.

Work Schedule

DateDayTask DescriptionLab / Project
18/05/2026MonAWS Lambda overview and cost optimization mechanisms for EC2. Create Lambda functions to auto start/stop EC2 instances and configure saving plans.Lab 000022 - EC2 cost optimization with Lambda
19/05/2026TueAmazon API Gateway overview and use cases for REST APIs. Design API, create resources/methods and integrate with backend.Lab 000055 - Creating and provisioning APIs with Amazon API Gateway
20/05/2026WedContinue practicing with API Gateway resources and integration mechanisms. Complete the request/response flow for the API.Lab 000055 - Creating and provisioning APIs with Amazon API Gateway
21/05/2026ThuReview API Gateway deployment model and API publishing process. Test methods, integrations and basic test scenarios.Lab 000055 - Creating and provisioning APIs with Amazon API Gateway
22/05/2026FriAWS CloudFormation overview and Infrastructure as Code. Write YAML/JSON templates to deploy infrastructure automatically.Lab 000037 - AWS CloudFormation

Expected Results

  • Understand Lambda’s role in automation and EC2 cost control.
  • Be able to design and provision basic REST APIs using API Gateway.
  • Gain initial experience writing and deploying CloudFormation templates.

Week 5 References