Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java...
Transcript of Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java...
Cloud native JavaCloud native JavaKanchana WelagedaraApache software foundation/JP Morgan chase
Kanchana WelagedaraApache software foundation/JP Morgan chase
@kanchanawelaged@kanchanawelaged
Monolithic Architecture Monolithic Architecture
BrowserBrowser Apache server
Apache server DBDB
Service-1Service-1
Service-3Service-3Service-2Service-2
WAR/TomcatWAR/Tomcat
OutcomesOutcomes Less ImmutabilityLess Immutability Less CI/CD capabilitiesLess CI/CD capabilities Less Automation capabilitiesLess Automation capabilities
Micro servicesMicro services12 factor12 factor Rest APIRest APITechnologyTechnology
OutcomesOutcomesImmutableImmutable CI/CDCI/CD AutomationAutomation
ValuesValues Cloud firstCloud first Small stepsSmall steps IntegrationIntegration
Cloud Native Architecture
Cloud Native ArchitectureCloud Native Architecture
Spring boot model for Could NativitySpring boot model for Could Nativity
ConfigurationConfiguration Service discovery
Service discovery
Circuit breakers
Circuit breakers
Routing and messaging
Routing and messaging
API GatewayAPI Gateway TracingTracing CI &Pipelines and Testing
CI &Pipelines and Testing
Let’s digging to code
• Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you need →Java 8, maven 3.1 or above IDE,might need Spring boot CLI, might need Spring Cloud CLI
Why?
• Why Spring• Why Jar, not war• Why by-name links for searching services
–
Demo
• The Config Server• Service Registration and Discovery• Edge Services: API gateways (circuit
breakers, client-side load balancing)• To the Cloud!• Security• Consumer Driven Contract Testing and
more!
QA QA
•
Thank you all & Josh Thank you all & Josh
•