This document discusses automating an integrated API supply chain using a cloud-native architecture. It defines cloud nativeness and provides a reference cloud-native architecture. This includes layers for infrastructure, provisioning, runtime, orchestration, application definition, and more. It also discusses how to implement this for an API-led integration platform using Kubernetes, WSO2 API operators, and automated pipelines. The goal is to apply technologies to produce and deliver APIs with minimal human intervention.
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
[WSO2 Summit EMEA 2020] Automating an Integrated API Supply Chain Using a Cloud-Native Architecture
1. Automating an Integrated API Supply
Chain Using a Cloud-Native Architecture
September, 2020
chathurak@wso2.com
Lead Solutions Engineer_
Chathura Kulasinghe_
6. Cloud-native reference architecture by
6
Infrastructure (Bare-metal / Cloud)
Provisioning
Runtime
Orchestration & Management
Application Definition / Development
The Actual Computing Resources
● Bare-metal machines networked
together in a data-centre
● Virtual machines in a virtual network
(i.e. VMWare, CloudStack, Openstack)
● Google, Microsoft Azure, Amazon
cloud platforms
● A combination of the above (hybrid)
7. Cloud-native reference architecture by
7
Infrastructure (Bare-metal / Cloud)
Provisioning
Runtime
Orchestration & Management
Application Definition / Development
Host Management
● Installation and Maintenance
(updates, patches) of Operating
Systems
● e.g: CoreOS and RancherOS are
specialized host operating systems
that compliment containerized
environments
8. Cloud-native reference architecture by
8
Infrastructure (Bare-metal / Cloud)
Provisioning
Runtime
Orchestration & Management
Application Definition / Development
The Container Runtime
● Container Runtime Interface (CRI)
allows different implementations of container
runtimes (i.e. Docker, rkt, CRI-O)
● Container Network Interface (CNI)
allows different container network runtime
implementations (i.e. Default: BRIDGE, VLAN, IPVLAN,
DHCP, loopback OR Thrid-party: Weave, Calico, Cilium,
Flannel, WMWare, NSX).
● Container storage interface (CSI)
provides a common standard for container
orchestration platforms to use persistent storage
provided by different vendors.
9. Cloud-native reference architecture by
9
Infrastructure (Bare-metal / Cloud)
Provisioning
Runtime
Orchestration & Management
Application Definition / Development
Container Orchestration
● To manage containerized application
deployments across multiple
container host machines.
(Kubernetes, Cloud Foundry, Mesos, Nomad)
● Container scheduling, provisioning,
launching and discovery
● Monitoring, tracing and crash recovery
● Routing, load-balancing, and policy
enforcements
● Declarative system configuration
10. Cloud-native reference architecture by
10
Infrastructure (Bare-metal / Cloud)
Provisioning
Runtime
Orchestration & Management
Application Definition / Development The Application Definition
● Cloud-native application developers
mainly engage with this layer
● Languages, Frameworks, Registries,
Data, CICD
● Application-specific configurations
● Image repositories
13. 13
Design Center Engagement
Monitoring, Management and
Analytics
Runtime
DevOps Identity &
Access
Integration Studio Streaming Editor
API Design &
Mocking
API Publisher
API Portal API Marketplace
Connector Store
Monetization &
Billing
API
Administration
API Analytics
Integration
Dashboard
Tracing and
Monitoring
API Gateway
Micro Integrator Micro Gateway
Traffic Manager
Streaming
Integrator
Key Manager
Kubernetes Operators
Identity Manager
Access
Management
Single Sign-on
MFA & Adaptive
Auth
WSO2 Managed
Cloud
CI/CD
WSO2 Update
Manager
WSO2 CLI
Toolkits
WSO2 - a full featured API and integration platform
OnPrem Hybrid WSO2 Cloud AWS Azure Pivotal CF Kubernetes
14. The “API Supply Chain” & Automation
14
https://thenewstack.io/a-successful-api-strategy-needs-a-digital-supply-chain-and-a-thriving-ecosystem/
— Create and apply technologies
to produce and deliver goods and services
with minimal human intervention.
17. WSO2 Kubernetes API Operator in Action...
apictl add api
-n products-api
--from-file=products_swagger.yaml
products_swagger.yaml
K8s
API Server Target Endpoint
API (CRD+Controller)
Security
Rate Limiting
Run Kaniko
Build Image
Push to Registry
Create
- Service
- Pods
- Deployment
- HPA
Deploy in Cluster
Config-map
API Operator
Service
Deployment
HPA
Pods
Registry
17
18. WSO2 API Operator for Kubernetes
● Hides complexities in API
Deployment
● Simplifies publishing process of a
service as a managed API
● Handles autoscaling of the API
gateway runtime
● Facilitates promoting/demoting
APIs between/among environments
18
21. Technology Partner of your API Strategy and Implementation
21
https://wso2.com/strategic-consulting/
https://wso2.com/contact/
chathurak@wso2.com
https://www.linkedin.com/in/ck008
https://github.com/wso2/reference-architecture/blob/master/r
eference-cloud-native-architecture-digital-enterprise.md
Image: https://www.crn.com/news/cloud/crn-exclusive-new-google-cloud-partner-advantage-program-launches-today