Example of a Continuous Deliver pipeline with CodePipeline and CodeDeploy

Creating a simple Continuous Delivery pipeline allowing you to push changes from your GitHub repository to your EC2 Instances.

Services

The following AWS services are used to create a Continuous Delivery pipeline.

  • CodePipeline
  • CodeDeploy
  • CloudFormation
  • EC2
  • S3
  • IAM

Setup

Fork this repository.

Use the ./setup.sh script to create a Continuous Delivery pipeline.

Note: The script will create a CloudFormation stack which launches an EC2 instance into the default VPC of your default region.

The script will ask you for:

It might take a few minutes until the CodePipeline job has finished and the EC2 Instance is able to answer your HTTP request.