DEV Community

3

Rest API using Amazon Lambda & ApiGateway

Day24

[24/30] #30DaysOfAWS Today, Amazon Lambda with Amazon ApiGateway & Hands-On.

AWS Lambda is a serverless computing service that allows you to run code in response to events without the need to provision or manage servers. You can write your code in various programming languages (such as Python, Node.js, Java, etc.) and upload it to Lambda. When an event occurs (e.g., an HTTP request, a file being uploaded to Amazon S3, a database update), Lambda automatically executes your code in a container, scales as needed, and then stops the execution when the code is finished.

Amazon API Gateway is a managed service that enables you to create, publish, maintain, monitor, and secure APIs at any scale. It acts as a front-end for your APIs, allowing you to define endpoints, request/response models, authentication, throttling, and more. API Gateway can be used to create RESTful APIs or WebSocket APIs.

Recently I wanted to make a personal project related to Sinhalen AWS. I make Rest API using Amazon Lambda & ApiGateway. It's a cool project. The procedure is user selects AWS service after that visible service details in Sinhala language. Its now under development publish will soon.

Architecture Diagram

Step-by-step tutorial for How to create Rest API using Lambda &
ApiGateway
. You can download it using this URL.

Learn More - https://docs.aws.amazon.com/lambda/latest/dg/services-apigateway.html

Thanks for reading the Article.

Connect with me

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

Best Practices for Running  Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK cover image

Best Practices for Running Container WordPress on AWS (ECS, EFS, RDS, ELB) using CDK

This post discusses the process of migrating a growing WordPress eShop business to AWS using AWS CDK for an easily scalable, high availability architecture. The detailed structure encompasses several pillars: Compute, Storage, Database, Cache, CDN, DNS, Security, and Backup.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay