Question

Difficulty: EasyAWS Management, Governance, and Developer Tools

A developer wants to deploy a Node.js web application on AWS by uploading the application code. They want the service to automatically handle resource provisioning, load balancing, auto-scaling, and health monitoring, while still retaining full control over the underlying AWS resources. Which AWS service should be used to meet these requirements with the least configuration effort?

  1. A
    AWS CloudFormation
  2. AWS Elastic BeanstalkAnswer
  3. C
    Amazon EC2
  4. D
    Amazon CloudWatch

Answer

AWS Elastic Beanstalk
AWS Elastic Beanstalk is a Platform as a Service (PaaS) that allows developers to upload their application code and automatically handles the provisioning of servers, database connections, load balancers, auto-scaling, and health monitoring, while still letting developers maintain full control over the underlying AWS resources.

Step-by-Step Solution

1
Analyze the scenario requirement: deployment of a web application from code upload with automatic infrastructure management.
The requirement matches a Platform as a Service (PaaS) model where infrastructure tasks are managed automatically.
This helps filter out services that require manual infrastructure provisioning.
2
Compare the services to determine which one hosts applications directly from code with minimal configuration.
AWS Elastic Beanstalk is the primary PaaS offering on AWS for web applications, meeting all criteria.
Other services either require manual management (Amazon EC2) or template-based infrastructure definitions (AWS CloudFormation).

Key Concept

AWS Elastic Beanstalk as a PaaS deployment tool
Rate this question