DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Build a Serverless API with AWS Gateway and Lambda

4 years ago thenewstack.io
Build a Serverless API with AWS Gateway and Lambda

Summary: This is a summary of an article originally published by The New Stack. Read the full original article here →

As a leading serverless provider, Amazon Web Services (AWS) has made a huge contribution to the world of serverless development, and in this article, we will explain general API implementation concepts using AWS Lambda and other AWS services. AWS Lambda is an AWS service that is responsible for running particular functions in response to particular triggers — events happening in the application.

API Gateway is the fundamental part of serverless API, because it is responsible for the connection between a defined API and the function handling requests to that API.

This function will run in response to POST requests and will parse the author and text of the message from the request body and save that data into the database.

When the process is finished, open the AWS web console in your browser, navigate to API Gateway service, find the newly created API, and copy the URL to the root endpoint of your API.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com