Skip to main content
TUTORIAL

Create Continuous Delivery Pipeline

Set up a Git repo, deploy a sample web app, and create a continuous delivery pipeline

Introduction

Overview

In this tutorial, you will create a continuous delivery pipeline for a simple web application. You will first use a version control system to store your source code. Then, you will learn how to create a continuous delivery pipeline that will automatically deploy your web application whenever your source code is updated.

What you will accomplish

This tutorial will walk you through the steps to create the continuous delivery pipeline discussed above. You will learn to:

  • Set up a GitHub repository for the application code

  • Create an AWS Elastic Beanstalk environment to deploy the application

  • Configure AWS CodeBuild to build the source code from GitHub

  • Use AWS CodePipeline to set up the continuous delivery pipeline with source, build, and deploy stages

Prerequisites

Before starting this tutorial, you will need:

  • An AWS account

  • A GitHub account

  • Git installed on your computer

Implementation

Beginner

35 minutes

Free Tier eligible

August 18, 2023

Application architecture

The following diagram provides a visual representation of the services used in this tutorial and how they are connected. This application uses GitHub, AWS Elastic Beanstalk, AWS CodeBuild, and AWS CodePipeline.

As we go through the tutorial, we will discuss the services in detail and point to resources that will help you get up to speed with them.

Missing alt text value

Modules

This tutorial is divided into five short modules. You must complete each module in order before moving on to the next one.

  1. Set Up Git Repo (5 minutes): Set up a GitHub repository to store the application code.

  2. Deploy Web App (10 minutes): Create the environment where the web application will be deployed using AWS Elastic Beanstalk.

  3. Create Build Project (5 minutes): Configure and start the build process for the application using AWS CodeBuild.

  4. Create Delivery Pipeline (10 minutes): Create a pipeline to automatically build and deploy the application using AWS CodePipeline.

  5. Finalize Pipeline and Test (5 minutes): Add a review stage to the pipeline and test the pipeline.

Set Up Git Repo

Start Module One