Pivotal + Apigee
Workshop
Paris, June 4th 2019
Welcome!
Alexandre Roman
aroman@pivotal.io
@Alexandre_Roman
Platform Architect, Pivotal
Joël Gauci
joelgauci@google.com
@joel_gauci
Sales Engineer, Google Cloud
Agenda
1. Current state of Cloud and APIs [15 min]
2. Why Pivotal Cloud Foundry (PCF)? [15 min]
3. Why PCF with Apigee? [45 min]
4. Integration Options [30 min]
5. Q&A [15 min]
6. Pause [15 min]
7. Hands-on Lab [60 min]
Current state of Cloud and
APIs
Proprietary and confidential
Because APIs
Fuel Innovation
Why
APIs?
APIs and Microservices are complementary
CATALOG
CUSTOMER
REVIEWS
FAVORITES
RECOMMEND
ORDERS
SHOPPING
CART
Microservices
eCommerce
System
Monolithic
eCommerce
System
APIAPI
Rely on APIs to grow your business
rds
uy
More
Balance®
Rewards API
Photo
Prints API
Rewards
earn on checkout
Buy More
print photos in
store
Prescriptio
n API
Scheduler
API
ert
Alert
prescription refill ready
Schedule
flu shot in clinic
Agenda
1. Current state of Cloud and APIs [15 min]
2. Why Pivotal Cloud Foundry (PCF)? [15 min]
3. Why PCF with Apigee? [45 min]
4. Integration Options [30 min]
5. Q&A [15 min]
6. Pause [15 min]
7. Hands-on Lab [60 min]
Why
Pivotal Cloud Foundry (PCF)?
Pivotal’s partnership approach to software is holistic
Methodology
Learn the necessary practices to
build modern software
Tools
Build with products focused on
developer productivity
Platform
Run every app, on every cloud,
on a unified platform
Cloud-native
software
Pivotal Labs and
Services
Pivotal Cloud Foundry
Best-in-class products
Your teams
Pivotal
Culture
Continually improve and deliver
customer success
What is Pivotal Cloud Foundry?
Run modern apps Run containerized
workloads
Run scale-to-0
functions
Ecosystem of Pivotal
and partner services
Multi-cloud VMware Openstack AWS
Google
Cloud
Azure
Platform security Innovative engineering of extensive automation and go-fast-to-stay-safe approach
Pivotal
Application Service
Pivotal
Container Service
Pivotal
Function Service
Pivotal
Marketplace
Pivotal Cloud Foundry is a unified cloud-native platform.
No More Tickets — Self-Service Provision and Deploy
cf push
~45 seconds ~15+ Days
Find available hosts
Install & configure runtime
Install & configure middleware
Pull application source code
Retrieve dependent libraries
Create application package
Install, configure dependent service(s)
Deploy container to host(s)
Load environment variables
Configure load balancer
Configure firewalls
Update service monitoring tools
Configure log collector
2 Days
1 Day
1 Day
¼ Day
¼ Day
¼ Day
2 Days
½ Day
¼ Day
2 Days
2 Days
3 Days
1 Day
Code Complete & Tested
Application in Production
Speed &
Consistency
Agenda
1. Current state of Cloud and APIs [15 min]
2. Why Pivotal Cloud Foundry (PCF)? [15 min]
3. Why PCF with Apigee? [45 min]
4. Integration Options [30 min]
5. Q&A [15 min]
6. Pause [15 min]
7. Hands-on Lab [60 min]
Why PCF with Apigee ?
Step 1 - I have an idea...
Let’s write a micro-blogging site!
Yet Another Twitter Clone
The app is live:
yatc.cfapps.io
API gateway
Spring Cloud Gateway
Frontend UI
Spring Boot + Vue.js
Users API
Spring Cloud
Connections API
Spring Cloud
Feeds API
Spring Cloud
Search API
Spring Cloud
Posts API
Spring Cloud
Service Discovery
Netflix Eureka
httpshttps
Step 2 - My app is live & at scale
My app becomes famous: new users start using it every day
How can we handle more traffic coming to our API endpoint?
I want to open my app to partners
We’ll soon have to tackle new challenges: API access, API documentation, API usage, monetization
I could build my own API management tool…
But can we have a better solution, so that we can focus on writing OUR app instead?
API gateway
Spring Cloud Gateway
Frontend UI
Spring Boot + Vue.js
httpshttps
User
Edge Primary Gateway
My app, now
powered by Apigee
It’s about the full API Lifecycle
Deploy
Test
Document
Develop
Model
Update/Iterate
Threat Protection
Real Time
Monitoring
Maintain
Availability
Scale Traffic
Analyze
Data Access
Access Control
Monetize
Publish APIs
Build Use
Run
Load Testing
Transformation
Design
Coding
Package
Configuration
Versions
Logging
DDoS
Auditing
Portal
Developers
Documentation
Identity
Activity Metrics
Low Latency
Zero Downtime
Geo-Distribution
Staging
Quota
Swagger
Node.js
Integration
Debugging
Monitoring
Alerts
App Registration
Rate Plans
Roles
Mobile Data
Push Notification
Traffic Spikes
Why?
Customer App Developer API API Team Backend
Reduce time to develop connected experiences
Reduce operational complexity
Stimulate adoption of backend apps
Reduce time to build better software
Reduce operational complexity
Any app, Every cloud, One platform
Together, we accelerate modern app development and
simplify operations processes
Apigee API Management Platform
MachineLearning
ArtificialIntelligence
API Runtime
Mediation
Engine
API
Analytics
Developer
Ecosystem
Enterprise Gateway
Security
API Catalog
Developer
Engagement Metrics
Operational
Metrics
API Products
Extensions
API Marketplace
API Abuse Prevention
Business
Metrics
Client/SDK
Transformation
Istio
API Program
Metrics
Orchestration
API Monetization
Multiple Clouds
API Monitoring
So, how do you share your PCF
app with other developers?
It’s not as simple as just creating an API …
APP
APP
APP
Partners Internal Business Units
Open Developer
Community
? ? ?
Discoverability with Dev Portal
APIs need to be discoverable by developers
API Management Platform
It’s not as simple as just creating an API …It’s not as simple as just creating an API …
APP
APP
APP
Partners Internal Business Units
Open Developer
Community
Security with Edge Policies and Extensions
APIs need to be secured from external threats
API Management Platform
It’s not as simple as just creating an API …It’s not as simple as just creating an API …
APP
APP
APP
Partners Internal Business Units
Open Developer
Community
API Analytics End-to-End
APIs need to be monitored and analyzed by IT
API Management Platform
It’s not as simple as just creating an API …It’s not as simple as just creating an API …
APP
APP
APP
Partners Internal Business Units
Open Developer
Community
Agenda
1. Current state of Cloud and APIs [15 min]
2. Why Pivotal Cloud Foundry (PCF)? [15 min]
3. Why PCF with Apigee? [45 min]
4. Integration Options [30 min]
5. Q&A [15 min]
6. Pause [15 min]
7. Hands-on Lab [60 min]
Integration Options
Option 1:
Spring Cloud Gateway
Already done that: backend APIs served by
Spring Cloud Gateway
Option 2:
Edge Enterprise “Org Plan”
Edge Enterprise ● Edge Proxy (Cloud or On-Premises)
● Enterprise Gateway (30+ OOTB & custom
policies)
● Comprehensive & Tiered API Management
● Route Services / External or Internal
Routing
● Traffic Management, Quota Enforcement,
Security
Edge Enterprise “Org Plan” (Public or Private Cloud)
PCF Container
When do I use Org Plan?
● Network latency is not a concern
● Complex API use cases
● You want Cloud Foundry to be the entry point into your
network
ELB → Cloud Foundry Go Router → Edge
● Expose Cloud Foundry dynamic routes to clients
Option 3:
Apigee Edge Primary Gateway
“Just Another Target (JAT)”
Apigee Edge Primary Gateway
Client
Internet
or
Intranet
Virtual Machine
Cloud Foundry
Go Router
Container
Target API
Virtual Machine
2 3
4
5
VPC-1
VPC-2
Apigee Edge
6
1
When do I use Apigee Edge as the
Primary Gateway?
● If you only want a single point of
ingress/egress
● If you only want to expose the Edge domain
and hide Cloud Foundry domain
● Edge must be the first point of contact
● Network latency is not a concern
● Complex API use cases
Summary - How to decide?
Simplest architecture
Need quick deploy
Traffic hits Apigee first
Spring Cloud Gateway Edge Enterprise Edge Primary Gateway
Need to use full Apigee platform
Traffic must be routed to PCF first
First choice when creating API
Seamless integration with
Spring Framework
Traditional Use Cases
Mobile & Web apps
On-Premises, Legacy Apps
Offer APIs to business partners for
T-Mobile Tuesday promotion
Transform APIs from multiple
backends including inventory,
commerce, and contact center
systems
Routing
Security
Analytics
Expose APIs securely to internal
developers of web and mobile apps
App Modernization
CATALOG
CUSTOMER
REVIEWS
SHOPPPING
CART
RECOMMEND
Mobile & Web apps
Virtualized Apps
and Microservices
On-Premises, Legacy Apps
Route and monitor usage of both
legacy and modern services
Analyze the monolith by leveraging
Apigee’s analytics capabilities
Routing
Security
Analytics
Secure all services consistently from
cyber threats and traffic spikes
Insulate the modernization process
by using Apigee as an abstraction
Innovation That Puts Customers First
2.5B
API transactions/quarter and growing
40%
increase in release velocity
10,000
transactions per second with
no performance degradation
30
cf pushes per day
73M customers
2x growth over the last 5 years
40,000+
containers
1,700
developers
<12
operators
How Pivotal can help you modernizing your apps?
Move your apps
App Transformation
Build better apps
Pivotal Labs
Operate your platform
Pivotal Cloud Foundry Solutions
Pivotal Labs and Services teach
enterprises to accelerate their
adoption of cloud, modern software
practices, and organizational change.
Agenda
1. Current state of Cloud and APIs [15 min]
2. Why Pivotal Cloud Foundry (PCF)? [15 min]
3. Why PCF with Apigee? [45 min]
4. Integration Options [30 min]
5. Q&A [15 min]
6. Pause [15 min]
7. Hands-on Lab [60 min]
Agenda
1. Current state of Cloud and APIs [15 min]
2. Why Pivotal Cloud Foundry (PCF)? [15 min]
3. Why PCF with Apigee? [45 min]
4. Integration Options [30 min]
5. Q&A [15 min]
6. Pause [15 min]
7. Hands-on Lab [60 min]
Agenda
1. Current state of Cloud and APIs [15 min]
2. Why Pivotal Cloud Foundry (PCF)? [15 min]
3. Why PCF with Apigee? [45 min]
4. Integration Options [30 min]
5. Q&A [15 min]
6. Pause [15 min]
7. Hands-on Lab [60 min]
Hands-on Lab
Labs and Assets
● Follow instructions from this GitHub repository:
https://github.com/JoelGauci/pcf-apigee
● Push your first app to the Cloud in 15 min
● Connect this app to Apigee
Questions and feedback
Apigee Homepage
cloud.google.com/apigee
Documentation
docs.apigee.com
Community
community.apigee.com
cloud.google.com/community
Resources
cloud.google.com/apigee/resources
Let's make it a conversation. Ask questions as you have them!
After the session, please feel free to contact us at apigee-partner@google.com and events-france@pivotal.io
We encourage you to visit these pages:
Pivotal Cloud Foundry
pivotal.io/platform
Pivotal Web Services
run.pivotal.io
Getting started with PCF
pivotal.io/platform/pcf-tutorials/getting-started-with-pivotal-cloud-foundry
Getting started on Spring Cloud Gateway
spring.io/guides/gs/gateway
Join us at Pivotal Paris on 4th July
https://connect.pivotal.io/PivotalParis19.html
Register Today Use
Discount Code
S1P200_EMEA
October 7–10, 2019
Austin Convention Center
and Save!

Pivotal + Apigee Workshop (June 4th, 2019)

  • 1.
  • 2.
  • 3.
    Agenda 1. Current stateof Cloud and APIs [15 min] 2. Why Pivotal Cloud Foundry (PCF)? [15 min] 3. Why PCF with Apigee? [45 min] 4. Integration Options [30 min] 5. Q&A [15 min] 6. Pause [15 min] 7. Hands-on Lab [60 min]
  • 4.
    Current state ofCloud and APIs
  • 5.
    Proprietary and confidential BecauseAPIs Fuel Innovation Why APIs?
  • 6.
    APIs and Microservicesare complementary CATALOG CUSTOMER REVIEWS FAVORITES RECOMMEND ORDERS SHOPPING CART Microservices eCommerce System Monolithic eCommerce System APIAPI
  • 7.
    Rely on APIsto grow your business rds uy More Balance® Rewards API Photo Prints API Rewards earn on checkout Buy More print photos in store Prescriptio n API Scheduler API ert Alert prescription refill ready Schedule flu shot in clinic
  • 8.
    Agenda 1. Current stateof Cloud and APIs [15 min] 2. Why Pivotal Cloud Foundry (PCF)? [15 min] 3. Why PCF with Apigee? [45 min] 4. Integration Options [30 min] 5. Q&A [15 min] 6. Pause [15 min] 7. Hands-on Lab [60 min]
  • 9.
  • 10.
    Pivotal’s partnership approachto software is holistic Methodology Learn the necessary practices to build modern software Tools Build with products focused on developer productivity Platform Run every app, on every cloud, on a unified platform Cloud-native software Pivotal Labs and Services Pivotal Cloud Foundry Best-in-class products Your teams Pivotal Culture Continually improve and deliver customer success
  • 11.
    What is PivotalCloud Foundry? Run modern apps Run containerized workloads Run scale-to-0 functions Ecosystem of Pivotal and partner services Multi-cloud VMware Openstack AWS Google Cloud Azure Platform security Innovative engineering of extensive automation and go-fast-to-stay-safe approach Pivotal Application Service Pivotal Container Service Pivotal Function Service Pivotal Marketplace Pivotal Cloud Foundry is a unified cloud-native platform.
  • 12.
    No More Tickets— Self-Service Provision and Deploy cf push ~45 seconds ~15+ Days Find available hosts Install & configure runtime Install & configure middleware Pull application source code Retrieve dependent libraries Create application package Install, configure dependent service(s) Deploy container to host(s) Load environment variables Configure load balancer Configure firewalls Update service monitoring tools Configure log collector 2 Days 1 Day 1 Day ¼ Day ¼ Day ¼ Day 2 Days ½ Day ¼ Day 2 Days 2 Days 3 Days 1 Day Code Complete & Tested Application in Production Speed & Consistency
  • 13.
    Agenda 1. Current stateof Cloud and APIs [15 min] 2. Why Pivotal Cloud Foundry (PCF)? [15 min] 3. Why PCF with Apigee? [45 min] 4. Integration Options [30 min] 5. Q&A [15 min] 6. Pause [15 min] 7. Hands-on Lab [60 min]
  • 14.
    Why PCF withApigee ?
  • 15.
    Step 1 -I have an idea... Let’s write a micro-blogging site! Yet Another Twitter Clone
  • 16.
    The app islive: yatc.cfapps.io
  • 17.
    API gateway Spring CloudGateway Frontend UI Spring Boot + Vue.js Users API Spring Cloud Connections API Spring Cloud Feeds API Spring Cloud Search API Spring Cloud Posts API Spring Cloud Service Discovery Netflix Eureka httpshttps
  • 18.
    Step 2 -My app is live & at scale My app becomes famous: new users start using it every day How can we handle more traffic coming to our API endpoint? I want to open my app to partners We’ll soon have to tackle new challenges: API access, API documentation, API usage, monetization I could build my own API management tool… But can we have a better solution, so that we can focus on writing OUR app instead?
  • 19.
    API gateway Spring CloudGateway Frontend UI Spring Boot + Vue.js httpshttps User Edge Primary Gateway My app, now powered by Apigee
  • 20.
    It’s about thefull API Lifecycle Deploy Test Document Develop Model Update/Iterate Threat Protection Real Time Monitoring Maintain Availability Scale Traffic Analyze Data Access Access Control Monetize Publish APIs Build Use Run Load Testing Transformation Design Coding Package Configuration Versions Logging DDoS Auditing Portal Developers Documentation Identity Activity Metrics Low Latency Zero Downtime Geo-Distribution Staging Quota Swagger Node.js Integration Debugging Monitoring Alerts App Registration Rate Plans Roles Mobile Data Push Notification Traffic Spikes
  • 21.
    Why? Customer App DeveloperAPI API Team Backend Reduce time to develop connected experiences Reduce operational complexity Stimulate adoption of backend apps Reduce time to build better software Reduce operational complexity Any app, Every cloud, One platform Together, we accelerate modern app development and simplify operations processes
  • 22.
    Apigee API ManagementPlatform MachineLearning ArtificialIntelligence API Runtime Mediation Engine API Analytics Developer Ecosystem Enterprise Gateway Security API Catalog Developer Engagement Metrics Operational Metrics API Products Extensions API Marketplace API Abuse Prevention Business Metrics Client/SDK Transformation Istio API Program Metrics Orchestration API Monetization Multiple Clouds API Monitoring
  • 23.
    So, how doyou share your PCF app with other developers? It’s not as simple as just creating an API … APP APP APP Partners Internal Business Units Open Developer Community ? ? ?
  • 24.
    Discoverability with DevPortal APIs need to be discoverable by developers API Management Platform It’s not as simple as just creating an API …It’s not as simple as just creating an API … APP APP APP Partners Internal Business Units Open Developer Community
  • 25.
    Security with EdgePolicies and Extensions APIs need to be secured from external threats API Management Platform It’s not as simple as just creating an API …It’s not as simple as just creating an API … APP APP APP Partners Internal Business Units Open Developer Community
  • 26.
    API Analytics End-to-End APIsneed to be monitored and analyzed by IT API Management Platform It’s not as simple as just creating an API …It’s not as simple as just creating an API … APP APP APP Partners Internal Business Units Open Developer Community
  • 27.
    Agenda 1. Current stateof Cloud and APIs [15 min] 2. Why Pivotal Cloud Foundry (PCF)? [15 min] 3. Why PCF with Apigee? [45 min] 4. Integration Options [30 min] 5. Q&A [15 min] 6. Pause [15 min] 7. Hands-on Lab [60 min]
  • 28.
  • 29.
  • 30.
    Already done that:backend APIs served by Spring Cloud Gateway
  • 31.
  • 32.
    Edge Enterprise ●Edge Proxy (Cloud or On-Premises) ● Enterprise Gateway (30+ OOTB & custom policies) ● Comprehensive & Tiered API Management ● Route Services / External or Internal Routing ● Traffic Management, Quota Enforcement, Security Edge Enterprise “Org Plan” (Public or Private Cloud) PCF Container
  • 33.
    When do Iuse Org Plan? ● Network latency is not a concern ● Complex API use cases ● You want Cloud Foundry to be the entry point into your network ELB → Cloud Foundry Go Router → Edge ● Expose Cloud Foundry dynamic routes to clients
  • 34.
    Option 3: Apigee EdgePrimary Gateway “Just Another Target (JAT)”
  • 35.
    Apigee Edge PrimaryGateway Client Internet or Intranet Virtual Machine Cloud Foundry Go Router Container Target API Virtual Machine 2 3 4 5 VPC-1 VPC-2 Apigee Edge 6 1
  • 36.
    When do Iuse Apigee Edge as the Primary Gateway? ● If you only want a single point of ingress/egress ● If you only want to expose the Edge domain and hide Cloud Foundry domain ● Edge must be the first point of contact ● Network latency is not a concern ● Complex API use cases
  • 37.
    Summary - Howto decide? Simplest architecture Need quick deploy Traffic hits Apigee first Spring Cloud Gateway Edge Enterprise Edge Primary Gateway Need to use full Apigee platform Traffic must be routed to PCF first First choice when creating API Seamless integration with Spring Framework
  • 38.
    Traditional Use Cases Mobile& Web apps On-Premises, Legacy Apps Offer APIs to business partners for T-Mobile Tuesday promotion Transform APIs from multiple backends including inventory, commerce, and contact center systems Routing Security Analytics Expose APIs securely to internal developers of web and mobile apps
  • 39.
    App Modernization CATALOG CUSTOMER REVIEWS SHOPPPING CART RECOMMEND Mobile &Web apps Virtualized Apps and Microservices On-Premises, Legacy Apps Route and monitor usage of both legacy and modern services Analyze the monolith by leveraging Apigee’s analytics capabilities Routing Security Analytics Secure all services consistently from cyber threats and traffic spikes Insulate the modernization process by using Apigee as an abstraction
  • 40.
    Innovation That PutsCustomers First 2.5B API transactions/quarter and growing 40% increase in release velocity 10,000 transactions per second with no performance degradation 30 cf pushes per day 73M customers 2x growth over the last 5 years 40,000+ containers 1,700 developers <12 operators
  • 41.
    How Pivotal canhelp you modernizing your apps? Move your apps App Transformation Build better apps Pivotal Labs Operate your platform Pivotal Cloud Foundry Solutions Pivotal Labs and Services teach enterprises to accelerate their adoption of cloud, modern software practices, and organizational change.
  • 42.
    Agenda 1. Current stateof Cloud and APIs [15 min] 2. Why Pivotal Cloud Foundry (PCF)? [15 min] 3. Why PCF with Apigee? [45 min] 4. Integration Options [30 min] 5. Q&A [15 min] 6. Pause [15 min] 7. Hands-on Lab [60 min]
  • 43.
    Agenda 1. Current stateof Cloud and APIs [15 min] 2. Why Pivotal Cloud Foundry (PCF)? [15 min] 3. Why PCF with Apigee? [45 min] 4. Integration Options [30 min] 5. Q&A [15 min] 6. Pause [15 min] 7. Hands-on Lab [60 min]
  • 44.
    Agenda 1. Current stateof Cloud and APIs [15 min] 2. Why Pivotal Cloud Foundry (PCF)? [15 min] 3. Why PCF with Apigee? [45 min] 4. Integration Options [30 min] 5. Q&A [15 min] 6. Pause [15 min] 7. Hands-on Lab [60 min]
  • 45.
  • 46.
    Labs and Assets ●Follow instructions from this GitHub repository: https://github.com/JoelGauci/pcf-apigee ● Push your first app to the Cloud in 15 min ● Connect this app to Apigee
  • 47.
    Questions and feedback ApigeeHomepage cloud.google.com/apigee Documentation docs.apigee.com Community community.apigee.com cloud.google.com/community Resources cloud.google.com/apigee/resources Let's make it a conversation. Ask questions as you have them! After the session, please feel free to contact us at [email protected] and [email protected] We encourage you to visit these pages: Pivotal Cloud Foundry pivotal.io/platform Pivotal Web Services run.pivotal.io Getting started with PCF pivotal.io/platform/pcf-tutorials/getting-started-with-pivotal-cloud-foundry Getting started on Spring Cloud Gateway spring.io/guides/gs/gateway
  • 48.
    Join us atPivotal Paris on 4th July https://connect.pivotal.io/PivotalParis19.html
  • 49.
    Register Today Use DiscountCode S1P200_EMEA October 7–10, 2019 Austin Convention Center and Save!