0% found this document useful (0 votes)
20 views2 pages

14.basic Load Balancer

The document creates an Azure resource group, virtual network, and subnets. It then creates a network security group and rule allowing all traffic. An availability set is created and three Ubuntu VMs are deployed across the subnets with the security group and custom data.

Uploaded by

Surya Sajja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views2 pages

14.basic Load Balancer

The document creates an Azure resource group, virtual network, and subnets. It then creates a network security group and rule allowing all traffic. An availability set is created and three Ubuntu VMs are deployed across the subnets with the security group and custom data.

Uploaded by

Surya Sajja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

az group create --name AZUREDEMO --location eastus

az network vnet create --resource-group AZUREDEMO --name AZUREDEMO-VNET1 --address-


prefixes 10.1.0.0/16 \
--subnet-name AZUREDEMO-subnet1 --subnet-prefixes 10.1.1.0/24 -l eastus

az network vnet subnet create --resource-group AZUREDEMO --vnet-name AZUREDEMO-


VNET1 -n AZUREDEMO-subnet2 \
--address-prefixes 10.1.2.0/24
az network vnet subnet create --resource-group AZUREDEMO --vnet-name AZUREDEMO-
VNET1 -n AZUREDEMO-subnet3 \
--address-prefixes 10.1.3.0/24

az network nsg create --resource-group AZUREDEMO --name AZUREDEMO_nsg1

az network nsg rule create -g AZUREDEMO --nsg-name AZUREDEMO_nsg1 -n


AZUREDEMO_nsg1_rule1 --priority 100 \
--source-address-prefixes '*' --source-port-ranges '*' --destination-address-
prefixes '*' \
--destination-port-ranges '*' --access Allow --protocol Tcp --description "Allowing
ALL Traffic for now"

az vm availability-set create --name EAST-AVSET1 -g AZUREDEMO --location eastus \


--platform-fault-domain-count 3 --platform-update-domain-count 5

az vm create --resource-group AZUREDEMO --name AZUREDEMO-EASTVM1 --image UbuntuLTS


--vnet-name AZUREDEMO-VNET1 \
--subnet AZUREDEMO-subnet1 --admin-username testuser --admin-password "surya0249@
--size Standard_B1s \
--availability-set EAST-AVSET1 --nsg AZUREDEMO_nsg1 --custom-data
./clouddrive/cloud-init.txt

az vm create --resource-group AZUREDEMO --name AZUREDEMO-testVM2 --image UbuntuLTS


--vnet-name AZUREDEMO-VNET1 \
--subnet AZUREDEMO-subnet2 --admin-username testuser --admin-password "surya0249@
--size Standard_B1s \
--availability-set EAST-AVSET1 --nsg AZUREDEMO_nsg1 --custom-data
./clouddrive/cloud-init.txt

az vm create --resource-group AZUREDEMO --name AZUREDEMO-testVM3 --image UbuntuLTS


--vnet-name AZUREDEMO-VNET1 \
--subnet AZUREDEMO-subnet3 --admin-username testuser --admin-password "surya0249@
--size Standard_B1s \
--zone 3 --nsg AZUREDEMO_nsg1 --custom-data ./clouddrive/cloud-init.txt

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy