天蓝色-厨房-网络安全组 [英] azure -kitchen - network security group

查看:53
本文介绍了天蓝色-厨房-网络安全组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究厨师天蓝色的自动化,在那里我可以通过厨房创建/销毁实例.

但是,我希望将创建的实例添加到已经创建的网络安全组中(这样,就不必每次为每个实例分配入站和出站端口)

解决方案

a 解决方案

a Network Security Group is a group of rules that can deny or allow traffic to a given resource. For a Virtual Machine, you can add a NSG to a NIC on the VM, or a subnet that the VM is in. 

If the VM is put in a subnet with a NSG, that subnet's NSGs will apply to the VM without any additional configuration when deploying the VM. 

If you need an additional NSG on the VM, then add the NSG to the NIC when you create the VM. 



这篇关于天蓝色-厨房-网络安全组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆