A company wants to use AWS development tools to replace its current bash deployment scripts. The company currently deploys a LAMP application to a group of Amazon EC2 instances behind an Application Load Balancer (ALB). During the deployments, the company unit tests the committed application, stops and starts services, unregisters and re-registers instances with the load balancer, and updates file permissions. The company wants to maintain the same deployment functionality through the shift to using AWS services. Which solution will meet these requirements?
Select one answer.
Marked answer: D
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Chose D1
Along with everyone else's reasoning the answer is also D because the mention of deployment groups in CodeDeploy, since its multiple instances it needs to be attached to a deployment group instead of just the ALB
Chose D1
why not: a - need some way orchestrating source - build - deploy steps. b - says codedeploys deployment group does testing — not true. Testing should happen in codebuild c - suggests using codebuild to unregister/reregister instances — not the right service for that.that’s something codedeploy handles natively via its ALB integration
Chose B1
Answer is B. company want to replace its bash deployment scripts so option D is not suitable