CodeDeploy Flashcards
This is an automated deploy service which allows you to deploy you app code automatically to EC2 instances, on prem systems, and LMabda functions.
code deploy
this service allows you to quickly release new features, avoid downtime during app deployments and avoid the risks associated with manual processes.
code deploy
T or F
code deploy auto scales with your infra and integrates with various CI/CD tools ie: jenkins, github, atlassian, codepipeline, as well as config management tools like ansible, chef, and puppet.
true
What are the 2 appraches available for code deploy?
in-place and blue-green
Which deploymetn type is this?
- the app is stopped on each instance and the latest revision installed
- the isntance is out of service during this time and yoru capacity will be reduced
- if the isntances are behind a load balancer, you can configure the LB to stop sending requests to the instances which are being upgraded.
in-place deployment
which deployment is this?
- also known as rolling dpeloyment
- it can only be used for ec2 and on-prem systems - it is not supported for lambda.
- if you need to roll back your changes, the previous version of the app will need to be redeployed.
in-place deployments
blue/green deployment -
new isntaces are provisioned and the latest revision is installed on teh new instances. ____ represents the active deployment, _____ is the new release
blue/green
which deployment is this?
BG or in place?
the new instances are registered with an ELB, traffic is then routed to the new isntances and the original instances are eventually terminated.
Blue green
which deployment is this?
BG or in place?
advantages of this deployment are that hte new instan ces can be created ahead of time and the code released to prod by simply switching all traffic ot the new servers.
blug green
which deployment is this?
BG or in place?
switching back to the original environment is faster and more reliable and is just a case of routing the traffic back to teh original servers (as logn as you haven’t already termianted them)
blue green
Match the definition to the terminology:
- A set of EC2 instances or lambda cuntion to which a new revision of the software is to be deployed.
- the process and components used to apply new revision
- a set of deployment rules as well as success/failure conditions used during a deployment
- defines the deployment actions you want AWS code deploy to execute.
- everything needed to deploy the new version: appspec file, app files, executables, config files
- unique identifier for the app you want to deploy. To ensure the correct combination of revision, deployment configuration and deployment group are referenced during a deployment.
- Revision
- Deployment
- Application
- Deployment Group
- AppSpec File
- Deployment Configuration
- deployment group
- deployment
- deployment configuration
- appspec/File
- revision
- application