AWS-Logo_White-Color
1.
Introduction
2.
Preparation
2.1
Infrastructure Configuration
2.2
Create CodeDeploy Role
2.3
Add Subnet
2.4
Configure NAT Gateway
2.5
Configure Route Table
2.6
Configure Security Group
3.
Prepare for Deployment
3.1.
Push image to ECR
3.2.
Push image to Dockerhub
4.
Register namespace in Cloud Map
5.
Create ECS Cluster
6.
Create ECS Task Definition
6.1.
Backend task definition
6.2.
Frontend task definition
7.
Configure Application Load Balancer
7.1.
Create Target Group
7.2.
Create Application Load Balancer
8.
Create ECS Service
8.1.
Blue/Green Deployment and Service Scaling with Backend
8.2.
Deploy Rolling with Frontend
9.
Test Result
10.
Clean Up Resources
More
AWS Study Group - Blog
AWS Study Group - FB Group
English
Tiếng Việt
Clear History
Authors
Hoàng Kha
Anh Tuấn
Nhật Phương
Anh Đức
Hoàng Việt
Workshop
Cloud Journey
Last Updated
20-01-2025
Team
Gia Hưng
Deploy applications on Amazon Elastic Container Service
>
Preparation
> Create CodeDeploy Role
Create CodeDeploy Role
Create CodeDeploy Role
Search for and select
IAM
.
Select
Roles
Click
Create role
In the use case section, choose:
Service or use case:
CodeDeploy
Select
CodeDeploy - ECS
Click
Next
Click
Next
Role name:
CodeDeployServiceRole
Click
Create role