AWS-Logo_White-Color
1.
Introduction
2.
Preparation Steps
2.1
Creating an Infrastructure Project with AWS CDK
2.2
Creating a Spring Boot Project
2.3
Setting Up IntelliJ IDEA
2.4
Create Dockerfile and Generate Docker Image
2.5
Run Docker Image on Local Machine
3.
Create AWS ECR Image Repository using AWS CDK
3.1
Create First CloudFormation Stack
3.2
Organize CDK Stack in CDK Project
3.3
Deploy Stack to AWS ECR
3.4
Push Docker image to ECR
4.
Create VPC and NAT Gateway using AWS CDK
4.1
Create VPC and Nat Gateway
4.2
Organize and Deploy VPC Stack using AWS CDK
5.
Create ECS using AWS CDK
5.1
Create ECS Cluster
5.2
Create Network Load Balancer
5.3
Create VPC Link
5.4
Create Application Load Balancer
5.5
Organize and Deploy NLB Stack
6.
Create ECS Service with CDK
6.1
Create a New Stack for Product Service
6.2
Create ECS Task Definition
6.3
Create Service Log Driver
6.4
Add Container Service to Task Definition
6.5
Add Listener to Application Load Balancer
6.6
Create AWS Fargate Service
6.7
Configure AWS ALB Target Group and Health Check Mechanism
6.8
Configure AWS Network Load Balancer
6.9
Organize and Deploy Stack
7.
Create API Gateway with CDK
7.1
Create API Gateway Resource
7.2
Create Product Resource and First Method
7.3
Tổ chức Stack
8.
Create DynamoDB Table 'products' using AWS CDK
8.1
Create DynamoDB with CDK
8.2
Create REST operation to create a new Product
8.3
Create REST Operation to Update Product by ID
8.4
Create REST Operation to GET Product by ID
8.5
Create REST Operation to DELETE Product by ID
8.6
Configure DynamoDB
8.7
Create Product Repository
8.8
Create Controller
8.9
Perform Deployment for Testing
9.
Instrumenting AWS ECS Service with AWS X-Ray
9.1
Preparing Productsservice Spring Boot for AWS X-Ray Usage
9.2
Creating X-Ray Inspector
9.3
Adding X-Ray Sidecar to ProductsServices Task Definition
9.4
Testing the implementation
10.
Cleanup Resources
More
AWS Study Group - Blog
AWS Study Group - FB Group
English
Tiếng Việt
Clear History
Workshop
Cloud Journey
Last Updated
26-11-2023
Team
Gia Hưng
Deploy Spring Boot applications onto AWS ECS Fargate using AWS CDK.
> Cleanup Resources
Cleanup Resources
Cleanup Resources
To delete resources, use the following command:
cdk deploy --all --require-approval never