Menu
AWS Service Catalog Validation Pipeline
AWS Service Catalog Validation Pipeline

Overview

AWS Service Catalog allows companies to centrally manage commonly deployed IT services, helping to achieve consistent governance and meet compliance requirements. With AWS Service Catalog, you can control which products are available to your end users, enabling them to quickly deploy only the approved services and versions they need. A product can comprise one or more AWS resources, such as a single compute instance running AWS Linux, a fully configured multi-tier web application running in its own environment, or anything in between.

When creating a new product in an AWS Service Catalog portfolio, companies most commonly import an AWS CloudFormation template that defines the AWS resources required for the product, relationships between resources, and customizable parameters. To provision a product, end users launch the applicable AWS CloudFormation stack. AWS CloudFormation stacks make it easier to manage a product’s lifecycle and updates as a single unit, however some companies rely on manual processes to validate their product templates, which can lead to inconsistencies and wasted time.

To help customers more easily and more reliably create and manage their AWS Service Catalog products, AWS offers the AWS Service Catalog Validation Pipeline solution. This reference implementation uses AWS Developer Tools to build a pipeline that integrates DevOps best practices for continuous integration and automatic testing of new and updated product templates. The solution uses AWS CloudFormation to automatically provision and configure the necessary services, including AWS CodePipeline and AWS Lambda, to run a set of predefined and customizable tests against product templates, and then stage those templates for manual deployment into a production environment. The validation pipeline automatically assesses logical and functional integrity using preconfigured AWS Lambda test functions, a default set of tests from cfn-nag (an open source linting tool for AWS CloudFormation), and any user-developed tests.

The AWS Service Catalog Validation Pipeline is designed to integrate with an existing AWS CodeCommit repository, and validates all product templates committed to that repository, helping to accelerate product updates and availability. The AWS Service Catalog Validation Pipeline leverages the AWS Quick Start testing methodology, which enables users to define specific template parameters and AWS Regions for testing. This solution includes a supplementary AWS CloudFormation template that configures a fully functioning demo environment that enables customers to experiment with pipeline functionality.

Cost

You are responsible for the cost of the AWS services used while running this solution. Example monthly pricing is shown in the following table. This pricing represents the base cost for running the AWS Service Catalog Validation Pipeline with default settings in the US East (N. Virginia) Region and includes base charges for AWS CodePipeline, AWS CodeCommit, and Amazon DynamoDB.

AWS CodePipeline Pipelines AWS CodeCommit Users Monthly Base Cost
1 3 $4.81
10 10 $25.85
20 30 $61.45

This solution creates a new AWS Service Catalog portfolio for each individual test, and will incur an additional cost of $5 for each test stack that you launch. There will be additional charges for the resources deployed in each test stack.

These cost estimates do not reflect variable charges for AWS CodeCommit (storage and Git requests), AWS CodeBuild, Amazon Simple Storage Service (Amazon S3), or AWS Lambda beyond free tier usage. Prices are subject to change. For full details, see the pricing webpage for each AWS service you will be using in this solution.

On this page: