CodeDeploy Flashcards

1
Q

Which are the CodeDeploy lifecycle hooks for EC2?

A

ApplicationStop
DownloadBundle
BeforeInstall
Install
AfterInstall
ApplicationStart
ValidateService
BeforeBlockTraffic
BlockTraffic
AfterBlockTraffic
BeforeAllowTraffic
AllowTraffic
AfterAllowTraffic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is CodeDeploy In-place deployment?

A

The application on each instance in the deployment group is stopped, the latest application revision is installed, and the new version of the application is started and validated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the CodeDeploy Blue/green steps on an EC2/On-Premises compute platform

A

Instances are provisioned for the replacement environment.

The latest application revision is installed on the replacement instances.

An optional wait time occurs for activities such as application testing and system verification.

Instances in the replacement environment are registered with an Elastic Load Balancing load balancer, causing traffic to be rerouted to them.

Instances in the original environment are deregistered and can be terminated or kept running for other uses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define CodeDeploy: Blue/green on an AWS Lambda or Amazon ECS compute platform

A

Traffic is shifted in increments according to a canary, linear, or all-at-once deployment configuration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How CodeDeploy: Blue/green deployments through AWS CloudFormation are done?

A

Traffic is shifted from your current resources to your updated resources as part of an AWS CloudFormation stack update.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How CodeDeploy rollbacks a deployment?

A

CodeDeploy rolls back deployments by redeploying a previously deployed revision of an application as a new deployment. These rolled-back deployments are technically new deployments, with new deployment IDs, rather than restored versions of a previous deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly