Bash, the Crucial Exams Chat Bot
AI Bot

AWS CI/CD and Deployment Strategies Flashcards

What are lifecycle hooks in CodeDeploy?
Define immutable infrastructure
It automates code deployments to any instance including EC2 instances, Lambda functions, and on-premises servers.
They allow enabling/disabling features without redeploying code, facilitating A/B testing and gradual rollouts.
A YAML or JSON file that specifies how CodeDeploy should deploy your application.
How does AWS CodeDeploy work?
What are the benefits of feature flags?
Events that let you run custom logic at specific points during a deployment lifecycle.
Define AWS CodeCommit
An approach where infrastructure is never modified after deployment; instead, new infrastructure is provisioned for changes.
A fully managed source control service by AWS that enables teams to host secure and highly scalable Git repositories.
What is a deployment manifest in CodeDeploy?
FrontBack
Compare AWS CloudFormation vs. AWS CDKCloudFormation uses JSON/YAML templates; CDK allows defining infrastructure in programming languages like Python, TypeScript, etc.
Compare Blue/Green Deployment vs. Canary DeploymentBlue/Green: Runs two identical environments with only one live; Canary: Gradually shifts traffic from old to new version.
Define AWS CodeCommitA fully managed source control service by AWS that enables teams to host secure and highly scalable Git repositories.
Define Continuous Integration (CI)The practice of frequently merging code changes into a central repository followed by automated builds and tests.
Define deployment frequencyHow often an organization successfully releases to production, a key metric in measuring DevOps performance.
Define immutable infrastructureAn approach where infrastructure is never modified after deployment; instead, new infrastructure is provisioned for changes.
Describe a deployment group in CodeDeployA set of instances or Lambda functions where an application revision is deployed.
Explain canary analysis in deploymentsA technique to analyze the performance and health of a new deployment by routing a small percentage of traffic to it before full rollout.
Explain the In-place deployment strategyUpdates the existing instances with the new application version, taking instances out of service during update.
Explain the Rolling deployment strategyUpdates instances in batches, gradually replacing old versions with new ones while maintaining availability.
How does AWS CodeDeploy work?It automates code deployments to any instance including EC2 instances, Lambda functions, and on-premises servers.
How does AWS CodePipeline handle failed stages?It stops the pipeline execution at the failed stage and provides information for troubleshooting.
How does AWS Elastic Beanstalk relate to CI/CD?It's a PaaS offering that can be integrated into CI/CD pipelines for simplified application deployment and scaling.
How does CodePipeline integrate with other AWS services?It can integrate with CodeCommit, CodeBuild, CodeDeploy, Lambda, Elastic Beanstalk, CloudFormation, and third-party tools like GitHub.
What are approval actions in CodePipeline?Manual approval steps that can be added to a pipeline requiring explicit approval before proceeding to the next stage.
What are environment variables in CodeBuild?Key-value pairs that provide dynamic configuration that can be used in build commands and scripts.
What are lifecycle hooks in CodeDeploy?Events that let you run custom logic at specific points during a deployment lifecycle.
What are the benefits of feature flags?They allow enabling/disabling features without redeploying code, facilitating A/B testing and gradual rollouts.
What is a deployment manifest in CodeDeploy?A YAML or JSON file that specifies how CodeDeploy should deploy your application.
What is a deployment pipeline?A set of automated stages code changes go through from check-in to production release.
What is a deployment rollback strategy?A plan to revert to the previous working version of an application if a deployment fails or causes issues.
What is an artifact in AWS CI/CD context?A packaged bundle of code and dependencies that moves through the pipeline stages.
What is AWS CodeArtifact?A fully managed artifact repository service for storing and sharing software packages used in development.
What is AWS CodeBuild?A fully managed continuous integration service that compiles source code, runs tests, and produces software packages ready for deployment.
What is AWS CodePipeline?A continuous delivery service that automates the build, test, and deployment phases of your release process every time there is a code change.
What is AWS CodeStar?A cloud-based service for creating, managing, and working with software development projects on AWS.
What is Continuous Deployment (CD)?The practice of automatically deploying all code changes to production after passing through the build/test pipeline.
What is Infrastructure as Code (IaC)?Managing infrastructure through code and automation rather than manual processes.
What is the AWS Developer Tools suite?The collection of services including CodeCommit, CodeBuild, CodeDeploy, CodePipeline, and other related services for software development.
What is the difference between AWS CodeCommit and GitHub?CodeCommit is AWS-managed Git service with AWS security integration; GitHub is a third-party service with broader community features.
Front
Explain the In-place deployment strategy
Click the card to flip
Back
Updates the existing instances with the new application version, taking instances out of service during update.
Front
How does AWS CodePipeline handle failed stages?
Back
It stops the pipeline execution at the failed stage and provides information for troubleshooting.
Front
How does CodePipeline integrate with other AWS services?
Back
It can integrate with CodeCommit, CodeBuild, CodeDeploy, Lambda, Elastic Beanstalk, CloudFormation, and third-party tools like GitHub.
Front
What is AWS CodeArtifact?
Back
A fully managed artifact repository service for storing and sharing software packages used in development.
Front
How does AWS CodeDeploy work?
Back
It automates code deployments to any instance including EC2 instances, Lambda functions, and on-premises servers.
Front
What is AWS CodeBuild?
Back
A fully managed continuous integration service that compiles source code, runs tests, and produces software packages ready for deployment.
Front
What is a deployment rollback strategy?
Back
A plan to revert to the previous working version of an application if a deployment fails or causes issues.
Front
Compare AWS CloudFormation vs. AWS CDK
Back
CloudFormation uses JSON/YAML templates; CDK allows defining infrastructure in programming languages like Python, TypeScript, etc.
Front
Describe a deployment group in CodeDeploy
Back
A set of instances or Lambda functions where an application revision is deployed.
Front
Explain the Rolling deployment strategy
Back
Updates instances in batches, gradually replacing old versions with new ones while maintaining availability.
Front
What are the benefits of feature flags?
Back
They allow enabling/disabling features without redeploying code, facilitating A/B testing and gradual rollouts.
Front
Define AWS CodeCommit
Back
A fully managed source control service by AWS that enables teams to host secure and highly scalable Git repositories.
Front
What are lifecycle hooks in CodeDeploy?
Back
Events that let you run custom logic at specific points during a deployment lifecycle.
Front
What is an artifact in AWS CI/CD context?
Back
A packaged bundle of code and dependencies that moves through the pipeline stages.
Front
What is AWS CodePipeline?
Back
A continuous delivery service that automates the build, test, and deployment phases of your release process every time there is a code change.
Front
What is Infrastructure as Code (IaC)?
Back
Managing infrastructure through code and automation rather than manual processes.
Front
What is AWS CodeStar?
Back
A cloud-based service for creating, managing, and working with software development projects on AWS.
Front
What is Continuous Deployment (CD)?
Back
The practice of automatically deploying all code changes to production after passing through the build/test pipeline.
Front
What are approval actions in CodePipeline?
Back
Manual approval steps that can be added to a pipeline requiring explicit approval before proceeding to the next stage.
Front
Define immutable infrastructure
Back
An approach where infrastructure is never modified after deployment; instead, new infrastructure is provisioned for changes.
Front
Define deployment frequency
Back
How often an organization successfully releases to production, a key metric in measuring DevOps performance.
Front
What are environment variables in CodeBuild?
Back
Key-value pairs that provide dynamic configuration that can be used in build commands and scripts.
Front
What is a deployment pipeline?
Back
A set of automated stages code changes go through from check-in to production release.
Front
Explain canary analysis in deployments
Back
A technique to analyze the performance and health of a new deployment by routing a small percentage of traffic to it before full rollout.
Front
Compare Blue/Green Deployment vs. Canary Deployment
Back
Blue/Green: Runs two identical environments with only one live; Canary: Gradually shifts traffic from old to new version.
Front
What is the difference between AWS CodeCommit and GitHub?
Back
CodeCommit is AWS-managed Git service with AWS security integration; GitHub is a third-party service with broader community features.
Front
What is a deployment manifest in CodeDeploy?
Back
A YAML or JSON file that specifies how CodeDeploy should deploy your application.
Front
How does AWS Elastic Beanstalk relate to CI/CD?
Back
It's a PaaS offering that can be integrated into CI/CD pipelines for simplified application deployment and scaling.
Front
Define Continuous Integration (CI)
Back
The practice of frequently merging code changes into a central repository followed by automated builds and tests.
Front
What is the AWS Developer Tools suite?
Back
The collection of services including CodeCommit, CodeBuild, CodeDeploy, CodePipeline, and other related services for software development.
1/30
Focused on AWS development pipelines, this deck explores CodeCommit, CodeBuild, CodeDeploy, and CodePipeline along with automation strategies, version control, and blue/green deployments for continuous integration/deployment.
Share on...
Follow us on...