Remember, AWS AppConfig requires that you create resources and deploy a configuration in the following order:
In this section, we will continue with the Create a deployment strategy and Deploy the configuration steps during which we will deploy our AWS AppConfig Application thereby making it available to any applications that need to consume our configuration data.
Instead of creating our own custom deployment strategy, we will use a predefined deployment strategy that is already available to us. We will choose the AppConfig.AllAtOnce deployment strategy which deploys the configuration to all targets immediately.
Note: We are intentionally choosing a very short deployment feedback loop for the purposes of this lab so that we can have time to cover more topics. For more detailed information on creating custom deployment strategies as well other predefined strategies you can choose from, see the AWS AppConfig documentation.
Use the following procedure to deploy our configuration data with a predefined deployment strategy.
Now that we have completed the deployment, our AWS AppConfig application and associated configuration document is available to consuming applications through the AWS AppConfig integration with Lambda extensions.
In the next section, we will build an Amazon API Gateway and AWS Lambda Serverless Application in which we will consume the configuration data.