9
Cloud native Java Cloud native Java Kanchana Welagedara Apache software foundation/JP Morgan chase Kanchana Welagedara Apache software foundation/JP Morgan chase @kanchanawelaged @kanchanawelaged

Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you

  • Upload
    others

  • View
    50

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you

Cloud native JavaCloud native JavaKanchana WelagedaraApache software foundation/JP Morgan chase

Kanchana WelagedaraApache software foundation/JP Morgan chase

@kanchanawelaged@kanchanawelaged

Page 2: Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you

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

Page 3: Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you

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

Page 4: Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you

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

Page 5: Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you

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

Page 6: Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you

Why?

• Why Spring• Why Jar, not war• Why by-name links for searching services

Page 7: Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you

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!

Page 8: Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you

QA QA

Page 9: Cloud native JavaCloud native Java - Linux Foundation Events€¦ · • Building cloud native Java application – Use Spring boot cloud components Set up->start.spring.io What you

Thank you all & Josh Thank you all & Josh