Azure Classroomnotes 01/Apr/2023

ARM Templates contd

  • To deploy from cli

    • Ensure you have a resource group
      Preview
    • Command az deployment group create --resource-group 'armdemo' --name 'rollout1' --template-file ntier.json --parameters "@ntier.parameters.json"
      Preview
    • To install apache server
#!/bin/bash
sudo apt update
sudo apt install apache2 -y

Azure Bicep

  • Refer Here for official docs
  • Refer Here for json vs bicep
  • Lets create azure bicep to create vnet with some subnets
  • Insall visual studio code extension Refer Here
  • Create a new folder and add main.bicep
  • Refer Here for bicep notation for vnet
  • Refer Here for the basic bicep
  • Lets try creating bicep for vnet, subnets, nic, public ip, vnet
  • Refer Here

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Network Widget by Acurax Small Business Website Designers

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube