Which AWS service should the developers use to meet these requirements?
AWS Cloud Formation
AWS CodeBuild
AWS Elastic Beanstalk
AWS CodeDeploy
Explanations:
AWS CloudFormation is used for provisioning and managing infrastructure as code. It allows users to define the desired infrastructure, but it does not directly enable developers to deploy applications without managing infrastructure.
AWS CodeBuild is a fully managed continuous integration service that compiles source code, runs tests, and produces software packages. However, it does not handle application deployment or infrastructure provisioning.
AWS Elastic Beanstalk is a platform as a service (PaaS) that allows developers to deploy and manage applications without worrying about the underlying infrastructure. It automatically handles the deployment, from capacity provisioning to load balancing, scaling, and application health monitoring.
AWS CodeDeploy is a service that automates application deployments to various compute services like EC2, Lambda, and on-premises servers. However, it requires existing infrastructure to be set up and does not provide a complete environment for deploying applications without provisioning resources.