Deploying API Gateway as a Proxy for Kinesis

45 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this lab, we will be deploying an API gateway as a proxy for Kinesis. We will create two streams in Kinesis, create a REST API, and list the streams in the API gateway. The proxy provides an additional layer of security and allows you to decouple services.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create Kinesis Streams

Create myStream and yourStream in Kinesis.

Deploy a Rest API

Deploy a new Rest API.

List Kinesis Streams in API Gateway

Configure and test REST API should bring back a 200 code.

Additional Resources

In this scenario, you will be stepping into the shoes of a cloud engineer that needs to make their Kinesis streams proxy out through a REST API.

Here is the custom trust policy that we are using:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "",
      "Effect": "Allow",
      "Principal": {
        "Service": "apigateway.amazonaws.com"
      },
      "Action": "sts:AssumeRole"
    }
  ]
}                        

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?