From the course: Hands-On Development in AWS
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Using the Node.js SDK - Amazon Web Services (AWS) Tutorial
From the course: Hands-On Development in AWS
Using the Node.js SDK
- In the 02 folder in our repository, I have two examples, very extreme basic examples of how to interact with the SDK, one for Python and one for Node. We're going to look at Node real quick. Let's go into this Node directory. I have already configured the application. This config.json file is read in by the application upon execution. Let's take a look at app.js and run through what it's doing. We have var AWS is created using the AWS SDK package. This can be installed with Node Package Manager. We load the config FromPath using this config.json file. If you have not configured it properly, it gives you an error and then it exits. We create an EC2 object. This is an instantiation of the AWS.EC2 result. We then run the method describeinstances of that EC2 object. We have a callback function that spits out the data that is returned, assuming that the authentication was successful. We have our total reservations. This is a length of an array in the json that is returned. If it is…
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
(Locked)
Module 2: AWS foundational services introduction24s
-
(Locked)
Learning objectives32s
-
(Locked)
Understanding IAM11m 55s
-
(Locked)
Understanding permissions11m 37s
-
Exploring users and groups8m 58s
-
(Locked)
Exploring roles5m 13s
-
(Locked)
Using IAM multi-factor authentication (MFA)4m 18s
-
(Locked)
Creating a Cognito user pool15m 12s
-
(Locked)
-
-
(Locked)
Module 3: Database and storage services introduction19s
-
(Locked)
Learning objectives27s
-
(Locked)
An RDS overview8m 47s
-
(Locked)
Understanding database security in RDS2m 48s
-
(Locked)
Configuring an RDS database9m 9s
-
(Locked)
Scaling RDS4m 30s
-
(Locked)
Exploring database on EC25m 12s
-
(Locked)
Using RDS best practices2m 16s
-
(Locked)
-
-
(Locked)
Learning objectives23s
-
(Locked)
Understanding S310m 42s
-
(Locked)
Creating buckets12m 17s
-
(Locked)
Securing S37m 33s
-
(Locked)
Using global data replication6m 11s
-
(Locked)
Understanding Glacier5m 34s
-
(Locked)
Exploring events8m 48s
-
(Locked)
Using third-party browser tools2m 34s
-
(Locked)
Using S3 best practices2m 47s
-
(Locked)
Using CloudFront with S316m 18s
-
(Locked)
-
-
(Locked)
Module 4: Messaging services introduction29s
-
(Locked)
Learning objectives31s
-
(Locked)
Understanding SQS10m 25s
-
(Locked)
Creating an SQS queue3m 39s
-
(Locked)
Securing SQS5m 53s
-
(Locked)
Interacting with an SQS queue12m 32s
-
(Locked)
Using message encryption4m 42s
-
(Locked)
Using SQS best practices2m 36s
-
(Locked)
-
-
(Locked)
Module 5: Execution services introduction24s
-
(Locked)
Learning objectives27s
-
(Locked)
Highlighting Lambda6m 6s
-
(Locked)
Understanding Lambda scalability and availability3m 24s
-
(Locked)
Exploring Lambda security3m 43s
-
(Locked)
Using Lambda functions10m 42s
-
(Locked)
Deploying a Lambda function8m 32s
-
(Locked)
Using Lambda best practices5m 8s
-
(Locked)