Sei sulla pagina 1di 18

A Distributed

Gateway at the
Edge
Akamai API Gateway
Is are building blocks
Challenge #1: Multiple Teams Create & Deploy APIs

● APIs no longer built by corporate IT

● Creates consistency problems across APIs

● No single view of API consumers

● Solving today by:


○ Deploying point solutions per use case
○ Repurposing existing hardware into gateway

3 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


Challenge #2: API Endpoints Growing Exponentially
Microservice 1
Web API

Container

Mobile Microservice 2
App
Web API

Container
Web
App

Microservice 3
11 ways to order 100s of API endpoints to Web API
pizza today = create, manage and secure

Container

4 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


Challenge #3: Scale & Reliability For Global Consumers
● Where are your API consumers? Boston
Paris
Tokyo

● Where are your API calls being served from?

● Gateway often locked into a DC or region


Region- US West

● Centralized gateways can limit your architecture API Gateway

● Failover when DC or region goes down?

● MYTH: Elastic autoscaling will save you London Mumbai San Francisco

5 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


Akamai API Gateway
Instantly scale your APIs across 240,000 Edge servers deployed in 2400 globally distributed datacenters

©2018 AKAMAI | FASTER FORWARDTM


Every Edge Server Is An API Gateway

Instant Scale Globally Single Platform Developer Productivity


Seamlessly scale as your
Distributed Expose APIs to the outside Deploy and manage functions
traffic grows. Don’t build for Gateway functionality world via one governance using existing CI/CD pipelines
your biggest traffic day. performed close to and security layer for and tools
Eliminate the penalties of consumers. Ensures load consistency across the
auto-scaling. and logic is spread out. organization. Centralized
management. Provider
agnostic.

7 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


API Gateway Architecture
Smart endpoints and (not-so-dumb) pipes

Edge closest Edge


Consumers Akamai API to consumer closest to
Gateway server

Akamai Intelligent
Platform

Microservice
Users

Microservice
API

Microservice

Microservice
API
8 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential
Akamai API Capabilities

9 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


API Request Flow
API Gateway Benefits

$
Handle Traffic Decrease time to Reduce Costs Simplify architecture
Spikes market ● Eliminate man hours spent in
● Govern, deliver and
secure APIs on a single
● Seamless scale as ● Easily expand into new managing gateway servers platform
your traffic grows geographies
● Eliminate the need to ● Integration with network
● Eliminate the need to ● Integrate Gateway with replicate gateways in multiple and application layer
scale your resources deployment practices regions or data centers security solutions to
protect from
vulnerabilities & attacks

11 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


Increase Offload and Performance

● Cache at the Edge to skip requests entirely

● Don’t keep generating data that does not change.

● GraphQL full query caching

● Serve CORS pre-flight headers from the edge to


save a round-trip and improve AJAX call
performance

● Engineer your application to degrade gracefully

12 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


Control Consumer Access

● API key-based authentication

● JSON Web Token validation

● Secure API traffic with OAuth 2.0

● Enforce business SLAs with global quota limits

13 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


Platform Integration
● Define your API once to use with
Kona Site Defender, Bot Manager,
and API Gateway

● Transport-level security (TLS) offload

● Network-level security (IP


white/blacklist)

● HTTP/2 protocol enhancements

● Request constraints

14 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


Developer Productivity

● Automate gateway operations with administrative APIs

● Use API definitions (Swagger, RAML, OpenAPI 3) to


easily onboard APIs

● Basic management and configuration with command line


interface

● Download raw log data for ingestion into ELK stack or


Splunk

● Real time reporting dashboard

15 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


New Gateway 1.1 Features (Beta Started 10/01/18)

Cache GraphQL query responses to increase


Secure API traffic with OAuth 2.0
offload and reduce costs

OPENAPI 3

Quickly discover and mitigate operational errors with Easily onboard APIs on the platform in the new
real-time reporting dashboard OpenAPI 3 specification

16 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


Next Steps
● Try API Gateway via Marketplace (Free 90 day trial, unlimited traffic)

● Technical resources to get started https://developer.akamai.com/akamai-api-gateway-overview

17 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential


Appendix

Akamai API Gateway

18 | Presentation Title Here (edit on master slide) | © 2018 Akamai | Confidential

Potrebbero piacerti anche