From the course: AWS for DevOps: Monitoring, Metrics, and Logging

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Setting up the AWS SDK for Node.js

Setting up the AWS SDK for Node.js - Amazon Web Services (AWS) Tutorial

From the course: AWS for DevOps: Monitoring, Metrics, and Logging

Start my 1-month free trial

Setting up the AWS SDK for Node.js

- [Instructor] Here we are on the AWS SDK download page. I'm going to work with Node today, so I'm going to click on the install link and that's going to take me over to getting started in Node. And this'll actually set up a simple web app as well. We first need to download and install the AWS SDK for JavaScript. Let's open that in a new tab and jump over there. The preferred way to do this is to use NPM install. Now, we need to make sure that we have the NPM package manager first, so check that dependency. Once you've installed all the prerequisites, in this case for Node, which would be Node itself and NPM, then you're going to want to install the SDK. So, from the terminal, I run NPM space install space AWS hyphen SDK. Now that we've installed the JavaScript prerequisites, we'll continue. So, we're going to grab the sample project from git and then we're going to run NPM install, making sure that we're in the proper location. So, that should be AWS hyphen nodejs hyphen sample…

Contents