Azure Classroomnotes 01/Apr/2023

ARM Templates contd

  • To deploy from cli
    • Ensure you have a resource group
    • Command az deployment group create --resource-group 'armdemo' --name 'rollout1' --template-file ntier.json --parameters "@ntier.parameters.json"
    • 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 ReplyCancel reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%