Giter Site home page Giter Site logo

dantelmomsft / app-templates-springboot-microservices-on-aks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/app-templates-springboot-microservices-on-aks

0.0 0.0 0.0 3.76 MB

Microservices based spring boot app deployed to AKS

License: Apache License 2.0

Shell 4.09% JavaScript 39.06% Java 20.24% CSS 0.36% Makefile 0.26% HTML 3.77% Smarty 0.39% Dockerfile 0.50% Less 2.31% Bicep 29.01%

app-templates-springboot-microservices-on-aks's Introduction

Spring Boot PetClinic Microserices Application Deployed to Azure Kubernetes Service (AKS)

Description

In this sample app template of the PetClinic Microservices application (a Spring Boot based app). Each of the Application Microservices are containerized and deployed to an Azure Kubernetes Service (AKS) cluster secured by Azure Firewall

Deploy Spring Boot apps using Azure Services:


Tech stack:

  • Azure
  • Azure Infra (Hub & Spoke Toppology)
  • Azure Infra (VNet Peering)
  • Azure User Defined Routing (UDR)
  • Azure Application Inisghts
  • Azure Log Analytics
  • Azure Application Gateway
  • Azure Fire Wall
  • Azure Bastion
  • Azure Container Registry (ACR)
  • Azure Kubernetes Service (AKS) Cluster
  • Azure PostgreSQL DB
  • Github Actions
  • Bicep
  • Docker
  • Maven
  • Springboot

petclinic-screenshot


Introduction

This is a quickstart template. It deploys the following:

  • Deploying PetClinic App:

    • PostgreSQL Database configuration
    • Provisioning Azure Infra Services with BICEP
    • Create the Microservices Spring-Petclinic - build with Maven
    • Create an Azure Container Registry
    • Push your app to the container registry
    • Create an Azure Kubernetes Services (AKS) Cluster
    • Deploy each of the Microservies to your AKS cluster
    • Verify your container images
  • PetClinic on Automated CI/CD with GitHub Action

    • CI/CD on GitHub Action
    • CI/CD in action with the app

Refer to the App Templates repo Readme for more samples that are compatible with azure dev cli.

Prerequisites

  • Local shell with Azure CLI installed or Azure Cloud Shell
  • Azure Subscription, on which you are able to create resources and assign permissions
    • View your subscription using az account show
    • If you don't have an account, you can create one for free.

Getting Started

Fork the repository

  1. Fork the repository by clicking the 'Fork' button on the top right of the page. This creates a local copy of the repository for you to work in.

  2. Configure GITHUB Actions: Follow the instructions in the GITHUB_ACTIONS_CONFIG.md file (Located in the .github folder.)

  3. Run the workflow

    • If workflows are enabled for this repository it should run automatically. To enable the workflow run automatically, Go to Actions and enable the workflow if needed.
    • Workflow can be manually run
      • Under your repository name, click Actions .
      • In the left sidebar, click the workflow "Build and Deploy Application".
      • Above the list of workflow runs, select Run workflow .
      • Use the Branch dropdown to select the workflow's main branch, Click Run workflow .

Pet Clinic Website

petclinic-screenshot

Congratulations! Now you have your containerized Java Sping Boot App deployed on AKS with supported JDK pushed to your ACR.

Pet Clinic Website - IP Address

  1. If you wish to view the PetClinic Deployment, you have the following options:

    • Log into the Azure Portal
    • Nagivate the the "petclinic_spoke_eastus" Resource Group
    • Select the AKS Cluster
    • At the top of the page select "Connect" and follow the instructions listed on the Connect to AKS-petclinic

app-templates-springboot-microservices-on-aks's People

Contributors

aarthiem avatar anishi1222 avatar microsoftopensource avatar miketb-microsoft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.