Developing RESTful Microservices with API Gateway and DynamoDB

Developing RESTful Microservices with API Gateway and DynamoDB
Developing RESTful Microservices with API Gateway and DynamoDB

CLOUD LABS

Developing RESTful Microservices with API Gateway and DynamoDB

In this Cloud Lab, we’ll learn to create a REST API on Amazon API Gateway and integrate it directly with DynamoDB.

9 Tasks

beginner

2hr

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

An understanding of the API Gateway service and its use cases
Hands-on experience creating and managing REST APIs on API Gateway
Working knowledge of data mapping in REST APIs
Hands-on experience integrating DynamoDB with API Gateway

Technologies
AWS logoAWS
API Gateway logoAPI Gateway
DynamoDB logoDynamoDB
IAM logoIAM
Cloud Lab Overview

API Gateway is one of the many services offered by AWS through which we can create, manage, and deploy different types of APIs, including HTTP, REST, and WebSocket.

In this Cloud Lab, you’ll create a REST API using the API Gateway service and integrate it directly with AWS DynamoDB. You’ll start by creating a table on DynamoDB to serve as the database for your API and insert data into the table using the AWS Python SDK. Next, you’ll create the REST API and configure its endpoints, methods, integrations, and data mappings with the DynamoDB table. Once the API is configured and deployed, you’ll invoke its different endpoints and view the results.

By the end of this Cloud Lab, you’ll have a strong understanding of REST APIs and the API Gateway service. You’ll be able to apply the knowledge you gain from this lab to create your own APIs with custom integrations with AWS services that can serve various real-world use cases.

Architecture Diagram
Architecture Diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.DynamoDB and IAM
Create a DynamoDB Table
Create an IAM Role
3.Configure the API
Create a REST API
Configure the GET Method
Configure the POST Method
Deploy and Test
4.Conclusion
Clean Up
Wrap Up!
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image