This workshop shows how to use Pivotal Cloud Foundry to push your apps to the Cloud, and how to leverage Google Apigee to manage your APIs at scale.
This presentation includes a link to an hands-on lab to help you better understand the value of Pivotal + Apigee to build your next app.
Your hosts: Joël Gauci (Google), Alexandre Roman (Pivotal).
6. APIs and Microservices are complementary
CATALOG
CUSTOMER
REVIEWS
FAVORITES
RECOMMEND
ORDERS
SHOPPING
CART
Microservices
eCommerce
System
Monolithic
eCommerce
System
APIAPI
7. 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
8. 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]
10. 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
11. 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.
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 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]
17. 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
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 Cloud Gateway
Frontend UI
Spring Boot + Vue.js
httpshttps
User
Edge Primary Gateway
My app, now
powered by Apigee
20. 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
21. 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
22. 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
23. 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
? ? ?
24. 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
25. 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
26. 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
27. 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]
33. 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
35. 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
36. 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
37. 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
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 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
41. 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.
42. 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]
43. 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]
44. 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]
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
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
48. Join us at Pivotal Paris on 4th July
https://connect.pivotal.io/PivotalParis19.html