06-API Management-Containers&CloudNativeRoadShow PDF
06-API Management-Containers&CloudNativeRoadShow PDF
RoadShow
API Management
Juan Carlos Cepeda Valero
Solutions Architect
April / 2019
[email protected]
https://www.linkedin.com/in/juank1400/
1
BACKGROUND
NEW PATTERNS FOR DEVELOPMENT
Service Endpoints Architecture Development Process Deployment Infrastructure
Application
Programming
Interface
4
WHAT IS AN API?
5 https://www.redhat.com/en/resources/3scale-winning-api-economy-ebook
API Management
Why? -- Four Typical Business Benefits of APIs
7
WHY
9
Introducing the
API Model Canvas
Analogy: Business
Model Canvas
SECURE
M
AN E
AG TIZ
NE
OY
MO
E MO NI
PL
TO
DE
R
CONSUME
IMPLEMENT
STRATEGY
API Model Canvas
TE DIS OP
GN CO EL
ST SI VE DE
V
DE R
MOCK
Microcks
RED HAT APPLICATION INTEGRATION
RUNTIMES INTEGRATION AUTOMATION
DATA GRID
AMQ BROKER
VMs
Container Orchestration (OpenShift)
Composite
Layer Enterprise Integration Patterns Service Interactions Anti
Corruption
Service Composition Events Mesh Layer
Core Layer
17
TAKE CONTROL OF YOUR APIS
Creating & Exposing APIs is just the start
HTTP REST
Endpoints
Security & Access Control
Authentication
Lifecycle
Version Control Management
Documentation Monitoring
Portal Provisioning
Scalability Alerts
Policies Testing
API CENTRIC
MANAGEMENT AND LIFECYCLE
LIFECYCLE
➔ Testing
➔ Release
➔ Versions
➔ Deployment
MANAGEMENT ➔ SLA
CONTROL VISIBILITY
➔ Security ➔ Analytics
➔ Key management ➔ App tracking
➔ Rate limiting ➔ User tracking
➔ Policy enforcement ➔ Traffic alerts
➔ User management ➔ Engagement
➔ Provisioning ➔ Developer support
AUTHENTICATION
Ensure every client application is uniquely identified and can prove its identity
Web Application
Developer Apps API Gateway API Backend
Firewall
Mod_security and Apache are shipped and supported as part of any RHEL subscription.
Other WAFs can be used to protect the API Backend against: data exfiltration, SQL injection,
etc.
API CONTRACTS, THROTTLING & LIMITS
Package your APIs. Crete access tiers. Set rate limits.
API services
Package #1 Internal
- Endpoint A Teams
Allow/restrict access - Endpoint t B
Master Account
Master Admin
Tenant Account 1
- Manage Tenants
- Impersonate Tenants
Developer Traffic Mgmt /
Admin Portal
Portal API Gateway
Tenant Admin
- Manage tenant admins / users
Tenant Account 2 - Access APIs and Admin Portal
Member
Developer Traffic Mgmt /
Admin Portal
Portal API Gateway
- Access given services / sections
THANK YOU
plus.google.com/+RedHat facebook.com/redhatinc
linkedin.com/company/red-hat twitter.com/RedHatNews
youtube.com/user/RedHatVideos
1
3
1 GATEWAY LAYER
API Manager
Separation-of-Concerns !!
1. Access control
2. Transformation
2 COMPOSITE LAYER
Anti-corruption Layer
Legacy interface, transformations, “protection wall” to decouple domain models and
enforce bounded contexts