Deploying to an EC2 Instance Using CodeDeploy
In this chapter, you will learn about the AWS CodeDeploy service and how this service allows us to automate the software deployment process. We will learn about the service’s benefits and limitations and learn the terminology related to the CodeDeploy service. In this chapter, we will be covering the following topics:
- What is AWS CodeDeploy?
- Understanding the application specification file (AppSpec file)
- Deployment lifecycle events
- Deployment groups
- Deployment strategies
- The CodeDeploy agent
- Sample app deployment to EC2 instances
In the previous chapters, we developed a microservice using Java, and we generated the artifact for that microservice using the CodeBuild service. In this chapter, we will use the same sample microservice, and try to deploy it to the AWS EC2 instance using the CodeDeploy service. Before discussing the deployment in more detail, we need to understand what the AWS CodeDeploy...