Trigger AWS Lambda using API Gateway to access EC2 instance

Steve George
AWS Tip
Published in
6 min readJan 16, 2022

--

Before we start, lets understand the basics of API Gateway, Lambda function and EC2 instances.

  • API Gateway : It is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale
  • Lambda Function : A serverless, event-driven compute service that lets you run code virtually for…

--

--

Machine Learning Architect | Data Science | MLOps| Microsoft Azure Certified | AWS Certified | DevOps