HomeSoftware EngineeringAWS CodeDeploy Deployment Kind Choices

AWS CodeDeploy Deployment Kind Choices


CodeDeploy gives 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 software revision is put in, and the brand new model of the appliance is began and validated. You should utilize 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 not 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 situations in a deployment group (the unique surroundings) are changed by a unique set of situations (the substitute surroundings). In case you use an EC2/On-Premises compute platform, bear in mind that blue/inexperienced deployments work with Amazon EC2 situations solely.
  • Blue/inexperienced on an AWS Lambda compute platform: Visitors is shifted out of your present serverless surroundings to at least one together with your up to date Lambda perform variations. You may specify Lambda capabilities that carry out validation checks and select the best way wherein the site visitors shift happens. All AWS Lambda compute platform deployments are blue/inexperienced deployments. For that reason, you don’t want to specify a deployment kind.
  • Blue/inexperienced on an Amazon ECS compute platform: Visitors is shifted from the duty set with the unique model of a containerized software in an Amazon ECS service to a substitute activity 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 substitute activity set whereas validation checks are run.

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

It is usually vital to notice that the CodeDeploy agent is required provided that you deploy to an EC2/On-Premises compute platform. The agent will not be required for deployments that use the Amazon ECS or AWS Lambda compute platform.

RELATED ARTICLES

Most Popular

Recent Comments