You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploy Spring Boot CosmosDB App on Azure Container Services (Kubernetes)
Software products built around reusable REST based services is very popular and micro service architecture helps in deploying loosely coupled services. Containers make it easy for developers to run their software no matter where it is deployed. Building loosely coupled services by splitting the services based on line of businesses and business functions and deploying them in containers helps in fine grained scalability and versioning.
This article will demostrate deploying a Spring Boot Application on containers using Azure Container Services using Kubernetes orchestrator. App uses CosmosDB as its database. Spring Boot App and CosmosDB are independently scaled.
Azure Container Service for Kubernetes makes it simple to create, configure, and manage a cluster of virtual machines that are preconfigured to run containerized applications. ACS cluster can be created using Azure CLI, PowerShell or Azure portal.
Master nodes for container orchestration and Worker nodes(Agents) are deployed as VMs. Agents can be scaled in and out using Azure portal, CLI or PowerShell. All nodes are placed in separate subnets with the same virtual network (VNet). A load balancer is placed in front of the master VM, to allow secure shell (ssh).
Deploy the image to Azure Container Service Kubernetes cluster and expose port for the app to be available over the internet. An external IP is assigned to the app.
Kebernetes UI is available to manage the cluster and apps.
Test the deployed App using the external port
Monitor with OMS
About
Spring Boot App with CosmosDB backend deployable on Kubernetes