Code Monkey home page Code Monkey logo

azure-spring-apps-multi-zone's Introduction

Azure Spring Apps multi zone reference architecture

This sample contains a Terraform template that deploys a working sample of the Azure architecture center reference architecture: Multi zone Azure Spring Apps reference architecture. The reference architecture and sample show how to run an Azure Spring Apps workload in a multi zone configuration. This allows for higher availability of the workload.

Multi zone Spring Apps architecture diagram

This sample also applies a proper reverse proxy configuration with host name preservation. This means that cookies and AAD redirects will be working as expected.

Features

This project framework provides the following features:

  • Multi-zone Spring Apps deployment with VNet integration
  • Proper reverse proxy configuration for Application Gateway with a custom domain
  • Integration with Key Vault
  • Integration with a MySQL Flexible database

Getting Started

Prerequisites

Before you begin, make sure you have the following available:

  • Azure Subscription with Contributor access
  • Azure Active Directory access
  • optional:
    • pfx certificate for your custom domain
    • GitHub Personal Access Token

[NOTE!] There is also an option to install this infrastructure with a self-signed certificate. This certificate will be generated for you during the deployment. However, this setup should only be used in testing scenario's.

To deploy the infrastructure, you can either make use of a locally installed environment, or you can make use of a pre-configured dev container.

When executing locally, make sure you have the following installed:

When using the dev container, either make sure you have GitHub Codespaces enabled in your GitHub organization, or you can start up the dev container locally with the Visual Studio Code Remote Containers extension.

Installation

This sample can be set up in a test or a non-test setup.

  • [test set up]: In this case the Git PAT token is optional and a self-signed certificate is used. Walkthrough of this setup is found in the install-test.md file.
  • [non-test set up]: In this case the Git PAT token is mandatory and a pfx certificate for your custom domain is used. Walkthrough of this setup is found in the install-prod.md file.

What you need to know about this setup

More info on how the terraform templates are build and how they operate can be found in the docs folder of this repository. Best starting point is the maintf.md file.

Coming up

We are working on improving this sample. The ideas we have on improving:

  • Create Bicep templates for the same setup (in progress)
  • Make the database interchangeable for other types of databases (Cosmos DB as a first candidate)

Resources

azure-spring-apps-multi-zone's People

Contributors

microsoft-github-operations[bot] avatar microsoftopensource avatar vermegi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

vermegi

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.