NSG’s to subnet
- Lets create the following subnets
- Web
- App
- cache
- db
- Lets create NSGS for Web Subnet which allows
- traffic from anywhere
- ICMP
- HTTP
- HTTPS
- SSH
- traffic from/to only App Subnet
- denies every thing else
- traffic from anywhere
- App Subnet
- allows traffic from Web Subnet and cache subnet
- denies every thing else
Azure From command line
- Azure can be connnected from
- Portal
- Azure CLI
- Azure Powershell
- Azure SDK
- Azure Templating (ARM Templates & Azure Bicep)
-
Azure CLI:
- Syntx `az
[ ] [–parameter value1 …. –parametern valuen] - Launch Cloud Shell
- Syntx `az
- Azure Powershell:
- Azure Powershell has list of cmdlets
- Powershell cmdlet
<verb>-<noun>
- Azure Powershell Cmdlet
<verb>-Az<noun>