Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

AWS CodePipeline Step by Step

AWS CodePipeline Hướng dẫn Từng Bước

AWS CodePipeline Hướng dẫn Từng Bước

Học AWS CodePipeline với GitHub, CodeBuild, CodeDeploy và DevOps-CI/CD trên AWS từ một chuyên gia được AWS chứng nhận!

4.7
(1,949 đánh giá)
13,252 học viên
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
11.0 giờ video
72 bài giảng
5 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Tạo các pipeline CI/CD bằng AWS CodePipeline để tự động hóa quá trình triển khai lên Amazon EC2, ECS và S3.
Sử dụng kho lưu trữ GitHub, AWS CodeBuild, AWS CodeDeploy cùng với AWS CodePipeline.
Tìm hiểu các phương pháp triển khai CodeDeploy: in-place all-at-once, rolling và blue-green cùng với EC2 auto scaling và cân bằng tải.
Xây dựng Docker image với CodeBuild và triển khai chúng lên ECS dưới dạng rolling deployments bằng CodePipeline.
Sử dụng AWS CloudFormation với AWS CodePipeline để tự động tạo và xóa stack trong mỗi lần thực thi.
Cấu hình hành động phê duyệt thủ công và thông báo pipeline trên các pipeline của bạn.
Xem nhật ký build của AWS CodeBuild và nhật ký triển khai của AWS CodeDeploy.
Hiểu chi tiết cách thức hoạt động của AWS CodePipeline.

Yêu cầu

Kiến thức AWS ở trình độ trung cấp. Khuyến nghị có kinh nghiệm thực hành triển khai thủ công trên AWS.
Kiến thức Git cơ bản và kinh nghiệm sử dụng lệnh Git từ dòng lệnh.
Một tài khoản AWS mà bạn có quyền quản trị viên. Nên sử dụng tài khoản đủ điều kiện dùng free-tier. Tuy nhiên có thể phát sinh một chút chi phí khi làm các ví dụ.
Không bắt buộc, nhưng kiến thức YAML cơ bản được khuyến nghị cho một số bài giảng về CodeBuild và CodeDeploy.
Chúng tôi sử dụng các instance Linux trong ví dụ. Do đó, kiến thức Linux cơ bản được khuyến nghị.
Một tài khoản GitHub để tạo kho lưu trữ Git riêng tư kích hoạt pipeline.

Đối tượng phù hợp

Dành cho nhà phát triển, quản trị hệ thống hoặc bất kỳ ai đam mê AWS muốn học AWS CodePipeline để tạo quy trình làm việc CI/CD.
Dành cho nhà phát triển, quản trị hệ thống hoặc bất kỳ ai đam mê AWS thường triển khai lên Amazon EC2 hoặc S3 và muốn thay thế quy trình triển khai thủ công bằng tự động hóa trên AWS để tránh lỗi do con người.
Dành cho nhà phát triển, quản trị hệ thống hoặc bất kỳ ai đam mê AWS muốn giảm thiểu lỗi triển khai trên AWS.

Nội dung khóa học

7 phần • 70 bài giảng
1 Giới thiệu Khóa học
2 AWS CodePipeline là gì?
3 AWS Region được sử dụng trong khóa học
4 Tạo Pipeline Đầu tiên của Bạn giữa các Bucket S3
5 Kích hoạt Pipeline bằng cách Cập nhật Nguồn
6 Xem Chi tiết Pipeline và Lịch sử Thực thi
7 Chỉnh sửa Pipeline & Kích hoạt Thủ công
8 Xóa Pipeline của Bạn
1 Thay thế AWS CodeCommit bằng GitHub
2 Giới thiệu Ngắn gọn về Git trên CodePipeline
3 Kết nối Tài khoản GitHub của Bạn với AWS Developer Tools
4 Tạo một Pipeline từ Kho lưu trữ GitHub của Bạn
5 Kích hoạt Pipeline của Bạn bằng Git Push (GitHub)
6 Lưu ý về Các Ví dụ Thực hành sau Phần 2
1 Giới thiệu Phần 3
2 AWS CodeBuild là gì?
3 Chuẩn bị Kho lưu trữ & Bucket Triển khai cho Pipeline Mới
4 Tạo một Pipeline với Giai đoạn Build
5 Tạo Tệp Buildspec cho Quá trình Build
6 Vòng đời của một Build
7 Xem Nhật ký khi Build Thất bại
8 Tại sao cần Kiểm tra Tự động trong Pipeline?
9 Thêm Hành động Kiểm tra với CodeBuild
1 Giới thiệu Phần 4
2 AWS CodeDeploy là gì?
3 Tạo IAM Role cho EC2 Instances để Triển khai
4 Cấu hình một EC2 Instance cho AWS CodeDeploy
5 Tạo CodeDeploy Deployment Group cho các EC2 Instances được Gắn Tag
6 Thêm Hành động Triển khai CodeDeploy vào Pipeline của Bạn
7 Tạo Tệp Appspec cho Triển khai lên EC2 Instances
8 Vòng đời Triển khai lên EC2 Instances Không có Load Balancer
9 Xem Nhật ký Triển khai trên EC2 Instance của Bạn
10 Truyền Nhật ký Triển khai đến CloudWatch Logs
11 Tạo Deployment Group với Auto Scaling & Cân bằng Tải
12 Triển khai In-Place All-At-Once với Auto Scaling & Cân bằng Tải
13 Điều gì xảy ra nếu Auto Scaling Group của Bạn Mở rộng?
14 Triển khai In-Place Rolling với Auto Scaling & Cân bằng Tải
15 Rollback Tự động khi Triển khai In-Place Rolling Thất bại
16 Triển khai Blue-Green với Auto Scaling & Cân bằng Tải
17 Điều gì xảy ra nếu Triển khai Blue-Green Thất bại?
1 Giới thiệu Phần 5
2 Thêm Hành động Triển khai CloudFormation vào Pipeline của Bạn
3 Thêm Hành động Triển khai CodeDeploy cho Môi trường Staging
4 Thêm Hành động Phê duyệt Thủ công vào Pipeline của Bạn
5 Sử dụng Biến Hành động trên Pipeline của Bạn
6 Thêm Hành động Xóa Stack CloudFormation vào Pipeline của Bạn
7 Chế độ Thực thi Pipeline
8 Các Lần Thực thi Pipeline bị Thay thế
9 Tạo Quy tắc Thông báo trên Pipeline của Bạn
1 Giới thiệu Phần 6
2 Giới thiệu về Docker & Amazon ECS cho AWS CodePipeline
3 Tạo Buildspec CodeBuild để Build Docker
4 Tạo Pipeline để Build Docker Image của Bạn
5 Biến Môi trường Secrets Manager trên AWS CodeBuild
6 Biến Môi trường Parameter Store trên AWS CodeBuild
7 Đẩy Docker Images lên Amazon ECR với AWS CodeBuild
8 Tạo Task Definition cho Docker Image của Bạn
9 Tạo ECS Cluster cho Dịch vụ của Bạn
10 Tạo ECS Service trên Fargate để Triển khai Rolling
11 Thêm Hành động Triển khai Amazon ECS Standard vào Pipeline của Bạn
12 Gắn Tag cho Docker Images với Commit ID
13 Sử dụng ECR Public Gallery trong Quá trình Build Docker
14 Điều gì xảy ra nếu Triển khai ECS Rolling Thất bại?
15 Bật Rollback Tự động cho Triển khai ECS Rolling
16 Số lượng Task Tối thiểu & Tối đa trong Triển khai ECS Rolling
17 QUAN TRỌNG! Kiểm tra Kích thước Trước các Ví dụ về ASG Capacity Provider
18 Tạo ECS Services trên ASG Capacity Providers để Triển khai Rolling
19 Triển khai ECS Rolling trên Auto Scaling Group Capacity Providers
1 Tổng kết Khóa học
2 Bài giảng Thêm: Tham gia Các Khóa học Khác của Tôi!

Giới thiệu khóa học

August 2024 Update: Because AWS CodeCommit was deprecated by AWS, we replaced it with GitHub in Sections 2 and 3!


Would you like to automate your software deployment process on AWS?

Welcome to learn how to create CI/CD pipelines with AWS CodePipeline and automate your deployments to S3, EC2, and ECS from a senior AWS-certified DevOps engineer. You will learn with hands-on examples and detailed explanations!

In this course, you will learn AWS CodePipeline step by step:

  • Begin with AWS CodePipeline basics by creating a pipeline between two Amazon S3 buckets as the source and deploy locations.

  • Trigger your pipelines on CodePipeline using GitHub repositories and Git pushes.


  • Build and test your code automatically with AWS CodeBuild in each pipeline execution. Understand how Code Build works with AWS CodePipeline.

  • Integrate AWS CodeDeploy with AWS CodePipeline to deploy to Amazon EC2 instances. You will start with a single instance and proceed with multiple instances behind auto-scaling and load balancing. You will also learn different AWS Code Deploy deployment types and configurations, such as in-place rolling and blue-green.

  • Use AWS CloudFormation with AWS CodePipeline to create and delete stacks automatically in each pipeline execution. You will also learn to define manual approval actions and configure pipeline notifications.


  • Learn to build your Docker images with AWS CodeBuild and AWS CodePipeline and deploy them to Amazon ECR or Docker Hub automatically. Deploy your Docker containers to Amazon ECS as rolling deployments using the direct integration of AWS Code Pipeline with Amazon ECS.

  • You will also learn how to check your build and deployment logs in case of failures with examples.


What will you achieve after this course?

✓ You will understand how AWS CodePipeline works in detail.

✓ You will be able to create pipelines on CodePipeline triggered from private GitHub repositories.

✓ You will be able to use AWS Code Pipeline with other AWS developer tools, AWS CodeBuild, and AWS CodeDeploy, to create your CI/CD pipelines.

✓ You will be able to replace your manual deployment processes with automation to avoid human errors and minimize deployment failures.

✓ You will be able to apply one of the core practices of DevOps, Continuous Integration / Continuous Deployment / Continuous Delivery, in your projects on AWS.


Why learn from me?

✓ AWS verified my knowledge and experience at the top level. I am a senior AWS consultant holding AWS Certified Solutions Architect - Professional and AWS Certified DevOps Engineer - Professional certifications in addition to three core Associate-level AWS certificates.

✓ I have a software engineering background, a BS degree in Computer Engineering, and more than 17 years of professional experience in corporates and startups.

✓ I have been using AWS since 2013. I have built dozens of CI/CD pipelines on AWS using AWS Code Pipeline, AWS CodeBuild, and AWS CodeDeploy for my clients and projects.

✓ I learned by doing, and I teach both theory and practice according to the AWS best practices. I explain the features with hands-on examples and why to use them with advantages and disadvantages. So you will benefit from my experience as well as my knowledge.


Is this course for you?

  • I designed this course for beginners to AWS CodePipeline and assume that you have no or little experience in it.

  • This course is not for beginners of AWS. You should have intermediate-level AWS knowledge of core services.

  • Although I provide hands-on examples during the lectures, you should have basic Git knowledge and experience using Git commands from the command line.

  • I mostly use a basic Angular application in our practices, but you do not need to know Angular for them. We focus on AWS CodePipeline, not on any particular programming language or framework. The techniques taught in this course also apply to others.


I recommend you watch the free previews before enrolling.

Join this course and start learning AWS CodePipeline step by step with hands-on examples!

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Aws
Hiển thị tất cả khoá học Cloud Computing
Hiển thị tất cả khoá học Devops
Hiển thị tất cả khoá học Docker
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊