Modernizing Digital APIs Platform
to Cloud Native Microservices
Yogi Rampuria
@yogendra | yrampuria@pivotal.io
October 7–10, 2019
Austin Convention Center
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Safe Harbor Statement
The following is intended to outline the general direction of Pivotal's offerings. It is intended for information
purposes only and may not be incorporated into any contract. Any information regarding pre-release of
Pivotal offerings, future updates or other planned modifications is subject to ongoing evaluation by Pivotal
and is subject to change. This information is provided without warranty or any kind, express or implied, and
is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making
purchasing decisions regarding Pivotal's offerings. These purchasing decisions should only be based on
features currently available. The development, release, and timing of any features or functionality described
for Pivotal's offerings in this presentation remain at the sole discretion of Pivotal. Pivotal has no obligation to
update forward looking information in this presentation.
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Yogi
● Engineer (I❤Spring)
● Open Source User and Contributor
● Senior Platform Architect, Pivotal
● Worked at Barclays, BlackRock and Standard
Chartered Bank
● Living in Singapore
● Traveller ( 24 Cities, 9 Countries, 2 continents)
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Agenda
What are Digital APIs?
Why Modernize?
How we are doing it?
Challenges and Learnings
Outcomes
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
What are Digital APIs?
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Why Modernize?
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Product
Domain &
Sub-Domain
Key Driver - Strategic Organizational Changes
7

Project
Business
Functions
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Key Driver - Agile Software Delivery
Self-sustaining teams
Team Composition: Scrum
Master, Engineer and Product
Owner
“DevOps” delivery teams
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Key Driver - Digital Transformation
Mobile first
Microservices
Two speed architecture
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Cloud Native Architecture
Pivotal Platform
Open source technology:
Spring, Spring Boot, Spring
Integration, etc.
Key Driver - Cloud Journey
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Key Driver - Operational Challenges
No clear upgrade path
Realtime Scaling
Continuous Delivery
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
How?
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Team Organization
● 6 - 8 Member teams
● Multi discipline team members
● Enabled and empowered existing teams
○ SME role
○ Engineer test harness
○ Provide guidance on context and data formats
1
3

Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
CI/CD and DevOps Practices
● Automated build, test, code analysis, security scan and deploy
● High threshold for quality gates and test coverage
● Reward and recognition for accelerating adoption of all practices
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Design and Development Guidelines
● No change for API consumers
● Test Driven Development
● Library for common pattern
● Minimize impact on developer
productivity
● Avoid boilerplate code
● IDE with SonarQube integration
and debugger
1
5

● Avoid cross over between new and
old stack
● Controlled traffic migration
● Canary deployments
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Solution
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
What worked?
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
What worked?
● Ability to scale individual API
● Autoscaling
● Continuous delivery-ready
● Core/Helper framework simplified enterprise service access
● Reduced rework
● Staggered roll out for APIs based on region and segments
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
What we learned?
● Learning curve for the team
● Power of open source community
● Config Drifts
○ DNS Configuration
● Releasing early and releasing often
Unless otherwise indicated, these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
Outcome
● No change tickets for scaling APIs
● Faster delivery of API enhancements, within days.
● Shorter feedback loop
● Handling over 10% of total traffic for digital APIs
● Reduced change failure risk through selective routing
Thanks
Hear more customer journeys
Singing the "Migration Song" with No Downtime
(Wednesday, 5:40 pm–6:10 pm, 12AB)
From 10 Deploys Per Year to 4 Per Day
(Thursday, 11:50 am–12:20 pm, Ballroom F)
#springone@s1p

Modernizing Digital APIs Platform to Cloud-Native Microservices

  • 1.
    Modernizing Digital APIsPlatform to Cloud Native Microservices Yogi Rampuria @yogendra | yrampuria@pivotal.io October 7–10, 2019 Austin Convention Center
  • 2.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Safe Harbor Statement The following is intended to outline the general direction of Pivotal's offerings. It is intended for information purposes only and may not be incorporated into any contract. Any information regarding pre-release of Pivotal offerings, future updates or other planned modifications is subject to ongoing evaluation by Pivotal and is subject to change. This information is provided without warranty or any kind, express or implied, and is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions regarding Pivotal's offerings. These purchasing decisions should only be based on features currently available. The development, release, and timing of any features or functionality described for Pivotal's offerings in this presentation remain at the sole discretion of Pivotal. Pivotal has no obligation to update forward looking information in this presentation.
  • 3.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Yogi ● Engineer (I❤Spring) ● Open Source User and Contributor ● Senior Platform Architect, Pivotal ● Worked at Barclays, BlackRock and Standard Chartered Bank ● Living in Singapore ● Traveller ( 24 Cities, 9 Countries, 2 continents)
  • 4.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Agenda What are Digital APIs? Why Modernize? How we are doing it? Challenges and Learnings Outcomes
  • 5.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What are Digital APIs?
  • 6.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Why Modernize?
  • 7.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Product Domain & Sub-Domain Key Driver - Strategic Organizational Changes 7  Project Business Functions
  • 8.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Key Driver - Agile Software Delivery Self-sustaining teams Team Composition: Scrum Master, Engineer and Product Owner “DevOps” delivery teams
  • 9.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Key Driver - Digital Transformation Mobile first Microservices Two speed architecture
  • 10.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Cloud Native Architecture Pivotal Platform Open source technology: Spring, Spring Boot, Spring Integration, etc. Key Driver - Cloud Journey
  • 11.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Key Driver - Operational Challenges No clear upgrade path Realtime Scaling Continuous Delivery
  • 12.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ How?
  • 13.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Team Organization ● 6 - 8 Member teams ● Multi discipline team members ● Enabled and empowered existing teams ○ SME role ○ Engineer test harness ○ Provide guidance on context and data formats 1 3 
  • 14.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ CI/CD and DevOps Practices ● Automated build, test, code analysis, security scan and deploy ● High threshold for quality gates and test coverage ● Reward and recognition for accelerating adoption of all practices
  • 15.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Design and Development Guidelines ● No change for API consumers ● Test Driven Development ● Library for common pattern ● Minimize impact on developer productivity ● Avoid boilerplate code ● IDE with SonarQube integration and debugger 1 5  ● Avoid cross over between new and old stack ● Controlled traffic migration ● Canary deployments
  • 16.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Solution
  • 17.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What worked?
  • 18.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What worked? ● Ability to scale individual API ● Autoscaling ● Continuous delivery-ready ● Core/Helper framework simplified enterprise service access ● Reduced rework ● Staggered roll out for APIs based on region and segments
  • 19.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What we learned? ● Learning curve for the team ● Power of open source community ● Config Drifts ○ DNS Configuration ● Releasing early and releasing often
  • 20.
    Unless otherwise indicated,these slides are © 2013-2019 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Outcome ● No change tickets for scaling APIs ● Faster delivery of API enhancements, within days. ● Shorter feedback loop ● Handling over 10% of total traffic for digital APIs ● Reduced change failure risk through selective routing
  • 21.
    Thanks Hear more customerjourneys Singing the "Migration Song" with No Downtime (Wednesday, 5:40 pm–6:10 pm, 12AB) From 10 Deploys Per Year to 4 Per Day (Thursday, 11:50 am–12:20 pm, Ballroom F) #springone@s1p