

# Deploying Amazon AppConfig configurations using CodePipeline
<a name="appconfig-integration-codepipeline"></a>

Amazon AppConfig is an integrated deploy action for Amazon CodePipeline (CodePipeline). CodePipeline is a fully managed continuous delivery service that helps you automate your release pipelines for fast and reliable application and infrastructure updates. CodePipeline automates the build, test, and deploy phases of your release process every time there is a code change, based on the release model you define. For more information, see [What is Amazon CodePipeline?](https://docs.amazonaws.cn/codepipeline/latest/userguide/welcome.html)

The integration of Amazon AppConfig with CodePipeline offers the following benefits:
+ Customers who use CodePipeline to manage orchestration now have a lightweight means of deploying configuration changes to their applications without having to deploy their entire code base.
+ Customers who want to use Amazon AppConfig to manage configuration deployments but are limited because Amazon AppConfig does not support their current code or configuration store, now have additional options. CodePipeline supports Amazon CodeCommit, GitHub, and BitBucket (to name a few).

**Note**  
Amazon AppConfig integration with CodePipeline is only supported in Amazon Web Services Regions where CodePipeline is [available](https://www.amazonaws.cn/about-aws/global-infrastructure/regional-product-services/).

## How integration works
<a name="appconfig-integration-codepipeline-how"></a>

You start by setting up and configuring CodePipeline. This includes adding your configuration to a CodePipeline-supported code store. Next, you set up your Amazon AppConfig environment by performing the following tasks:
+ [Create a namespace and a configuration profile](https://docs.amazonaws.cn/appconfig/latest/userguide/creating-feature-flags-and-configuration-data.html)
+ [Choose a predefined deployment strategy or create your own](https://docs.amazonaws.cn/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html)

After you complete these tasks, you create a pipeline in CodePipeline that specifies Amazon AppConfig as the *deploy provider*. You can then make a change to your configuration and upload it to your CodePipeline code store. Uploading the new configuration automatically starts a new deployment in CodePipeline. After the deployment completes, you can verify your changes. For information about creating a pipeline that specifies Amazon AppConfig as the deploy provider, see [Tutorial: Create a Pipeline That Uses Amazon AppConfig as a Deployment Provider](https://docs.amazonaws.cn/codepipeline/latest/userguide/tutorials-AppConfig.html) in the *Amazon CodePipeline User Guide*. 