Which AWS service should the developers use to meet these requirements?
AWS CloudFormation
AWS CodeBuild
AWS Elastic Beanstalk
AWS CodeDeploy
Explanations:
AWS CloudFormation is an Infrastructure as Code (IaC) service that allows users to define and provision AWS infrastructure using templates. It requires users to manage the infrastructure and is not focused on application deployment without provisioning.
AWS CodeBuild is a fully managed build service that compiles source code, runs tests, and produces software packages. It is primarily used for building and testing applications, not for deploying them without provisioning infrastructure.
AWS Elastic Beanstalk is a Platform as a Service (PaaS) that allows developers to deploy applications without managing the underlying infrastructure. It automatically handles the deployment, from capacity provisioning to load balancing and auto-scaling, enabling developers to focus on writing code.
AWS CodeDeploy is a deployment service that automates the process of deploying applications to instances. While it simplifies deployment, it still requires the underlying infrastructure to be provisioned beforehand, which does not meet the developers’ need for infrastructure-free deployment.