Skip to content

Attaching a Policy

On this page
  1. Attach from a VM
  2. Attach from a database
  3. Detach a policy

Firewall policies are enforced only when attached to a resource. Policies can be attached to VMs and databases.

Attach from a VM

  1. Open the VM detail page
  2. Go to the Firewall tab
  3. Select a policy from the Attach policy dropdown
  4. Click Attach

The policy's allow rules are enforced on that VM. The Attached resources count on the policy increments.

Attach from a database

  1. Open the database detail page
  2. Go to the Firewall tab
  3. Select a policy from the Attach policy dropdown
  4. Click Attach

Detach a policy

From the resource's Firewall tab, click Detach on the attached policy's card. When no policies remain attached, the resource reverts to its built-in network behavior.