Tuesday, February 28, 2023
HomeSoftware EngineeringAWS CodeDeploy Deployment Kind Choices

AWS CodeDeploy Deployment Kind Choices

CodeDeploy supplies two (2) deployment kind choices:

Possibility 1 – In-place Deployment

In-place deployment: The applying on every occasion within the deployment group is stopped, the most recent utility revision is put in, and the brand new model of the appliance is began and validated. You should use a load balancer so that every occasion is deregistered throughout its deployment after which restored to service after the deployment is full. Solely deployments that use the EC2/On-Premises compute platform can use in-place deployments. AWS Lambda compute platform deployments can’t use an in-place deployment kind.

Possibility 2 – Blue/inexperienced Deployment

Blue/inexperienced deployment: The conduct of your deployment is dependent upon which compute platform you utilize:

  • Blue/inexperienced on an EC2/On-Premises compute platform: The cases in a deployment group (the unique atmosphere) are changed by a distinct set of cases (the alternative atmosphere). When you use an EC2/On-Premises compute platform, remember that blue/inexperienced deployments work with Amazon EC2 cases solely.
  • Blue/inexperienced on an AWS Lambda compute platform: Site visitors is shifted out of your present serverless atmosphere to 1 together with your up to date Lambda operate variations. You’ll be able to specify Lambda features that carry out validation exams and select the way in which wherein the site visitors shift happens. All AWS Lambda compute platform deployments are blue/inexperienced deployments. For that reason, you do not want to specify a deployment kind.
  • Blue/inexperienced on an Amazon ECS compute platform: Site visitors is shifted from the duty set with the unique model of a containerized utility in an Amazon ECS service to a alternative job set in the identical service. The protocol and port of a specified load balancer listener are used to reroute manufacturing site visitors. Throughout deployment, a take a look at listener can be utilized to serve site visitors to the alternative job set whereas validation exams are run.

The CodeDeploy agent is a software program bundle that, when put in and configured on an occasion, makes it doable for that occasion for use in CodeDeploy deployments. The CodeDeploy agent communicates outbound utilizing HTTPS over port 443.

It is usually essential to notice that the CodeDeploy agent is required provided that you deploy to an EC2/On-Premises compute platform. The agent isn’t required for deployments that use the Amazon ECS or AWS Lambda compute platform.



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments