AWS - API Gateway


This post will show how to integrate lambda function with API Gateway.

From the AWS UI -> API Gateway -> REST API.



We will proceed to add a POST Method. POST means we will send a payload and get response.


Enter the lambda function which we created in the previous post.

This will prompt to create role in lambda.


The next page takes to.


Next, we will proceed with creating a Deploy API.




This will create an "Invoke URL". Now, let's try with the invoke URL from the local code.


And it worked.































Comments

Popular posts from this blog

K8s - ETCD

SRE/DevOps Syllabus

K8s - Deployment and HPA replicas