
Explore Amazon Web Services with JavaScript and Node.js, using SDK v2 and v3 to work with IAM, DynamoDB, S3, RDS, EC2, Lambda, and build a rest api.
Identify course requirements by downloading the appropriate tools from energies.org and Visual Studio Code from code.visualstudio.com, and use Postman and Elastic Beanstalk for Node.js API calls.
Learn how AWS provides over 200 services from compute, database, and storage, and how to create an AWS account with a free tier and a step-by-step signup process.
Explore how AWS regions and availability zones (including local zones) provide isolated, fault-tolerant infrastructure, with latency, compliance, services, and cost considerations guiding deployment choices.
Explore identity and access management (IAM) for fine-grained access control, root vs IAM users, least-privilege permissions, with console, CLI, SDK, and API access.
Sign in as a root user, access the iam dashboard, and create an iam user with programmatic and console access, attaching an administrator policy for full aws permissions.
Expect AWS console UI changes, but the course remains unaffected; updates reflect these changes, and the search and dashboard stay the same, so you can follow along.
Create and manage IAM users with programmatic and console access, attach administrator or restricted policies, log in as an IAM user, and adjust permissions to control resource access.
Learn how aws iam user groups simplify access control by organizing users into groups such as rda admins and s3 admins, applying full access policies, and managing databases and buckets.
Configure the AWS SDK for JavaScript by setting the region and credentials, loading config and credentials files or environment variables, and provide programmatic access via an access key ID.
Learn how to create an IAM user, enable console access with identity center, and generate a programmatic access key and secret key for CLI or SDK use.
Install the AWS SDK for JavaScript version 2 with npm in a Node.js project and review package.json dependencies; compare with version 3’s modular architecture and service-specific packages for storage.
Learn to create IAM users with JavaScript using the AWS SDK by calling createUser with a username parameter, handling callbacks, and validating responses for new users like John and Bob.
Create a JavaScript script to list AWS users and log the results, including each username, user ID, and Amazon resource name, as shown for the three users in the console.
Update an AWS IAM user with JavaScript by creating an IAM object, calling updateUser with old and new user names, and handling a callback to verify the updated data.
Learn to create AWS custom policies with JavaScript by crafting policy documents, defining actions and resources, and using the AWS SDK to create policies.
List all aws policies with javascript using the list policies call, filtering by local scope to show customer managed policies created in your account.
Attach an administrator access policy named user full policy to an IAM user using JavaScript, and verify the policy is attached.
Detach a policy from an IAM user using JavaScript by creating a script and supplying the policy and user parameters, then run to verify removal.
Learn to create and manage AWS user groups with JavaScript, assign permissions via group policies, and add users to groups in the console and with code.
Attach AWS policies to groups with JavaScript using the CDK to grant audience full access and Amazon S3 full access, configuring group names and policy ARNs.
Add users to an AWS group with JavaScript, attach the group's policy, and verify access to resources such as relational database services.
Learn to detach a policy from a user group with JavaScript using AWS IAM. Create a script that specifies the group name and policy, detaches it, and verifies removal.
Learn to create an IAM user and generate an access key using the AWS SDK for JavaScript, including the new user's credentials and active status.
Learn to create an IAM user's login profile and console password, enable console access, manage password reset settings, and implement the workflow using JavaScript with AWS IAM.
Remove a user's AWS login profile using JavaScript by calling delete login profile with the target username, disabling the password and terminating console access.
Change an IAM user password with JavaScript by invoking the change password operation as the logged-in user; root password remains unaffected.
Learn how to delete an IAM user with JavaScript by detaching policies and deleting access keys before removing the user. Use a node script to verify user no longer exists.
Learn to fetch information about a specific group using the AWS SDK for JavaScript, returning group name, group ID, created date, and the associated user's ID and last password use.
Learn to retrieve information about a specific IAM user using JavaScript, including username, user ID, ARN, creation date, last use, and password last use via an AWS SDK call.
Learn to create an IAM user with AWS SDK for JavaScript v3 using modularized packages, the IAM client, and the createUserCommand, with setup and imports guidance.
List IAM users with the JavaScript v3 SDK by creating an IAM client and calling listUsers with a maxItems setting, then print each user's name and ARN in a try/catch.
Learn how to update an IAM user with the AWS JavaScript v3 SDK in Node.js, including creating an IAM client, building update user parameters, and validating a 200 response.
Learn to create AWS IAM policies using the JavaScript v3 SDK, building policy documents, setting actions, effects, and resources, and applying a full administrator access policy to users.
Learn to list AWS policies with the JavaScript v3 SDK by creating an IAM client, configuring local scope, and retrieving customer managed and AWS managed policies.
Attach a policy to an IAM user using the AWS JavaScript v3 SDK, transforming a user with no policies into one with administrator access via code.
Detach a policy from an IAM user using the JavaScript v3 SDK by creating an IAM client, calling the detach user policy operation, and handling errors.
Create and manage IAM user groups with the JavaScript v3 SDK, attach policies, and assign users for access to relational database services using node scripts.
Learn how to attach an aws managed policy to a user group using the v3 javascript sdk, including selecting a group, applying full access, and verifying the policy is attached.
Add a user to an AWS IAM group using JavaScript V3 SDK with an IAM client and a group name, and verify the addition (status 200) under the group's policy.
learn how to detach a policy from an AWS IAM group using JavaScript, by specifying the group and policy, calling detach, and logging the result.
Learn to create and manage AWS access keys for a user with JavaScript, including activating, deactivating, and deleting keys to secure programmatic access.
Learn how to create a login profile for an IAM user using the AWS SDK for JavaScript v3, generate a console password, and enable sign-in to the AWS Management Console.
Delete a login profile for a specific user using the delete login profile command in AWS IAM with JavaScript, disabling access to the AWS console and services.
Learn to delete an AWS IAM user with JavaScript by detaching policies and deleting access keys before removing the user, handling 400/409 errors and confirming deletion with a 200 status.
Learn to create IAM roles with JavaScript using the AWS SDK v3, building trust policies and temporary credentials. Implement delegation, cross-account and federated access with service-specific rules and instance profiles.
Attach a json policy to an IAM rule with JavaScript to grant S3 get object access on a bucket, and attach up to ten policies using Node.js or the console.
Learn to create an AWS instance profile with JavaScript using the AWS SDK, linking an IAM rule (role) to an EC2 instance to grant automated, temporary permissions with least-privilege security.
Add a rule to an instance profile with the AWS SDK for JavaScript. Import the IAM client, set the instance profile and rule names, then send the command.
Create an EC2 instance with a rule in its instance profile to access a specific S3 bucket object via get object permission, using AWS SDK v3.
Learn iam conditional policies in node.js by defining a time-based access window for an s3 bucket, including policy document construction and policy creation.
Learn to manage IAM user tags with javascript and nodejs, using key value pairs to label departments, projects, and cost centers, and to add, list, and remove tags.
Explore AWS cloud shell, a browser-based environment to run scripts via the CLI and manage IAM users.
Create an IAM login profile in cloud shell to enable console access for a user. Generate a login profile JSON skeleton, download, fill credentials, and then sign in.
Attach policies to an IAM user using CloudShell to grant permissions, from full access to administrator access, enabling actions like creating buckets.
Create an access key for a user via cloud shell to enable programmatic access with languages like Python and JavaScript. View the access key id, secret key, and active status.
Learn to create an AWS CloudShell group, view its details, and add a user to the group, then verify the updated membership.
Explore DynamoDB, a fully managed NoSQL database that offers flexible schemas, scalable performance, and easy development, using tables, items, and attributes with primary keys, partition keys, and sort keys.
Learn to create a table in Dynamo TV by setting a table name, partition key, and optional sort key, then add items via form or JSON and manage item operations.
Explore DynamoDB read and write capacity, provisioned versus on-demand modes, and auto scaling to optimize throughput and cost, using capacity calculators and table configuration.
Explore the DynamoDB PartiQL editor to perform SQL-like queries on article data, including select, insert, and delete operations with composite keys and publication dates.
Explore global secondary indexes (GSI) to speed queries on non-key attributes, configure read and write capacity independently, and project selected attributes from a base DynamoDB table into the index.
Create a DynamoDB table with a partition key, then insert data using put item in JavaScript. Understand provisioned and on-demand capacity and the default five read and five write units.
Learn to insert multiple items with DynamoDB batch write in JavaScript, sending request items with put requests to the employee table, up to 25 items per network round trip.
Learn how to describe a DynamoDB table with JavaScript, retrieving its status, creation time, key schema, and index details using the AWS SDK in Node.js.
List DynamoDB tables with JavaScript using the AWS SDK in Node.js. See how to pass optional params, handle a callback, and log resulting table names such as the employee table.
Update a DynamoDB table's provisioned throughput using JavaScript, changing read and write capacity units via updateTable. Learn to configure a table's provisioned throughput and handle potential errors.
Learn to create on-demand backups for a DynamoDB table with JavaScript, specify a backup name, run a node script, and delete backups when needed.
Retrieve a single item from a DynamoDB table by specifying its primary key, with the option to return all attributes or a subset using the getItem operation in JavaScript.
Learn to retrieve up to 100 items across tables with dynamodb's batch get in javascript and nodejs, reducing network trips and improving efficiency.
Learn how to delete a DynamoDB table using JavaScript by creating a delete-table script, specifying the table name, handling errors, and confirming deletion.
Learn to create a dynamodb table with javascript using the aws sdk, defining the movies table with year as partition key and title as sort key, including provisioned throughput.
Load movie data into the DynamoDB movies table using JavaScript and the DocumentClient; read JSON, marshal native objects, and insert items with logging.
Insert a single movie into the movies table using the document client in node.js, defining year, title, plot, and rating, then run the script to verify the addition.
Learn to read a movie item from a table using a get operation with year and title keys, building the params, invoking the function, and handling errors with logging.
Learn to update a DynamoDB item with JavaScript using the document client, building update expressions with year and title, to modify rating, plot, and actors.
Learn how to delete a DynamoDB item with JavaScript by keying the year and title, using the DocumentClient to remove a movie from the movies table, and verify deletion.
Learn to create a DynamoDB table using the JavaScript v3 SDK, including setting up the DynamoDB client, defining key schema and attribute definitions, and configuring read and write capacity.
Learn how to list DynamoDB tables using the JavaScript SDK v3 by importing the DynamoDB client, sending the listTables command, and handling and logging the returned table names.
Describe a DynamoDB table with the JavaScript v3 SDK by creating a DynamoDB client, sending a describeTable command, and logging the table's key schema, read capacity, item count, and status.
Demonstrates inserting data into a DynamoDB table with the JavaScript v3 SDK using the PutItem command, creating the client, defining item fields, and logging results.
Learn to update items in DynamoDB using the JavaScript v3 AWS SDK, including setting update expressions and expression attribute values for a given partition key in an employee table.
Import the DynamoDB client and get item command in JavaScript v3, set the table name and partition key, and fetch a single item. Wrap in try-catch and log the data.
Create a delete item workflow using DynamoDB v3 in JavaScript, using the deleteItemCommand to delete an item by its partition key in the employee two table, and log the result.
Learn to insert multiple items into a DynamoDB table using the BatchWriteCommand, by creating put requests for an employee table and executing async batch writes.
Learn to read multiple items in DynamoDB using BatchGetItemCommand in Node.js by constructing a request with table name and keys, executing the command, and handling results and errors.
Learn how to update a DynamoDB table using the AWS SDK for JavaScript v3, adjusting provisioned throughput, read and write capacity, and handling errors.
Learn to delete a DynamoDB table using the JavaScript v3 SDK by creating a DynamoDB client, specifying the table name, invoking deleteTable, and logging confirmation after deletion.
Explore Amazon ElastiCache, a fully managed in-memory caching service compatible with Redis and Memcached, for real-time caching and analytics; configure a t2.micro cluster in the free tier.
Launch and connect to an ec2 instance, install and test redis elasticache using the primary endpoint, and verify set and get operations.
Learn how Amazon S3 provides scalable, secure object storage with buckets and objects, enables access control, versioning, encryption, and features like static website hosting and access points.
Upload files to an S3 bucket, explore storage classes, enable versioning and encryption, apply object lock, and configure public access and ACLs.
Learn to create an Amazon S3 bucket with the JavaScript v2 sdk, using the default us-east region, and apply private to public read acl options.
Learn how to upload an image to an S3 bucket using JavaScript, set ACL to private or public read, configure bucket and key, and verify access via the object URL.
List S3 buckets with JavaScript to retrieve all buckets owned by the authenticated sender, requiring proper permissions and logging bucket names and creation dates from the response.
Learn how to delete an S3 bucket using the JavaScript V2 SDK, including removing objects first and handling bucket not empty errors.
Delete a non empty bucket using the JavaScript v2 sdk by creating a bucket, uploading an image, listing and deleting objects to empty it, then removing the bucket.
Learn to upload a file to an s3 bucket with JavaScript by creating the bucket, preparing the file, setting bucket, key, and body, and handling upload results.
Learn to retrieve objects from an S3 bucket with JavaScript using getObject, handling read access (including anonymous access) and callbacks to log object data.
List objects in an AWS S3 bucket with JavaScript, using parameters to subset results and iterate through contents to read file keys, while logging any errors.
Learn to filter and list objects in an AWS S3 bucket using JavaScript, applying a prefix, iterating over data.contents, and logging each object's key.
Learn to retrieve an object's metadata with the get object attributes method in JavaScript, using a bucket name and key to access storage class, size, and e tag.
Learn to copy objects between Amazon S3 buckets using the console and JavaScript, detailing bucket name, copy source, and destination key.
Delete an object from an S3 bucket using JavaScript by specifying the bucket name and key, calling delete object, and confirming in the callback that the object is deleted.
Delete multiple objects from a bucket using JavaScript, specify the bucket name and object keys, then use the callback to log and confirm deletion.
Learn to host a static website on Amazon S3 by creating a bucket, building a React app, uploading the build, and enabling static website hosting with a get objects policy.
Learn to install AWS SDK for JavaScript v3, create an S3 bucket, and configure private ACLs with mindful warnings about public access.
Learn to generate and attach S3 bucket policy using JavaScript, crafting a JSON policy with version and statement, specifying actions like get objects, and applying the policy to a bucket.
Learn to delete a bucket policy with JavaScript by creating a script, invoking the delete bucket policy command with the bucket name, and handling async operations and errors.
Upload an image to an AWS S3 bucket using the JavaScript V3 SDK by reading the file and sending PutObjectCommand with bucket, key, and public read ACL.
Learn to list buckets with the AWS SDK for JavaScript v3 by creating an S3 client, sending the list buckets command, and logging the resulting data.
Learn to delete an AWS bucket with the JavaScript V3 SDK by emptying the bucket, deleting its objects, handling not-empty errors, and finally removing the bucket.
Learn to delete an object from an S3 bucket using the JavaScript v3 SDK by importing the S3 client and deleteObjectCommand, specifying bucket name and object key, with logging.
Delete multiple objects in an S3 bucket using the JavaScript V3 SDK by creating an S3 client, specifying the bucket and object keys, and invoking deleteObjects.
Learn how to list objects in an S3 bucket using the JavaScript v3 SDK, iterate over data.contents and log each object key.
Learn to copy an object from one bucket to another using JavaScript and the AWS S3 copyObject command, specifying the copy source and destination with a client.
In this course we are going to learn Amazon Web Services (AWS) with JavaScript & NodeJS, so Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers including the fastest growing startups, largest enterprises, and leading government agencies are using AWS to lower costs. And you can use AWS with different programming languages, in this course we want to learn AWS with JavaScript & NodeJS.
This course is divided in to different sections, we are going to use SDK version 2 and Version 3 for JavaScript, it means first we create our examples using JavaScript V2 SDK and after that V3 SDK.
In the first section we are going to talk about IAM, so IAM is AWS Identity and Access Management. With IAM, you can specify who can access which services and resources, and under which conditions, we will create some examples with AWS console and after that we go through JavaScript examples. also we are going to work with two versions of JavaScript
SDK V2 and also V3
In the second section we want to learn about AWS Dynamodb, so DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database so that you don't have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling. You don’t need to worry about these, because all of them are done by dynamodb.
In the third section we want to talk about amazon S3, so S3 stands for Simple Storage Service, it is an object storage service that offers industry-leading scalability, data availability, security, and performance.
In the fourth section we want to learn about Amazon RDS or Amazon Relational Database Services and we want to learn about two relational databases and their integration with JavaScript like MySQL and Postgres.
In the fifth section we are going to learn about Amazon EC2 or we can say elastic compute cloud and it provides scalable computing capacity in the Amazon Web Services (AWS) Cloud. We create some examples using the AWS console and after that we go through JavaScript, also we are going to deploy a NodeJS RESTAPI project in EC2.
In this sixth section we are going to talk about Elastic Beanstalk, Code Pipeline, Amazon RDS, Route53 and Certificate Manager, we create a simple REST API with NodeJS and we mix these technologies together.
It means that we add relational database to our NodeJS RESTAPI, after that we deploy our project using Code Pipeline to Elastic Beanstalk, after that we add a custom domain name to REST API using Route53 and at the end we request a certificate from AWS Certificate Manager and we assign that to the Nodejs Rest API
In the seventh section we want to talk about AWS Lambda Function , so it is server less computing service that lets you run code without provisioning or managing servers.
In the eight section we want to learn about AWS SES or we can say Simple Email Services, and using this service we can send emails to our customers.