Which service should be used to deploy the application?
AWS CloudFormation
AWS Elastic Beanstalk
Amazon EC2
AWS OpsWorks
Explanations:
AWS CloudFormation is an infrastructure as code service used to define and provision AWS resources using templates. It does not directly deploy applications but rather manages the infrastructure needed to run them.
AWS Elastic Beanstalk is a Platform as a Service (PaaS) that simplifies the deployment of applications. It automatically handles the deployment, capacity provisioning, load balancing, and scaling of applications. This makes it ideal for users with limited AWS knowledge who want to quickly deploy a scalable Node.js application.
Amazon EC2 (Elastic Compute Cloud) provides resizable compute capacity in the cloud. While it can be used to deploy a Node.js application, it requires more management and setup compared to Elastic Beanstalk, making it less suitable for users with limited knowledge.
AWS OpsWorks is a configuration management service that helps manage applications and their servers. It uses Chef or Puppet for deployment, which requires more technical knowledge and setup compared to Elastic Beanstalk, making it less ideal for quick deployment by inexperienced users.