SlideShare a Scribd company logo
5
Most read
11
Most read
AWS API
GATEWAY
D E C E M B E R 1 5 , 2 0 1 6
M U H A M M E D YA L Ç I N
CONTENT
• WHAT IS API GATEWAY?
• BENEFITS
• RESOURCES AND METHODS
• CREATE NEW API
• CREATE RESOURCE
• CREATE METHOD
• DEPLOY API
• PRICING « US WEST (OREGON) »
WHAT IS API GATEWAY?
• Amazon API Gateway helps developers to create and manage APIs to back-end
systems running on Amazon EC2, AWS Lambda or any pubicly addressable web
service.
• With Amazon API Gateway, you can generate custom client SDKs for your APIs, to
connect your back-end systems to mobile, web and server applications or services.
• The API you create in API Gateway consists of a set of resources and methods.
BENEFITS
• Low-cost and efficient
• Performance at any scale
• Easily monitor API Activity
• Streamline API Development
• Flexible Security Controls
• Create RESTful Endpoints for Existing Services
• Run Your APIs Without Servers
RESOURCES AND METHODS
• A resource is a logical entity that can be accessed through a resource path using the API.
• A resource can have one or more operations that are defined by appropriate HTTP verbs such as GET,
POST, and DELETE.
• A combination of a resource path and an operation identify a method in the API.
• Each method corresponds to a REST API request submitted by the user of your API and the
corresponding response returned to the user.
• API Gateway integrates the method with a targeted back end by mapping the method request to an
integration request acceptable by the back end and then mapping the integration response from the
back end to the method response returned to the user.
• As an API developer, you can configure how methods are mapped to integrations and vice versa by
stipulating what parameters to use and specifying mapping templates to transform payloads of given
data models.
CREATE NEW API
CREATE RESOURCE
• Resources in API Gateway is a API controller mechanism.
• Click Actions and select Create Resource.
CREATE METHOD
• Click Actions and select Create Method.
CON’T
• Methods can be GET, DELETE, UPDATE, POST
etc.
• Select an integration type. We will choose
Lambda Function.
• Select a lambda region. (us-west-2 etc.)
• Enter an existing lambda function from auto-
complete textbox.
CON’T
CON’T
• Click Integration Request. Click Body Mapping Templates. Add mapping templates.
GET method can have a parameters like a query string. Besides POST requests send
data from body part likewise.
• GET POST
DEPLOY API
• Click Action and select Deploy API. Click [New Stage]. Deploy new stage.
CON’T
• You can see get user url. Go and run it.
PRICING « US WEST (OREGON) »
• API Calls
– $3.50 per million API calls received, plus the cost of data transfer out, in gigabytes.
• Data Transfer Costs
– $0.09/GB for the first 10 TB
– $0.085/GB for the next 40 TB
– $0.07/GB for the next 100 TB
– $0.05/GB for the next 350 TB
CON’T
• Caching
CON’T
• Pricing Example:
– An API that receives five million API calls per month, with each API call returning
responses of 3 kilobytes (KB) in size with no caching.
– Example below reflects pricing for US East, US West, EU (Ireland)
Amazon API Gateway API call charges 5 million * $3.50/million = $17.50
Total size of data transfers 3 KB * 5 million= 15 million/KB = 14.3 GB
Amazon API Gateway data transfer
charges
14.3 GB * $0.09 = $1.29
Total Amazon API Gateway charges $17.50 + $1.29 = $18.79
CON’T
• Pricing Example with Caching Required (US East, US West, EU (Ireland))
– If your API needs 1.5 GB of cache for its data, you can provision a 1.6 GB cache at $0.038/hr.
– $0.038 * 24 = $0.912/day
REFERENCES
• https://aws.amazon.com/api-gateway/
• https://aws.amazon.com/api-gateway/pricing/
• http://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html
• https://aws.amazon.com/blogs/aws/amazon-api-gateway-build-and-run-scalable-
application-backends/

More Related Content

PDF
Serverless computing with AWS Lambda
PPTX
AWS Lambda
PDF
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
PDF
AWS Black Belt Online Seminar 2017 AWS Cognito
ODP
Introduction to Amazon Web Services
PPTX
Modern CI/CD Pipeline Using Azure DevOps
PPTX
What is AWS?
PDF
대용량 데이터베이스의 클라우드 네이티브 DB로 전환 시 확인해야 하는 체크 포인트-김지훈, AWS Database Specialist SA...
Serverless computing with AWS Lambda
AWS Lambda
AWS Lambda 내부 동작 방식 및 활용 방법 자세히 살펴 보기 - 김일호 솔루션즈 아키텍트 매니저, AWS :: AWS Summit ...
AWS Black Belt Online Seminar 2017 AWS Cognito
Introduction to Amazon Web Services
Modern CI/CD Pipeline Using Azure DevOps
What is AWS?
대용량 데이터베이스의 클라우드 네이티브 DB로 전환 시 확인해야 하는 체크 포인트-김지훈, AWS Database Specialist SA...

What's hot (20)

PPTX
Azure App Service
PDF
AWS Lambda
PPTX
AWS Cloud trail
PPTX
Introduction To AWS & AWS Lambda
PPTX
Azure Governance
PPT
Auto Scaling on AWS
PDF
AWS 101: Introduction to AWS
PDF
AWS Control Tower
PPSX
Microservices Docker Kubernetes Istio Kanban DevOps SRE
PDF
API Trends & Use Cases
PDF
Api Gateway
PPTX
AWS - Lambda Fundamentals
PDF
Microservices, Kubernetes and Istio - A Great Fit!
PDF
AWS 클라우드 기반 게임 아키텍처 사례 - AWS Summit Seoul 2017
PPTX
Event-driven microservices
PPTX
Azure API Management
PDF
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
PDF
Cloud native principles
PDF
AWS Tutorial | AWS Certified Solutions Architect | Amazon AWS | AWS Training ...
PPTX
AWS IAM and security
Azure App Service
AWS Lambda
AWS Cloud trail
Introduction To AWS & AWS Lambda
Azure Governance
Auto Scaling on AWS
AWS 101: Introduction to AWS
AWS Control Tower
Microservices Docker Kubernetes Istio Kanban DevOps SRE
API Trends & Use Cases
Api Gateway
AWS - Lambda Fundamentals
Microservices, Kubernetes and Istio - A Great Fit!
AWS 클라우드 기반 게임 아키텍처 사례 - AWS Summit Seoul 2017
Event-driven microservices
Azure API Management
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
Cloud native principles
AWS Tutorial | AWS Certified Solutions Architect | Amazon AWS | AWS Training ...
AWS IAM and security
Ad

Viewers also liked (6)

PPTX
Webrtc and tokbox
PDF
API Gateway report
PPTX
PPTX
Api gateway : To be or not to be
PDF
How to Make Awesome SlideShares: Tips & Tricks
PDF
Getting Started With SlideShare
Webrtc and tokbox
API Gateway report
Api gateway : To be or not to be
How to Make Awesome SlideShares: Tips & Tricks
Getting Started With SlideShare
Ad

Similar to AWS API Gateway (20)

PPTX
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
PDF
Aws Technical Day 2015 - Amazon API Gateway
PPTX
Introduction to AWS API Gateway Presentation
PDF
Api gateway-security
PPTX
Building API Driven Microservices
PPTX
Serverless APIs and you
PDF
Amazon API Gateway
PPTX
WEB API Gateway
PDF
The ultimate api checklist by Blendr.io
PDF
API Gateway How-To: The Many Ways to Apply the Gateway Pattern
PDF
Amazon Web Services Amazon: API Gateway.pdf
PDF
Core Dimensions of API Management
PDF
[Workshop] API-driven Integration
PDF
Api gateway
PPTX
Amazon API Gateway
PPTX
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
PDF
API Integration for Non-technical Individuals_ A Guide.pdf
PPTX
API Gateway with legend lambada
PDF
WSO2 User Group Bangalore Meetup
PDF
API Integration for non-technical people_ A Guide.pdf
AWS Summit Barcelona 2015 - Introducing Amazon API Gateway
Aws Technical Day 2015 - Amazon API Gateway
Introduction to AWS API Gateway Presentation
Api gateway-security
Building API Driven Microservices
Serverless APIs and you
Amazon API Gateway
WEB API Gateway
The ultimate api checklist by Blendr.io
API Gateway How-To: The Many Ways to Apply the Gateway Pattern
Amazon Web Services Amazon: API Gateway.pdf
Core Dimensions of API Management
[Workshop] API-driven Integration
Api gateway
Amazon API Gateway
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
API Integration for Non-technical Individuals_ A Guide.pdf
API Gateway with legend lambada
WSO2 User Group Bangalore Meetup
API Integration for non-technical people_ A Guide.pdf

Recently uploaded (20)

PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Transform Your Business with a Software ERP System
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
history of c programming in notes for students .pptx
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Introduction to Artificial Intelligence
PDF
Digital Strategies for Manufacturing Companies
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
System and Network Administration Chapter 2
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPTX
ai tools demonstartion for schools and inter college
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Operating system designcfffgfgggggggvggggggggg
Transform Your Business with a Software ERP System
Online Work Permit System for Fast Permit Processing
Adobe Illustrator 28.6 Crack My Vision of Vector Design
CHAPTER 2 - PM Management and IT Context
Upgrade and Innovation Strategies for SAP ERP Customers
history of c programming in notes for students .pptx
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Introduction to Artificial Intelligence
Digital Strategies for Manufacturing Companies
PTS Company Brochure 2025 (1).pdf.......
Design an Analysis of Algorithms II-SECS-1021-03
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
System and Network Administration Chapter 2
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
ai tools demonstartion for schools and inter college
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
2025 Textile ERP Trends: SAP, Odoo & Oracle
Wondershare Filmora 15 Crack With Activation Key [2025

AWS API Gateway

  • 1. AWS API GATEWAY D E C E M B E R 1 5 , 2 0 1 6 M U H A M M E D YA L Ç I N
  • 2. CONTENT • WHAT IS API GATEWAY? • BENEFITS • RESOURCES AND METHODS • CREATE NEW API • CREATE RESOURCE • CREATE METHOD • DEPLOY API • PRICING « US WEST (OREGON) »
  • 3. WHAT IS API GATEWAY? • Amazon API Gateway helps developers to create and manage APIs to back-end systems running on Amazon EC2, AWS Lambda or any pubicly addressable web service. • With Amazon API Gateway, you can generate custom client SDKs for your APIs, to connect your back-end systems to mobile, web and server applications or services. • The API you create in API Gateway consists of a set of resources and methods.
  • 4. BENEFITS • Low-cost and efficient • Performance at any scale • Easily monitor API Activity • Streamline API Development • Flexible Security Controls • Create RESTful Endpoints for Existing Services • Run Your APIs Without Servers
  • 5. RESOURCES AND METHODS • A resource is a logical entity that can be accessed through a resource path using the API. • A resource can have one or more operations that are defined by appropriate HTTP verbs such as GET, POST, and DELETE. • A combination of a resource path and an operation identify a method in the API. • Each method corresponds to a REST API request submitted by the user of your API and the corresponding response returned to the user. • API Gateway integrates the method with a targeted back end by mapping the method request to an integration request acceptable by the back end and then mapping the integration response from the back end to the method response returned to the user. • As an API developer, you can configure how methods are mapped to integrations and vice versa by stipulating what parameters to use and specifying mapping templates to transform payloads of given data models.
  • 7. CREATE RESOURCE • Resources in API Gateway is a API controller mechanism. • Click Actions and select Create Resource.
  • 8. CREATE METHOD • Click Actions and select Create Method.
  • 9. CON’T • Methods can be GET, DELETE, UPDATE, POST etc. • Select an integration type. We will choose Lambda Function. • Select a lambda region. (us-west-2 etc.) • Enter an existing lambda function from auto- complete textbox.
  • 11. CON’T • Click Integration Request. Click Body Mapping Templates. Add mapping templates. GET method can have a parameters like a query string. Besides POST requests send data from body part likewise. • GET POST
  • 12. DEPLOY API • Click Action and select Deploy API. Click [New Stage]. Deploy new stage.
  • 13. CON’T • You can see get user url. Go and run it.
  • 14. PRICING « US WEST (OREGON) » • API Calls – $3.50 per million API calls received, plus the cost of data transfer out, in gigabytes. • Data Transfer Costs – $0.09/GB for the first 10 TB – $0.085/GB for the next 40 TB – $0.07/GB for the next 100 TB – $0.05/GB for the next 350 TB
  • 16. CON’T • Pricing Example: – An API that receives five million API calls per month, with each API call returning responses of 3 kilobytes (KB) in size with no caching. – Example below reflects pricing for US East, US West, EU (Ireland) Amazon API Gateway API call charges 5 million * $3.50/million = $17.50 Total size of data transfers 3 KB * 5 million= 15 million/KB = 14.3 GB Amazon API Gateway data transfer charges 14.3 GB * $0.09 = $1.29 Total Amazon API Gateway charges $17.50 + $1.29 = $18.79
  • 17. CON’T • Pricing Example with Caching Required (US East, US West, EU (Ireland)) – If your API needs 1.5 GB of cache for its data, you can provision a 1.6 GB cache at $0.038/hr. – $0.038 * 24 = $0.912/day
  • 18. REFERENCES • https://aws.amazon.com/api-gateway/ • https://aws.amazon.com/api-gateway/pricing/ • http://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html • https://aws.amazon.com/blogs/aws/amazon-api-gateway-build-and-run-scalable- application-backends/