Everything is code in the cloud. In this lab, you’ll learn how to use the AWS Cloud Development Kit to deploy a static website hosted in Amazon S3 and exposed through Amazon CloudFront. The deployment is done with three separate stacks: one with a custom resource that deploys the static website, one that deploys Amazon DynamoDB resources, and one that deploys a web API that provides the back-end functionality of the website.
Level
Intermediate
Duration
1 Hours 30 MinutesCourse Objectives
In this course, you will learn how to:
- Create a multi-stack CDK application
- Create a Amazon DynamoDB table programmatically
- Create and deploy a Lambda function
- Create and deploy a Lambda Rest API
- Create and deploy a static website exposed via a CloudFront distribution
Intended Audience
This course is intended for:
- Developers
Prerequisites
We recommend that attendees of this course have the following prerequisites:
- None
Course Outline
- Task 1: CDK Setup
- Task 2: Create the DynamoDB stack
- Task 3: Create an AWS Lambda function and an Amazon API Gateway endpoint stack
- Task 4: Create the static website stack (Custom Resource)