Setting up an Amazon Node.js environment - Amazon SDK for JavaScript
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

The Amazon SDK for JavaScript V3 API Reference Guide describes in detail all the API operations for the Amazon SDK for JavaScript version 3 (V3).

Starting October 1, 2022, Amazon SDK for JavaScript (v3) will end support for Internet Explorer 11 (IE 11). For details, see Announcing the end of support for Internet Explorer 11 in the Amazon SDK for JavaScript (v3).

Setting up an Amazon Node.js environment

To set up an Amazon Node.js environment in which you can run your application, use any of the following methods:

  • Choose an Amazon Machine Image (AMI) with Node.js preinstalled. Then create an Amazon EC2 instance using that AMI. When creating your Amazon EC2 instance, choose your AMI from the Amazon Web Services Marketplace. Search the Amazon Web Services Marketplace for Node.js and choose an AMI option that includes a preinstalled version of Node.js (32-bit or 64-bit).

  • Create an Amazon EC2 instance and install Node.js on it. For more information about how to install Node.js on an Amazon Linux instance, see Setting up Node.js on an Amazon EC2 instance.

  • Create a serverless environment using Amazon Lambda to run Node.js as a Lambda function. For more information about using Node.js within a Lambda function, see Programming model (Node.js) in the Amazon Lambda Developer Guide.

  • Deploy your Node.js application to Amazon Elastic Beanstalk. For more information about using Node.js with Elastic Beanstalk, see Deploying Node.js applications to Amazon Elastic Beanstalk in the Amazon Elastic Beanstalk Developer Guide.

  • Create a Node.js application server using Amazon OpsWorks. For more information about using Node.js with Amazon OpsWorks, see Creating your first Node.js stack in the Amazon OpsWorks User Guide.