In this lab, you’ll create an online application microservice for an event ticket company. New tickets sales are processed by this microservice, which has an API Gateway as the entry point. An Amazon SQS queue temporarily stores incoming messages and a containers auto-scale group retrieves and processes the messages. Each message processed creates a PDF document ticket and uses an Amazon S3 bucket to persistently store the documents. Finally, the message information is stored in an Amazon DynamoDB table along with the ticket object S3 URL.
Level
Intermediate
Duration
1 Hours 30 MinutesCourse Objectives
In this course, you will learn how to:
- Deploy an API Gateway and forward request's body to an SQS queue
Build a Docker image and push it the a ECR repository
Create an autoscalable ECS Service using Fargate
Intended Audience
This course is intended for:
- Architects
- Developers
- Systems Operators
Prerequisites
We recommend that attendees of this course have the following prerequisites:
- Familiar with basic navigation of the AWS Management Console
- Comfortable editing scripts using a text editor
Course Outline
- Task 1: SQS queue
- Task 2: Create API Gateway
- Task 3: Build the Docker image and push to an ECR repository
- Task 4: Create CloudWatch alarms
- Task 5: Create ECS Cluster
- Task 6: Create ECS Task definition
- Task 7: Create ECS Service
- Task 8: Test the app