GithubHelp home page GithubHelp logo

elb2's Introduction

APIGateway

Setting up an API Gateway with Kenesis

Creating an API Gateway with Kenesis

Creation Date: November 29, 2023
Created By: Yeison Giraldo
โ€‹

โ€‹

1. Log in to console and search for IAM

You will need to create a role to give permissions to the API to talk to Kinesis

Log in to console and search for IAM

2. Click on Roles

Once you are in IAM console click on Roles

Click on Roles

3. Click on Create role

Click on Create role

4. Click on AWS Service

In Use Case select API Gateway

Click on AWS Service

5. Click on Next

Click on Next

6. Click on Next

Leave default settings

Click on Next

7. For Role name Type "tutorial-api-gateway"

For Role name Type "tutorial-api-gateway"

8. Click on Create role

Click on Create role

9. Now we are going to attached a Policy to that role

Click on tutorial-api-gateway

Now we are going to attached a Policy to that role

10. Click on Add permissions

Click on Add permissions

11. Click on Attach policies

Click on Attach policies

12. Look for AmazonKinesisAnalyticsFull Access

Click on the box and then Add permissions

Look for AmazonKinesisAnalyticsFull Access

13. Now look for Kinesis

We need to create a kinesis data stream

Now look for Kinesis

14. Click on Create data stream

Click on Create data stream

15. Give it a name "event-pipe"

Select Provisioned leave everything else default

Give it a name "event-pipe"

16. Click on Create data stream

Click on Create data stream

17. Click on event-pipeโ€ฆ

Click on event-pipeโ€ฆ

18. Now we are going to create API Gateway

Now we are going to create API Gateway

19. Click on Build under REST API

Click on Build under REST API

20. Give it a Name "Event-Pipe"

Give it a Name "Event-Pipe"

21. Click on Create API

Click on Create API

22. Now that we have the API ready

We need to create a resouce

Now that we have the API ready

23. Give it a name to the resource name "stream"

Give it a name to the resource name "stream"

24. Click on Create resource

Click on Create resource

25. Click on API actions

Click on API actions

26. Click on Create method

Click on Create method

27. Method Type Get

Select AWS Service

Method Type Get

28. Select Region

Aws Service Kinesis

HTTP Method ๐Ÿฃ

Select Region

29. Look for the role that was previous Created

Go to IAM console

Look for the role that was previous Created

30. Click on Roles

Click on Roles

31. Click on tutorial-api-gateway

Click on tutorial-api-gateway

32. Click on Copy ARN to clipboard

Click on Copy ARN to clipboard

33. Click on Execution role

and paste the ARN URL

Click on Execution role

34. Click on Create method

Click on Create method

35. Click on Integration request

Click on Integration request

36. Click on Edit

Click on Edit

37. Click on API Gateway

Click on API Gateway

38. Click on Event-Pipe

Click on Event-Pipe

39. Click on GET

Click on GET

40. Click on Deploy API Gateway

Click on Deploy API Gateway

# This are the basic steps to configure an API Gateway with Kinesis

You will need to continue configuring the API Gateway with your code to do data transformation and more.



elb2's People

Contributors

vargas-v avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.