Build RESTful Microservices with AWS Lambda and API Gateway
599 students completed the lab in ~54m
Total available time: 1h:30m
241 students rated this lab!
How to define Serverless APIs backed by AWS Lambda
Amazon API Gateway allows you to design RESTful interfaces and connect them with your favorite backend. You can design your own resources structure, add dynamic routing parameters, and develop custom authorizations logic. Each API resource can be configured independently, while each stage can have specific cache, throttling, and logging configurations.
This approach is particularly useful when you consider that each request and response can be attached to a custom mapping template, in order to perform custom data manipulation or improve API backward compatibility.
We will see how to define a simple API and how to connect it to AWS Lambda. This provides a nice way to obtain a scalable backend for modern web applications or mobile apps. We will configure custom stages, protect resources with an API key, and explain how to best connect API Gateway stages with AWS Lambda versions and aliases.
Lastly, we will learn about AWS Lambda's basic configuration, monitoring, and versioning.
Do you have questions about this Lab? Contact our cloud experts by sending an email to email@example.com.
Follow these steps to learn by building helpful cloud resources
Logging in to the Amazon Web Services Console
Your first step to start the Lab experience
What does RESTful mean and how do you work with microservices?
Define new API Gateway Resources
How do you define models, resources and dynamic routes in API Gateway?
AWS Lambda Functions setup
Design and configuration of new Lambda Functions.
API Gateway backend configuration
Connect Lambda to API Gateway as serverless backend.
Best practices for Versions, Aliases and Stages
What's the best way to configure Lambda aliases and API Gateway stages?
API Keys and Usage Plans
Secure API Gateway with managed API Keys.
Enable CORS on API Gateway Resources
How to enable CORS to obtain browser-ready APIs.
API Gateway Caching and Throttling
Caching and throttling configuration for stages and usage plans.
Clean up API Resources and Lambda Functions
How to delete your APIs and Lambda functions.