Lab 8
Lab 8
Computing
Lab 8
Lambda + API Gateway
4/5/2024
AWS Lambda
• Serverless compute service operating as a Function as a Service (FaaS) platform,
automatically executing scripts without requiring server management
• Charges based on actual compute time (correlated with memory allocations) and
function invocations without upfront fees. It doesn't bill for idle resources, aligning
costs directly with usage (100ms increments)
https://aws.amazon.com/lambda/pricing/
https://docs.aws.amazon.com/whitepapers/latest/how-aws-pricing-works/lambda.html
AWS API Gateway
• It's a gateway for apps to connect with backend services like AWS
Lambda, DynamoDB, HTTP endpoints, or any web service, serving
as a centralized access point
https://aws.amazon.com/api-gateway/pricing/
https://aws.amazon.com/api-gateway/
Create API Gateway and Lambda to send Notification
….. …..
Create Lambda Function
Create Role
Attach Custom Policy to the Role
Create Role
Attach the Created Role
…..
Create API Gateway