Deploy now
Quick Start architecture for CI/CD pipeline for Windows on the AWS Cloud

To set up your CI/CD pipeline for Windows in about 30 minutes on AWS, view the Quick Start deployment guide.

For additional Quick Starts, see the complete catalog.

This Quick Start automatically deploys a continuous integration / continuous delivery (CI/CD) pipeline on AWS.

It uses standard Microsoft Windows technologies such as Microsoft Build Engine (MSBuild), Internet Information Services (IIS), Windows PowerShell, and .NET Framework in combination with the Jenkins CI tool and AWS services to deploy and demonstrate the CI/CD pipeline.

The AWS services for CI/CD include AWS CodePipeline, which is a CI orchestration service, and AWS CodeDeploy, which automates code deployments to Amazon Elastic Compute Cloud (Amazon EC2) instances.

You can use the Quick Start to integrate your own code push, build, and deploy pipeline with AWS services. You can also use the ASP.NET sample application provided with the Quick Start to see an automated end-to-end CI release deployed to AWS CodeDeploy servers that are running IIS.

  • What you'll build

    Use this Quick Start to set up the following CI/CD environment on AWS:

    • A highly available AWS architecture that spans two Availability Zones. Each Availability Zone includes a virtual private cloud (VPC) with public and private subnets, and supports remote administration.
    • The public subnets include Remote Desktop (RD) gateways and NAT gateways (or NAT instances) for outbound Internet access.
    • The private subnet in the first Availability Zone hosts an MSBuild server with Jenkins installed, and a Windows Server instance with IIS and AWS CodeDeploy installed. The servers are bootstrapped from scratch using the base Amazon Machine Image (AMI) for Microsoft Windows Server 2012 R2.
    • The Quick Start optionally deploys Amazon Relational Database Service (Amazon RDS) for SQL Server for the sample application. You can also choose to deploy a second AWS CodeDeploy server for load balancing and rolling upgrades.

      To test the pipeline, you can use the two-tier ASP.NET sample application provided with the Quick Start or your own .NET application.

    For details, see the Quick Start deployment guide.

  • Deployment details

    Build your CI/CD pipeline for Windows on AWS:

    1. If you don't already have an AWS account, sign up for one at
    2. Set up an S3 bucket with versioning enabled to store the source code.
    3. Launch the Quick Start. The deployment takes about 30 minutes.
    4. Validate that the pipeline ran end to end by monitoring the AWS CodePipeline console and the Jenkins dashboard.
    5. Modify the sample source code and deploy a new release.
    6. Clean up resources.

    Customization options include instance types, inclusion of the sample app, number of AWS CodeDeploy servers, VPC configuration, and options for Jenkins, AWS CodeDeploy, and AWS CodePipeline.  

    For detailed instructions, see the Quick Start deployment guide.

  • Cost and licenses

    You are responsible for the cost of the AWS services used while running this Quick Start reference deployment. There is no additional cost for using the Quick Start. As of the date of publication, the cost for using the Quick Start with default settings is approximately $0.75 an hour. Prices are subject to change. You can optionally deploy a smaller configuration that would cost $0.50 an hour but would not include the sample application. See the pricing pages for each AWS service you will be using in this Quick Start for full details.

    This Quick Start launches the Amazon Machine Image (AMI) for Windows Server 2012 R2 and includes the license for the Windows operating system. The AMI is updated on a regular basis with the latest service pack for the operating system, so you don’t have to install any updates. The rest of the software deployed by the Quick Start is available as open source under the MIT license.