Chapter 9: Deploying to Any Platform
Now that you have learned how to use GitHub Actions as an automation engine and GitHub Packages to easily share code and containers, we can complete our Continuous Integration/Continuous Delivery (CI/CD) capabilities by automating deployments.
In this chapter, I'll show you how to easily deploy to any cloud or platform in a secure and compliant way.
In this chapter, we will cover the following main topics:
- Staged deployments
- Automating your deployments
- Infrastructure as Code
- How to deploy to Azure App Service
- How to deploy to AWS Elastic Container Service (ECS)
- How to deploy to Google Kubernetes Engine (GKE)
- Measuring success
CI/CD
CI means that every time you push code changes to your repository, the code is built and tested, and the output is packaged as a build artifact. In CD, you automatically deploy your build artifacts to your environments whenever a new build artifact is created.
When practicing CI...