Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
🔍 Discover Our Product Documentation

Barracuda CloudGen Firewall 10.5
Results will update as you type.
  • Deployment
  • Get Started
  • Network
  • High Availability
    • HA Auto-Pairing
    • How to Set Up a High Availability Cluster
    • How to Set Up a Managed High Availability Cluster from Two Stand-Alone Firewalls
    • How to Set Up a Managed High Availability Cluster from Scratch
    • How to Configure a Private Uplink for a High Availability Cluster
    • High Availability in Azure
    • High Availability in AWS
    • High Availability in Google Cloud
      • How to Create a Custom Role and Service Account for the CloudGen Firewall in the Google Cloud
      • How to Configure a High Availability Cluster in Google Cloud
    • Monitoring, Managing, and Rebuilding HA Clusters
    • How to Restore the High Availability Cluster Configuration after an RMA
    • How to Perform a Manual High Availability Failover
    • How to Configure High Availability Stand-Alone CloudGen Firewalls for Virtual Routing
    • How to Configure High Availability CC-Managed CloudGen Firewalls for Virtual Routing
    • Virtual MAC Addresses
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
  • Assigned Services
  • Services
  • Automated Critical Updates
  • Firewall Control Center
  • Barracuda Secure Connector
  • Best Practice
  • Implementation Guides
  • Monitoring and Reporting
  • Maintenance
  • Remote Access Clients
  • Management Interfaces, Tools, and Apps
  • TUFIN Integration API Service
  • Hardware Models
  • REST API
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
How to Create a Custom Role and Service Account for the CloudGen Firewall in the Google Cloud
Published Dec 02, 2025

How to Create a Custom Role and Service Account for the CloudGen Firewall in the Google Cloud

Dec 02, 2025
Subscribe

For the firewall instance running in the Google Cloud to be able to access the API and to use the gcloud tool installed on the firewall, you must create a service account and assign a custom role to the account.

IAM Roles are a beta feature of the Google Cloud Platform.

Step 1. Create a Custom Role

Create a custom role that includes all permissions needed by your API calls / gcloud commands running on the firewall instances. The permissions included in this step are sufficient to run the High Availability route rewriting script.

  1. Log into the Google Cloud Platform: https://console.cloud.google.com/

  2. Click the hamburger menu in the upper-left corner.

  3. Click IAM & admin.

  4. In the left menu, click Roles.

  5. Click Create role.

  6. Configure the role:

    • Name – Enter the name.

    • ID – Enter a unique ID. 

    • Role launch stage – Select General Availability. 

  7. Click Add Permissions.

  8. Filter for compute and routes, and add the following permissions from the list:

    • compute.routes.create

    • compute.routes.delete

    • compute.routes.get

    • compute.routes.list

    • compute.instances.list

    • compute.networks.updatePolicy

    • compute.globalOperations.get

  9. Click Add Permissions.

  10. Click Create.

The role now lists all assigned permissions.

Step 2. Create a Service Account

Create the service account and assign the custom role to it.

  1. Log into the Google Cloud Platform: https://console.cloud.google.com/

  2. Click the hamburger menu in the upper-left corner.

  3. Click IAM & admin.

  4. In the left menu, click Service accounts.

  5. Click Create Service Account.

  6. Configure the Service account: 

    • Service account name – Enter a unique service account name.

    • Role – Select the custom role created in Step 1 from the drop-down menu. Custom roles are in the Custom category.

  7. Click Create.

You can now use the service account to launch your High Availability cluster in the cloud.


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.

{"serverDuration": 11, "requestCorrelationId": "80f70095637e41bba6ac391fe7bf72dc"}