9

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 ...

Get Building and Delivering Microservices on AWS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.