This is a blog on how to use a modular approach for Infrastructure as Code (IaC) in provisioning a private AKS cluster and other related resources. The Bicep modules in the repository are designed keeping the AKS baseline architecture in mind. You can start using these modules as is or modify to suit your own needs.
The Bicep modules will provision the following Azure Resources under subscription scope:
git clone https://github.com/ssarwa/bicep
cd bicep
# You could use deploy.azcli as your working file. Don't run the script as is!
az login
az account set -s <Subscription ID>
# Change the variables as required (baseline and location) on deploy.azcli
# Deploy the bicep script
az deployment sub create -n $baseline'Dep' -l $location -f main.bicep
The deployment could take somewhere around 20 to 30 mins. Once provisioning is completed you can use the cluster for your needs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.