The AWS SDK for JavaScript v2 has reached end-of-support. We recommend
that you migrate to AWS SDK for JavaScript v3.
For additional details and information on how to migrate, please refer to this announcement
Amazon EC2 Examples
Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides virtual server hosting in the cloud. It is designed to make web-scale cloud computing easier for developers by providing resizeable compute capacity.

The JavaScript API for Amazon EC2 is exposed through the AWS.EC2
client class.
For more information about using the Amazon EC2 client class, see Class: AWS.EC2
in the API reference.