0% found this document useful (0 votes)
3 views7 pages

AWS-Notes

The document outlines key AWS services including API Gateway, AWS Lambda, and Amazon DynamoDB. API Gateway enables the creation and management of secure APIs, while AWS Lambda offers serverless computing that automatically scales and executes code in response to events. DynamoDB is a fully managed NoSQL database service that provides high availability and performance, suitable for various real-time applications.

Uploaded by

sachin verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views7 pages

AWS-Notes

The document outlines key AWS services including API Gateway, AWS Lambda, and Amazon DynamoDB. API Gateway enables the creation and management of secure APIs, while AWS Lambda offers serverless computing that automatically scales and executes code in response to events. DynamoDB is a fully managed NoSQL database service that provides high availability and performance, suitable for various real-time applications.

Uploaded by

sachin verma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 7

AWS Services :

1. API gateway :

Amazon API Gateway is a fully managed service


that allows developers to create, deploy, and
manage secure, scalable APIs that act as entry
points for backend services like Lambda, EC2,
DynamoDB, and other AWS services. It handles
authentication, request routing, rate limiting,
monitoring, and caching for APIs.

Features :
Fully Managed Service – No need to maintain
infrastructure.
Supports Multiple Protocols – Works with REST,
HTTP, WebSocket APIs.
Authentication & Authorization – Supports IAM,
Cognito, OAuth, JWT.
Rate Limiting & Throttling – Protects APIs from
abuse.
Request Transformation – Modifies incoming
requests before forwarding.
Monitoring & Logging – Integrated with
CloudWatch for logging and performance tracking.
Caching – Reduces backend load with response
caching.
Integration with AWS Services – Works with
Lambda, DynamoDB, S3, EC2, RDS, SNS, SQS.
Security – Provides WAF (Web Application Firewall)
integration to prevent attacks.
Custom Domain Names – Allows mapping APIs to
custom domains.
https://3tbqm3ras4.execute-api.us-east-
1.amazonaws.com/prod = invoke URL.

* steps to deploy node app to aws lambda and api


gateway :

1. create nodejs app using express, mongoose,


cors...
(add aws-serverless-express library in nodejs file)
2. then zip the project.
3. create lambda function : click on create function
and upload zip project folder and click on deploy
btn.
4. create api gateway - choose http or rest api type -
> integrate with lambda function -> define /users for
post or get routes -> deploy -> copy invoke URL.
4. test it in postman.
2. Lambda Function :

AWS Lambda is a serverless computing service that


automatically runs your code in response to events
without provisioning or managing servers. It
executes code only when needed and scales
automatically.

Event-driven: Runs only when an event triggers it.


Serverless: No need to manage infrastructure.
Auto-scalable: Handles any traffic volume
dynamically.
Pay-as-you-go: You’re charged only for execution
time.
Fully Managed No need to provision, manage, or
maintain servers
Uses : REST APIs: Lambda + API Gateway for
backend logic.
Data Processing: Process logs, files, and images
automatically.
Real-time Notifications: Send emails, SMS, or push
notifications.
Automated Backups: Trigger Lambda to backup
database changes.
Serverless Authentication: JWT-based
authentication.
IoT Applications: Process IoT device data.

Ex : same as above.

3. Amazon DynamoDB
Amazon DynamoDB is a fully managed NoSQL
database service provided by AWS. It offers high
availability, scalability, and performance while
automatically handling replication, backup, and
recovery.

Managed NoSQL Database – No need to manage


infrastructure, scaling, or backups.
✔ Scalable & Fast – Handles millions of requests
per second with automatic scaling.
✔ Key-Value and Document Store – Stores data as
items in tables, supporting JSON-like documents.
✔ Global Tables – Enables multi-region replication.
✔ Fine-Grained Access Control – Supports AWS
IAM policies for security.
✔ Streams & Triggers – Supports real-time event-
driven architecture using AWS Lambda.

Use Cases of DynamoDB in Real-Time Applications


📌 User Profiles & Authentication – Stores user data
in applications.
📌 Session Storage – Ideal for handling temporary
user sessions.
📌 E-Commerce & Inventory Management – Stores
product data and tracks stock levels.
📌 IoT & Analytics – Processes high-velocity data
from IoT devices.
📌 Real-Time Leaderboards – Manages high-speed
read and write operations for gaming
leaderboards.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy