oracle's microservices strategy · microservices. • operations is not integrated in the...

18
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Oracle's Modern Microservices Strategy An Opinionated Platform on Kubernetes Boris M Scholl VP of Development Claudio Caldato Sr. Director of Development Oracle Cloud Microservices October 3rd, 2017 Confidential – Oracle Internal/Restricted/Highly Restricted

Upload: others

Post on 30-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

Oracle'sModernMicroservices StrategyAnOpinionatedPlatformonKubernetes

BorisMSchollVPofDevelopmentClaudioCaldatoSr.DirectorofDevelopmentOracleCloudMicroservicesOctober3rd,2017

Confidential– OracleInternal/Restricted/HighlyRestricted

Page 2: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

SafeHarborStatementThefollowingisintendedtooutlineourgeneralproductdirection.Itisintendedforinformationpurposesonly,andmaynotbeincorporatedintoanycontract.Itisnotacommitmenttodeliveranymaterial,code,orfunctionality,andshouldnotberelieduponinmakingpurchasingdecisions.Thedevelopment,release,andtimingofanyfeaturesorfunctionalitydescribedforOracle’sproductsremainsatthesolediscretionofOracle.

Confidential– OracleInternal/Restricted/HighlyRestricted 2

Page 3: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

ProgramAgenda

Motivation

OurStack

Demo

Roadmap

1

2

3

Confidential– OracleInternal/Restricted/HighlyRestricted 3

4

Page 4: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.| Confidential– OracleInternal/Restricted/HighlyRestricted 4

Motivation

Page 5: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

Today’sproblemswithcontainernativedevelopment

OracleConfidential– Internal/Restricted/HighlyRestricted 5

COMMONAPIANDSERVICESCI/CD

MANAGEDKUBERNETES

JAVAMICROSERVICES

DIAG

NOSTICS

• Programmingmodelandinfrastructureareentangled,thereisnoclearseparationanddevelopersneedtounderstandtheunderneathinfrastructuretomaketheirservicework

• Lackoffocusondevelopersmakesonboardingonandoperateexistingsolutionsexpensiveandtimeconsuming

• Externalservicedependenciesneedtobewiredupmanually• ThereisnounifiedapproachforServerless andcontainer-basedMicroservices.

• Operationsisnotintegratedintheplatformmakingitanexpensiveafterthought

• Turnkeymicroservices platformslackopennessandmodularity

Page 6: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

Today’sproblemswithcontainernativedevelopment

OracleConfidential– Internal/Restricted/HighlyRestricted 6

COMMONAPIANDSERVICESCI/CD

MANAGEDKUBERNETES

JAVAMICROSERVICES

DIAG

NOSTICS

• Kubernetes(K8S)providesapplicationinfrastructureformoderncloud-nativeapplications,butleavesmuchofdistributedsystemmanagementtoapplicationauthors:• Service/APIDiscovery• Backoff/RetryandIdempotency• Resiliency/CircuitBreakers• Diagnostics

• MuchasintheSOAdays,newtechnologiesareemergingtooutsourcethiscomplexityfromapplications:servicemeshes(istio/linkerd)

Page 7: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.| Confidential– OracleInternal/Restricted/HighlyRestricted 7

OurStack

Page 8: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

Microservices Stack

OracleConfidential– Internal/Restricted/HighlyRestricted 8

COMMONAPIANDSERVICESCI/CD

MANAGEDKUBERNETES

JAVAMICROSERVICES

DIAG

NOSTICS

• WestartwithacuratedpackageofOSSlaidontopofourmanagedK8Sservice:• DiagnosticsandOperations(Zipkin/Jaeger,Vizceral)• Istio(Servicemesh)• OpenServiceBrokerAPI(LinuxFoundation),whichisthefoundationoftheK8sservicecatalog

• APICatalog(Apiary)• EventManager(Kafkabased)

• Ourvalue-addistounifyallofthis,andfliptheexperienceforthedevelopertobeAPI-first:alwaysreactive,unifiedbetweenfunctions/services• Developersgetobservabilityand“distributedmuck”forfree

Page 9: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

ArchitecturalandFunctionalOverview

Confidential– OracleInternal/Restricted/HighlyRestricted 9

OKE

ISTIOServiceMesh/ISTIO

ISTIO

ISTIOServiceBroker

Kubernetes

APIRegistry+

ISTIOCLI– kubectl-oms ISTIODeveloperConsole

ISTIO

Diagno

stics/Mon

itorin

g

ISTIO

DeveloperCloud

Prometheus

• PublishandConsumeAPIsandmanagement• Generateclientlibraries• Mockservices

• RegistrationofcloudservicesanduserservicesAPIsandFn

• Configurationofserviceaccess

§ RoutingandDiscover(LB,A/Betc.)§ Resiliency(CircuitBreakeretc.)§ Servicemonitoringanddiagnostics§ InterServiceSecurityandPolicies

§ ClusterManagement/HA§ Orchestration§ Deploymentstrategies

ISTIOEventManager

RegisterEventprovidersandconsumers

CatalogService

OrderService

FooService

HighProductivityService/APIfirst

HighControlBuildonnativeK8s

Page 10: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

ServiceMesh• Istio isthefoundationofouroffering;besidesofferingingresscontrol,itprovidesanapplicationdeveloperdefaultservice-to-service:– Loadbalancing– Encryption– AccessPolicy– Resiliency– Upgradesandsophisticatedrouting(e.g.,1%canaries,etc.)– DiagnosticsandTracing

• WearefundamentallygoingtoalignwithIstio,andenhanceitintheopen,notlayerontop

Confidential– OracleInternal/Restricted/HighlyRestricted 10

Page 11: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

ServiceBroker• BuildingonOpenServiceBrokerAPI,wearegoingtounifyaccessto3rdpartyservicesonthemesh;developerswillbeabletoaccessserviceslikeDynamoDB/etc asifitisoneoftheirownservices• Wewillalsoenabledeveloperstoregisteruserservicesandfunctionswiththeservicebrokeronthemeshtogetthesameintegrationbenefitsmentionedabove• Every3rd partyservice,userserviceandfunctionregisteredthroughtheservicebrokerwillbeautoactivatedandaddedtotheAPIcatalog• OurservicebrokerwillregisterconnectioninformationandaccesstokenswiththeAPIcatalog;developersdonotneedtoconfiguresecureaccesstothirdpartyservicesandcanfocusonworkingwithAPIs

Confidential– OracleInternal/Restricted/HighlyRestricted 11

Page 12: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

APICatalog

• Apiary’sOSScomponentsarethefoundationofourAPIcatalog,weenhancetheircurrentmockserviceandBlueprint/OpenAPIfunctionalitybyadding– ClientLibrarygeneration,wewillstartwithsupportforJavaandJavaScript– SecuritysettingsforAPIaccess– SophisticatedroutingcapabilitiestoenableA/Btesting,Canarydeploymentsetc.

• EverycomponentregisteredwiththeAPIcatalogwillbedeeplyintegratedwiththemesh;asaresultdevelopersdonotneedtoworryaboutendpoints,security,routingandresiliency.

Confidential– OracleInternal/Restricted/HighlyRestricted 12

Page 13: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

Diagnosticsandoperations• TodaywearepackagingZipkin/OpenTracing/PrometheusandVizceral• Longtermasacloudproviderthisisourhugeopportunitytodifferentiatebyprovidingeasyaccessto:– Telemetry– Capacitymanagement– Securityauditing– ServiceDebugging/Introspection

• WewillbuildanoperationsUXthatenablesdeveloperstonotonlymonitor,diagnoseanddebugtheirservicesinrealtime,butalsotosetupsophisticateddeploymentandtestingscenariossuchasBlue/GreendeploymentandA/Btesting.

Confidential– OracleInternal/Restricted/HighlyRestricted 13

Page 14: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.| Confidential– OracleInternal/Restricted/HighlyRestricted 14

Demo

Page 15: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

KeyTakeaways• OpinionatedandOpen– useofprovenCNCFcomponents– Batteriesincludedbutreplaceable

• DeveloperProductivity– Abstractionofinfrastructure– Resiliencypushedintotheplatform– Diagnosticsandmonitoringpushedintotheplatform

• DevelopmentFirst– Easytoconsumeexternalservices– APIfirstapproach– FNintegration– Supportforeventdrivenarchitectures

Confidential– OracleInternal/Restricted/HighlyRestricted 15

Page 16: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.|

Doyouwanttotryit?• TechPreviewavailability– about4weeksafterOOW

• Pleasecontact:– [email protected][email protected]

Confidential– OracleInternal/Restricted/HighlyRestricted 16

Page 17: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •

Copyright©2017, Oracleand/oritsaffiliates.Allrightsreserved.| Confidential– OracleInternal/Restricted/HighlyRestricted 17

Page 18: Oracle's Microservices Strategy · Microservices. • Operations is not integrated in the platform making it an expensive ... (Zipkin/Jaeger, Vizceral) • Istio (Service mesh) •