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 Web Application Firewall
Results will update as you type.
  • How to Update Your Notification Email Addresses
  • What's New in the Barracuda Web Application Firewall
  • 30-Day Evaluation Guide - Barracuda Web Application Firewall
  • Getting Started
  • Deployment
    • Choosing Your Deployment Mode
    • Deployment Best Practices
    • Virtual Deployment
    • Public Cloud Hosting
      • Microsoft Azure
      • Amazon Web Services
      • Google Cloud Platform
        • Barracuda Web Application Firewall Deployment on Google Cloud Platform via the Google Launcher
        • Open Source Software and License Information
        • Provisioning Barracuda WAF in GCP Using the Command Line
    • Reprovisioning the Barracuda Web Application Firewall Virtual Machine
    • Bootstrapping Methods
  • Services
  • Securing HTTP/HTTPS Traffic
  • Advanced Bot Protection
  • Client-Side Protection
  • API Security
  • Advanced Security
  • IP Reputation-Based Filters
  • Tuning Security Rules
  • Barracuda Active Threat Intelligence
  • Access Control
  • Traffic Management
  • Configuring User-Defined Patterns
  • Logging, Reporting and Monitoring
  • High Availability
  • Networking
  • System Administration and Maintenance
  • Certificate Management
  • Centralized Management of the Barracuda Web Application Firewall
  • Attacks Description - Action Policy
  • REST API
  • Common Web Application Attacks
  • How to Set Up Barracuda Cloud Control
  • End of Support and End of Life Information
  • Critical Vulnerabilities in Web Application
  • Barracuda Advanced Bot Protection Cloud Infrastructure Upgrade Information
  • Barracuda WAF 12.2 Firmware Hardened to Augment Security of Product Features

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Provisioning Barracuda WAF in GCP Using the Command Line
    Published Jan 16

    Provisioning Barracuda WAF in GCP Using the Command Line

    Jan 16, 2026
    Subscribe

    Step 1 - Install the Google Cloud SDK

    Follow the Google Cloud SDK documentation to install and configure the gcloud command line utility. Also, verify the Google Cloud SDK version is 200.0.0 or higher:

    gcloud version

    Step 2 -  Configuring gcloud environment

    Set a Default Compute Region and Zone. If you are using the gcloud command-line tool for the first time init is the easiest way to do this:

    gcloud init

    (OR)

    Otherwise set a default compute region:

    gcloud config set compute/region us-west1

    Set a default compute zone:

    gcloud config set compute/zone us west1-c

    Use the following command to view additional regions and zones.

    gcloud compute zones list

    Step 3 - Creating the vpc

    gcloud compute networks create barracuda-waf-vpc --subnet-mode custom
    image2.png

     

     

    Step 4 - Creating the subnet

    gcloud compute networks subnets create waf-network \ --network barracuda-waf-vpc \ --range 10.26.0.0/24
    image3.png

     

    Step 5 - Firewall Rules

    Internal access

    gcloud compute firewall-rules create waf-allow-internal \ --allow tcp,udp,icmp \ --network barracuda-waf-vpc \ --source-ranges 10.26.0.0/24,10.26.0.0/16

    Access for incoming traffic

    gcloud compute firewall-rules create waf-allow-external \ --allow tcp:80,tcp:8443,tcp:8000,tcp:443 \ --network barracuda-waf-vpc \ --source-ranges 0.0.0.0/0

    Listing the rules

    gcloud compute firewall-rules list --filter="barracuda-waf-vpc "

    Step 6 - Creating the instance

    gcloud compute instances create waf-byol-instance \ --async \ --boot-disk-size 200GB \ --can-ip-forward \ --image-family barracuda-web-application-firewall-byol \ --image-project barracuda-release \ --machine-type n1-standard-2 \ --private-network-ip 10.26.0.2 \ --scopes compute-rw,storage-ro,service-management,service-control,logging-write,monitoring \ --subnet waf-network \ --tags barracudawaf

    This should result in a response with the URI for the created resource.

    Step 7 - To fetch the status of the resource:

    gcloud compute operations describe <URI>
    image4.png

     


    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": 12, "requestCorrelationId": "2d6fb39798ef4d1680c98c31a7bb5706"}