reference deployment

Serverless CI/CD for the Enterprise on AWS

Dynamic, enterprise-ready CI/CD environment for serverless application deployments

This Quick Start builds a serverless CI/CD (continuous integration and continuous delivery) environment on the Amazon Web Services (AWS) Cloud, to provide an enterprise-ready, dynamic deployment pipeline for your serverless applications.

The Quick Start uses several AWS services to enable multiple development teams within an organization to collaborate securely and efficiently on serverless application deployments. For example, AWS services such as Amazon Simple Storage Service (Amazon S3), AWS Secrets Manager, AWS CodeCommit, AWS CodeBuild, and AWS CodeDeploy provide artifact storage, parameter management, automated testing, builds, deployment, and change management for serverless applications across multiple AWS accounts. Enterprises can augment the basic pipeline with additional deployment, testing, or approval steps based on their requirements.

The Quick Start includes AWS CloudFormation templates that set up the CI/CD environment in about 20 minutes.

trek10_logo_qs

This Quick Start was developed by Trek10 in collaboration with AWS. Trek10 is an APN Partner.

  •  What you'll build
  •  How to deploy
  •  Cost and licenses
  •  Resources
  •  What you'll build
  • This Quick Start follows AWS multi-account best practices for isolation of resources. After you prepare separate AWS accounts for development, production, and shared services, use this Quick Start to set up the following:

    • AWS Identity and Access Management (IAM) users, roles, and groups in your AWS development, production, and shared services accounts to control access to pipeline actions and deployed resources.
    • Dynamic branch pipelines for deploying and testing new feature code in Git branches, using AWS CodePipeline.
    • A master code pipeline that deploys to multiple AWS accounts, using AWS CodePipeline.
    • An AWS CodeCommit repository for storing application code.
    • Amazon Simple Storage Service (Amazon S3) buckets for pipeline artifacts.
    • AWS Secrets Manager to store sensitive configuration data in a central location.
    • AWS CodeBuild and AWS CodeDeploy configurations for building, deploying, and testing serverless applications.
    • A sample serverless application that uses AWS Lambda, Amazon API Gateway, and Amazon DynamoDB.
    • Integration with other Amazon services such as AWS Lambda, AWS Key Management Service (AWS KMS), and Amazon Simple Notification Service (Amazon SNS).
  •  How to deploy
  • To deploy the serverless CI/CD environment, follow the instructions in the deployment guide. The deployment process includes these steps:

    1. If you don't already have an AWS account, sign up at https://aws.amazon.com, and set up sub-accounts for development, production, and shared services.
    2. In the development and production accounts, launch the AWS CloudFormation template that sets up cross-account access. Each deployment takes about 2 minutes.
    3. Sign in to the shared services account, and launch the template to deploy resources. This deployment takes 10-15 minutes.
    4. Test the deployment by starting a CI/CD pipeline. You can use the sample application that's included with the Quick Start.
  •  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.

    The AWS CloudFormation template for this Quick Start includes configuration parameters that you can customize. Some of these settings, such as instance type, will affect the cost of deployment. See the pricing pages for each AWS service you will be using for cost estimates. Prices are subject to change.

    Tip   After you deploy the Quick Start, we recommend that you enable the AWS Cost and Usage Report to track costs associated with the Quick Start. This report delivers billing metrics to an S3 bucket in your account. It provides cost estimates based on usage throughout each month, and finalizes the data at the end of the month. For more information about the report, see the AWS documentation.
  •  Resources
  • This Quick Start reference deployment is related to a solution featured in Solution Space that includes a solution brief, optional consulting offers crafted by AWS Competency Partners, and AWS co-investment in proof-of-concept (PoC) projects. To learn more about these resources, visit Solution Space.