frsknalexis / spring-boot-aks

Deploying a simple Spring boot app in AKS and making it secure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

A pretty simple Spring boot project that communicates with Azure SQL DB and keeps secrets in Azure Key Vault, runs in Azure Kubernetes Service, communicates with both AKV and Azure SQL over Private Link. This project and the associated DevOps pipelines can be seen and used as a starting point for your actual project in Azure. The final architecture looks like

Final Architecture

Getting Started

This has been broken down into following set of articles:

  1. The basic setup - Creating a Simple Spring Boot App deployed on AKS talking to Azure SQL db. Everything is terraformized and run via Azure DevOps.
  2. Adding Identity & Governance - Using Azure AD Managed Identities to access Key Vault & SQL and using OPA based Azure Policy for Governance
  3. Securing the Network - Looks into using enabling Private Links for Key Vault & SQL, and at the end using Private AKS Cluster with Azure Firewall and some basic thoughts on Network Policies

About

Deploying a simple Spring boot app in AKS and making it secure


Languages

Language:HCL 88.9%Language:Java 10.7%Language:Dockerfile 0.4%