Badgerati / Fogg

PowerShell tool to aide and simplify the creation, deployment and provisioning of infrastructure in Azure
MIT License
7 stars 2 forks source link

Have inbuilt Inbound firewall rules to shrink template size #11

Closed Badgerati closed 7 years ago

Badgerati commented 7 years ago

Some inbound firewalls rules are very common, such as RDP, HTTP(S), SQL (+Mirroring).

To help reduce the template size, allow having inbuilt firewall flags that when true allow the ports on the current VM's subnet.

example:

"template": [
    {
        "tag": "vm",
        "type": "vm",
        "count": 1,
        ...
        "firewall": {
            "https": true
        }
    }
]

This will auto allow the HTTPS port (443) as an inbound rule.

These inbuilt rules will need fixed priorities, so a range of about 3500-4000 should suffice.