Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to create Compute Security Group Templates and Template Rules - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to create Compute Security Group Templates and Template Rules
KB0722444

How to create Compute Security Group Templates and Template Rules


367 Views Last updated : Jul 24, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

Overview

How to create a Compute Security Group Template in order to create a successful Compute Security Group.

Procedure

Create Compute Security Group Template

  1. Navigate to cmdb_ci_security_grp_template_list.do
  2. Click New, the Template form will appear



  3. Fill in the details and submit.
    • Object ID: Any random numeric value
    • Name: Your preferred name
  4. Once submitted it will create a Compute Security Group Template, but, every template should be associated with 1 or more template rules.

Note: Configuring this rule is very important, every rule contains its own network method either Public or Private, Based on the rules the Compute Security Group would provision the VMs with subnets and security.

Example: A blueprint contains a VM with Application and another VM with Database and the requirement is to have Application VM network should be Public and Database VM should be Private, to achieve this configuration,
it needs a Compute Security Group Templates with rule Private and another with rule Public, so post provisioning the Catalog with the required configuration it would create Subnets according to the rules associated.

Create a Compute Security Group Rule for the Template

  1. Navigate to sn_cmp_sec_grp_rule_template_list.do
  2. Once the page is opened, Click New



  3. Fill in the details and Submit:
    • CIDR Range: Available range (example: 0.0.0.0/0)
    • IP Protocol: Choose according to requirement (TCP/UDP/ICMP)
    • From Port: Choose port according to the Application or requirement (eg: 443)
    • Is Outbound: 0
    • Name: Your preferred name
    • Network Type: Choose according to requirement (Public/Private)
    • To Port: Needs to be the same as in the Port field (eg: 443)
    • CSG Template: Assign an available required CSG template 
  4. Repeat the same from the start to create Compute Security Group templates with Private/Public rules.

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

  • Screen Shot 2019-01-03 at 9.00.47 PM.png
  • Screen Shot 2019-01-03 at 9.30.34 PM.png
  • Screen Shot 2019-01-03 at 9.41.41 PM.png

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.