Skip to content

Latest commit

 

History

History
93 lines (63 loc) · 2.03 KB

README.md

File metadata and controls

93 lines (63 loc) · 2.03 KB

mtt-building-with-bicep

Public repo hosting Microsoft Tech Talks "Building with Bicep" demo files. Session link: https://mtt.eventbuilder.com/event/60562?source=MTTEUROPE

Authors

Useful Links

Pre-Reqs

Instructions

Follow the below instructions to get hands on with these pre-made demos.

  1. Clone this git repo to your local machine
git clone https://github.com/kevinevans1/mtt-building-with-bicep

Storage Account Demo

  1. Change into the correct directory inside the repo you've cloned
cd <PATH TO CLONE REPO>/mtt-building-with-bicep/samples/l200/azure-storage-container
  1. Login into your Azure subscription
az login
  1. Select Azure Subscription
az account set --subscription "Subscription Name"
  1. Create Resource Group
   az group create --location "westeurope" \
   --name "Storage-Account-POC"
  1. Deploy Bicep file and modules
az deployment group create --resource-group "Storage-Account-POC" --template-file main.bicep

Hub & Spoke

  1. Change into the correct directory inside the repo you've cloned
cd <PATH TO CLONE REPO>/mtt-building-with-bicep/samples/l300/azure-hub-spoke-vnet
  1. Login into your Azure subscription
az login
  1. Select Azure Subscription
az account set --subscription "Subscription Name"
  1. Create Resource Group
   az group create --location "westeurope" \
   --name "Hub-Spoke-POC"
  1. Deploy Bicep file and modules
az deployment group create --resource-group "Hub-Spoke-POC" --template-file main.bicep