Transcription
Azure SpringCloudAsir SelvasinghPrincipal PM Architect --- Java on AzureSeptember 2020
On KubernetesYou do not have to learn ormanage Kubernetes
Spring – trusted and growingNov 2018Nov 201952.5 Million Spring Bootdownloads per month95 Million Spring Bootdownloads per monthSource – The State of Spring 2020
Why Spring and Spring Cloud Apps“The Spring and Spring/Boot frameworks(57%) dominate today when it comes tobuilding microservices ” – Jakarta EEDeveloper Survey
The world’sleadingbrands runon Azure
Spring on Azurecloud.spring.io/spring-cloud-azure/Spring DataSpring CloudSpring SecurityApp ConfigurationSQL DatabaseActive Directory (AAD)Event HubsMySQLAAD B2CService BusPostgreSQLStorageMaria DBRedisCosmos DB SQL MongoDB Cassandra GremlinFunctionsR2DBCSQL DatabasePostgreSQLMySQLSpring ResourceStorageSpring MessagingService BusSpring CacheRedis CacheMicrometerMonitor (includesLog Analytics)
Spring-based MicroservicesSpring BootSpring Clouddesigned to get youup and running asquickly as possible,with minimal upfrontconfiguration ofSpringprovides a set oftools that makescommunicationbetweenmicroserviceseasierBuild anythingCoordinate anything
Spring-based MicroservicesAppConsumersSpring CloudComponentsSpringCloud AppsBreakerdashboardSpring rvicesIoTMessage servicesBrowserConfigdashboardDistributedtracing
Common ImpedimentsAppConsumersSpring CloudComponentsBreakerdashboardHigh effort required tomanage cloud infrastructurefor Spring boot applicationsApplication lifecycle isdifficult to managePainful to troubleshootapplication issuesSpringCloud AppsSpring rvicesIoTMessage servicesBrowserConfigdashboardDistributedtracing
Azure SpringCloud
Azure Spring CloudA fully managed service for Spring Boot microservicesMore choices and full integration into Azure’s ecosystem and servicesFully managedinfrastructureBuilt-in applifecyclemanagementEnterprise readyEase ofmonitoring
Azure Spring CloudJointly developed,operated, and supportedManaged serviceTanzu Build ServiceZero code changesOut-of-the-boxmonitoring and tracing
On KubernetesYou do not have to learn ormanage Kubernetes
Fully Managed Infrastructure – Azure Spring Cloud Built-in native Spring CloudcomponentsAzure Databasefor MySQLAzure Cosmos DB(upcoming)TracingManaged IdentitiesService PrincipalsServiceBindingAzure Spring Cloud Distributed Tracing Circuit BreakerLogsMetrics Config Server Service RegistryAzure Active DirectoryAzure MonitorService RuntimeUser EnvironmentAzure Cachefor RedisConfigSourceApp 1App 2App NApp ResiliencyConfig ServerService RegistryLifecycle Mgmt.Log StreamData EncryptionCustom Domain Self-DiagnosticsUser Git Repository Blue/Green for zero downtime Auto Horizontal Scale basedon metrics or scheduleAzure DevOpsCI/CDAzure Spring CloudagentsVMware TanzuBuild ServiceGitHub VNET (private network) tosecure your app and traffic Microsoft CorporationJenkinsAzure Kubernetes ServiceAzure
Simplify your cloud development for Spring applicationsAzure MonitorResponsibilitiesDIY with SpringBootAzure SpringCloud ServiceApplicationiteration,debuggingAzure Active DirectoryAzure Databasefor MySQLLogsMetricsAzure Cosmos DBTracingManaged IdentitiesService PrincipalsServiceBindingCI/CDAzure Spring CloudBuild andmanage ClustersService RuntimeUser EnvironmentAzure Cachefor RedisHost SpringCloudMiddlewareConfigSourceApp 1Monitoring andloggingApp 2App NApp ResiliencyConfig ServerService RegistryLifecycle Mgmt.Log StreamData EncryptionCustom Domain Self-DiagnosticsUser Git RepositoryScalingAzure DevOpsPatchingCI/CDVMware TanzuBuild ServiceGitHubSupportCustomerAzure Spring CloudagentsVMwareMicrosoftJenkinsAzure Kubernetes Service
Demo –Azure SpringCloud
DemoDeploy Spring Cloud appsto Azure without worrying about:Infrastructure and scalingLearning or managing K8sSpring Cloud middleware – config, registry,tracing and gateway, orMonitoring
Deploy and Visualize
Setup Diagnostics
Troubleshoot
Troubleshoot
Which appinstance ismisbehaving slow?
Which App Instance is misbehaving slow?
MonitorPerformance
Monitor Performance
MonitorFailures
Manage secrets – zero-trust model
Reference Arch – isolate apps and expose apps to InternetIntegrate with Azure Firewall & App Gateway to allow deny traffic premises networkLocal edgeroutersMicrosoftedge routersGatewayGatewaySubnetManagement subnetExpressRouteGatewayJumpbox VMExpressRoutecircuitThreat intel, NAT,network and applicationtraffic filtering rulesallow inbound outbound accessAzureFirewallSubnetdefault subnet.DNSVirtual networkpeeringCorp FirewalConfig ServerRG corporate-hubUser configurationL3-L7 Connectivity PoliciesMicrosoft Threat IntelligenceKnown Malicious IPs and FQDNsInternetCustomer s networkService ubnetmysql-subnetPrivate FQDN.Corp ApplicationGatewayTraffic is denied by defaultAzure Loadbalancer
Demo code nic-microservices
Azure Spring Cloud – Recap
Azure Spring Cloud - BenefitsSimplify infrastructuremanagementBuilt-in applicationlifecycle managementEasily monitoryour appsRun your Spring Boot appsSpring Cloud componentsEasily identify performancebottlenecksScalable global infrastructureDeploy source code or build artifactsGain insight into app dependenciesusing Azure MonitorReduce downtime and deploymentriskAutomatically wire your app withSpring Cloud infrastructureAggregate metrics
On KubernetesYou do not have to learn ormanage Kubernetes
cloud.spring.io/spring-cloud-azure/Spring AzureSpring DataSpring CloudSpring SecurityApp ConfigurationSQL DatabaseActive Directory (AAD)Event HubsMySQLAAD B2CService BusPostgreSQLStorageMaria DBRedisCosmos DB SQL MongoDB Cassandra GremlinFunctionsR2DBCSQL DatabasePostgreSQLMySQLSpring ResourceStorageSpring MessagingService BusSpring CacheRedis CacheMicrometerMonitor (includesLog Analytics)
Get specialized assistance building Java apps ormigrating them to Azure Spring CloudWe cana) Guide your design and plan – thru architecture design session / workshopb) Help build representative proof of concepts or pilot By customer and engineers in Java on Azure teamNominate yourself
Get specialized assistance building Java apps or migratingthem to Azure Spring Cloudhttp://aka.ms/pilot-my-spring-cloud-apps
Build your cloud-native solutions today!Get started -ooooooDeploy Spring apps to Azure Spring Cloud using quickstartLearn using a self-paced workshop on GitHubDeploy an existing app to Azure Spring CloudLearn more about implementing solutions on Azure Spring CloudMigrate your Spring Boot, Spring Cloud and Tomcat apps to Azure Spring CloudWire Spring apps to interact with Azure services Microsoft CorporationAzure
building microservices " -Jakarta EE Developer Survey. The world's leading brands run on Azure. App Configuration Event Hubs Service Bus Storage Redis . Microservices Microservices Message brokers Databases. Azure Spring Cloud. Azure Spring Cloud More choices and full integration into Azure's ecosystem and services