ahems / azd-akslza

A blueprint for getting a web app with a Node.js API on Azure using some of the AKS landing zone accelerator best practices. The blueprint includes sample application code (a ratings web app) which can be removed and replaced with your own application code. Add your own source code and use the Infrastructure as Code assets to get running quickly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AKS Landing Zone Accelerator on Azure Developer CLI (AZD)

Accelerate your onboarding to AKS with the Azure develper CLI and AKS landing zone accelerator. Provided here is a blueprint for getting a web app with a Node.js API on Azure using some of the AKS landing zone accelerator best practices. The blueprint includes sample application code (a ratings web app) which can be removed and replaced with your own application code. Add your own source code and use the Infrastructure as Code assets to get running quickly.

⚠️ WARNING
Make sure to remove previous cluster configuration with the same name from your .kube files
Make sure that your name for the infrastructure is lower case

Full deployment of the system and applications takes approximately 12 minutes

git clone this repo and then run the following commands

git submodule init 
git submodule update
azd auth login
azd init
unset KUBECONFIG
azd up

Now open up a web brower to the external ip address from the last step

Deleting Everything

In order to clean up all resources run:

azd down --no-prompt
Issues that need to be fixed:
AKS using local admin account
Need to put secrets in AKV
Need to have https on ingress
Need to figure out how to put mongo configmap in manifests without breaking azd since it can't handle format (talk to azd team)
remove pip from AKS - unsecure, instead use agic or app gateway and fw rules
figure out how to have re-usable tags on images so it doesn't clutter with lots of local docker image tags
fix checkin workflow

About

A blueprint for getting a web app with a Node.js API on Azure using some of the AKS landing zone accelerator best practices. The blueprint includes sample application code (a ratings web app) which can be removed and replaced with your own application code. Add your own source code and use the Infrastructure as Code assets to get running quickly.

License:MIT License


Languages

Language:JavaScript 50.6%Language:Bicep 38.5%Language:Shell 5.8%Language:Vue 3.1%Language:Dockerfile 0.5%Language:HTML 0.5%Language:CSS 0.4%Language:Smarty 0.3%Language:PowerShell 0.1%Language:Handlebars 0.1%