AWS CodePipeline Step by Step
4.8 (6 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
50 students enrolled

AWS CodePipeline Step by Step

Learn AWS CodePipeline with CodeCommit, CodeBuild & CodeDeploy from an AWS certified expert in detail with examples!
Hot & New
4.8 (6 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
50 students enrolled
Current price: $69.99 Original price: $99.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 6.5 hours on-demand video
  • 2 articles
  • 38 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Creating CI/CD pipelines using AWS CodePipeline to automate your deployments to Amazon EC2 and S3.
  • Using CodeCommit, CodeBuild, CodeDeploy with CodePipeline on AWS.
  • Using AWS CloudFormation with CodePipeline to create and delete stacks automatically in each execution.
  • Configuring manual approval actions and pipeline notifications on your pipelines.
  • Viewing CodeBuild build logs and CodeDeploy deployment logs.
  • CodeDeploy in-place all-at-once, rolling and blue-green deployments with EC2 auto scaling and load balancing.
  • How AWS CodePipeline works in detail.
Course content
Expand all 50 lectures 06:35:50
+ Introduction - AWS CodePipeline Basics
8 lectures 54:37

Meet the course instructor, Emre Yilmaz, and learn what will be covered in each section of the course briefly.

Preview 02:41

An introduction to CI/CD and AWS CodePipeline concepts.

Preview 06:44

Learn which AWS region you should use while doing the examples.

AWS Region Used in the Course
00:13

Meet with AWS CodePipeline Console and create your first pipeline between two Amazon S3 buckets as the source and deploy locations.

We use a simple static website content as an example.

Preview 14:44

Learn how to trigger your pipeline by uploading a new version of your website to the source S3 bucket.

Triggering Your Pipeline by Updating Your Source
05:58

Learn how to view pipeline details and execution history on AWS Management Console.

Viewing Your Pipeline Details and Execution History
08:05

Learn how to edit your pipeline by adding a new deploy action to the deploy stage. Learn how to release a change manually from AWS Management Console.

Editing Your Pipeline and Triggering Manually
08:39

Learn how to delete your pipeline and associated AWS resources created with it.

Deleting Your Pipeline
07:33
+ Using AWS CodeCommit Repositories as Source Locations
8 lectures 45:12

Learn what will be covered in Section 2.

Section 2 Introduction
01:12

An introduction to Git and how it is used with AWS CodePipeline.

Introduction to Git on AWS CodePipeline
05:03

An introduction to AWS CodeCommit, private Git repository service of AWS, and how it is used with AWS CodePipeline.

What is AWS CodeCommit?
04:16

Learn how to create an AWS CodeCommit repository.

Creating Your First AWS CodeCommit Repository
07:34

Learn how to connect to an AWS CodeCommit repository using HTTPS.

We initialize a local git repository, add our CodeCommit repository as a remote repository and push our content.

Connecting to Your CodeCommit Repository via HTTPS
09:14

Learn how to create a pipeline triggered from your AWS CodeCommit repository.

Creating a Pipeline From Your CodeCommit Repository
08:07

Learn how to trigger your pipeline by updating your source code and pushing your changes to your CodeCommit repository using Git commands.

Triggering Your Pipeline Using Git Commands
04:11

Learn how to edit your files on CodeCommit Console and create commits to trigger your pipeline. It is an alternative to using git commands.

Editing Files in Your Repository Using CodeCommit Console
05:35
+ Building Your Code With AWS CodeBuild
8 lectures 01:14:37

Learn what will be covered in Section 3.

Section 3 Introduction
01:04

An introduction to AWS CodeBuild and its concepts as well as how it is used with CodePipeline.

What is AWS CodeBuild?
07:22

Learn how to add a build stage to your pipeline with AWS CodeBuild.

Creating a Pipeline with a Build Stage
14:25

Learn how to provide your build specification and commands with your source code. We use a basic single-page application developed with Angular 9 and Bootstrap 4.

Creating a Buildspec File for Your Builds
13:48

A deep dive into the lifecycle of a build project on AWS CodeBuild.

The Lifecycle of a Build
06:20

Learn how to view your build logs on AWS CodeBuild.

Viewing Logs on Build Failures
11:23

Learn why you should have automated tests on your CI/CD pipelines.

Why Need Automated Tests in Your Pipelines?
06:40

Learn how to add a test action to your pipeline using CodeBuild and how to provide your test commands with your source code. We use Angular's unit test commands as an example.

Adding a Test Action with CodeBuild
13:35
+ Deploying to EC2 Instances With AWS CodeDeploy
16 lectures 02:30:55

Learn what will be covered in Section 4.

Section 4 Introduction
01:48

An introduction to AWS CodeDeploy and its concepts as well as how it is used with AWS CodePipeline.

What is AWS CodeDeploy?
06:58

Learn how to configure an Amazon EC2 instance for CodeDeploy deployments. We use an Amazon Linux 2 instance as an example.

Configuring an EC2 Instance for CodeDeploy Deployments
13:34

Learn how to create a CodeDeploy application and a deployment group for tagged EC2 instances.

Creating an Application and a Deployment Group for Tagged EC2 Instances
08:39

Learn how to add a CodeDeploy action to your pipeline.

Adding a CodeDeploy Deploy Action to Your Pipeline
03:23

Learn how to provide your deployment scripts and configurations with your source code.

Creating an Appspec File for Deployments to EC2 Instances
16:02

A deep dive into deployment lifecycle for EC2 instances on AWS CodeDeploy.

The Deployment Lifecycle to EC2 Instances Without a Load Balancer
07:18

Learn how to view AWS CodeDeploy deployment logs on your Amazon EC2 instance.

Viewing Deployment Logs on Your EC2 Instance
05:05

Learn how to stream your CodeDeploy deployment logs from your EC2 instance to Amazon CloudWatch Logs.

Streaming Deployment Logs to CloudWatch Logs
10:48

Learn how to create a deployment group for an EC2 auto scaling group behind an application load balancer.

Creating a Deployment Group With Auto Scaling and Load Balancing
13:57

Learn how in-place all-at-once deployments work with auto scaling and load balancing, understand their disadvantages.

In-Place All-At-Once Deployments With Auto Scaling & Load Balancing
08:09

Learn how your EC2 auto scaling group works with CodeDeploy if you increase your fleet capacity and it launches a new EC2 instance.

What If Your Auto Scaling Group Scales Out?
05:53

Learn how in-place rolling deployments work with its advantages and disadvantages.

Understand what can happen when there are two versions online with the help of our sample Angular application.

In-Place Rolling Deployments With Auto Scaling & Load Balancing
12:53

Learn how automated rollbacks work with in-place rolling deployments in case of a deployment failure. Understand the advantages and disadvantages with the help of our sample Angular application.

Automated Rollbacks on In-Place Rolling Deployment Failures
11:25

Learn what CodeDeploy blue-green deployments are and how they work with auto scaling and load balancing.

Blue-Green Deployments With Auto Scaling & Load Balancing
15:13

Learn what happens in case of CodeDeploy blue-green deployment failures on auto scaling groups.

What If Your Blue-Green Deployment Fails?
09:50
+ CloudFormation Deploy Actions, Manual Approvals and Notifications
8 lectures 01:08:55

Learn what will be covered in Section 5.

Section 5 Introduction
01:17

Learn how to add an AWS CloudFormation deploy action to your pipeline to create a stack automatically in each execution. Understand different CloudFormation action options.

We make an example to create a staging environment automatically.

Adding a CloudFormation Deploy Action to Your Pipeline
12:37

In this lecture, we add a deploy action to our pipeline to deploy our application revisions to the staging instance created by the CloudFormation deploy action.

Adding a CodeDeploy Deploy Action for Staging
10:48

Learn how to add a manual approval action to your pipelines between staging and production deployments and where to place it.

Adding a Manual Approval Action to Your Pipeline
09:57

Learn how to use action variable namespaces and variables on your pipeline.

We make an example to get the DNS name of the instance created by the CloudFormation deploy action dynamically in the manual approval action.

Using Action Variables on Your Pipeline
10:00

Learn how to add a CloudFormation action to your pipeline to delete a stack automatically.

As an example, we add a delete stack action for the staging stack created by the previous CloudFormation deploy action, and place it after the manual approval

Adding a CloudFormation Delete Stack Action to Your Pipeline
06:16

A deep dive into superseeded pipeline executions by triggering three concurrent executions on our pipeline.

Superseded Pipeline Executions
10:52

Learn how to configure pipeline notifications by creating a notification rule on your pipeline. We use an existing SNS topic as an example.

Creating Notification Rules on Your Pipeline
07:08
+ Conclusion
2 lectures 01:33

Congratulations for finishing the course!

Course Conclusion
00:45

Bonus lecture introducing you to my other courses on Udemy.

Bonus
00:48
Requirements
  • Intermediate-level AWS knowledge. It is recommended to have hands-on experience in manual deployments on AWS.
  • Basic Git knowledge and experience in using Git commands from the command line.
  • An AWS account which you have administrator privileges. Using an AWS free-tier eligible one is recommended. But there may be slight costs while doing the examples.
  • Not required, but basic YAML knowledge is recommended for some CodeBuild and CodeDeploy lectures.
  • We use Linux instances in examples. Hence, basic Linux knowledge is recommended.
Description

Would you like to learn AWS CodePipeline to build your own CI/CD pipelines on AWS?

Then, welcome to learn AWS CodePipeline from a senior AWS architect with hands-on examples and detailed explanations!

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

  • In the first section, you will learn CodePipeline basics by creating a pipeline between 2 Amazon S3 buckets as the source and deploy locations.


  • In Section 2, you will learn how to use AWS CodeCommit with CodePipeline as well as Git commands to trigger your pipelines. You will start using CodeCommit repositories to host your source code.

  • In Section 3, you will learn how to use AWS CodeBuild with CodePipeline to build and test your code automatically in each pipeline execution. But you will still use Amazon S3 as the deploy location.

  • In Section 4, you will learn how to use CodeDeploy with 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 CodeDeploy deployment types and configurations such as in-place rolling and blue-green.

  • In Section 5, you will learn how to use AWS CloudFormation with CodePipeline to create and delete stacks automatically in each pipeline execution. Besides, you will learn how to define manual approval actions and configure pipeline notifications on your pipelines.

  • 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 use AWS CodePipeline with other AWS developer tools to create your CI/CD pipelines on AWS.

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


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 as well as all 3 Associate-level AWS certificates.

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

✓ I have been using AWS for more than seven years. Until now, I built dozens of CI/CD pipelines on AWS using CodePipeline, CodeCommit, CodeBuild, and CodeDeploy for my clients and projects.

✓ I learned by doing and teach both theory and practice according to the AWS best practices. I explain the features with hands-on examples and also why to use them with their 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 to AWS. You should have intermediate-level AWS knowledge around core services.


  • Although I do the lectures with hands-on examples, you should have basic Git knowledge and experience in 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 keep our focus on CodePipeline, not on any particular programming language or framework. The techniques I teach in this course apply to others well.


I recommend you watch the free previews before enrolling in the course.

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

Thank you!


Emre Yilmaz

AWS Certified Solutions Architect - Professional

AWS Certified DevOps Engineer - Professional

AWS Certified Solutions Architect - Associate

AWS Certified SysOps Administrator - Associate

AWS Certified Developer - Associate

Who this course is for:
  • Developers, system administrators or any AWS enthusiasts who would like to learn AWS CodePipeline to create their CI/CD workflows.
  • Developers, system administrators or any AWS enthusiasts who deploy to Amazon EC2 or S3 and who would like to replace manual deployment processes with automation on AWS in order to avoid human errors.
  • Developers, system administrators or any AWS enthusiasts who would like to minimize deployment failures on AWS.