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
Results will update as you type.
  • Deployment
    • Hardware
    • Virtual Systems (Vx)
    • Public Cloud
      • Microsoft Azure Deployment
      • Amazon AWS Deployment
        • How to Deploy a CloudGen Firewall in AWS via AWS Console
        • How to Deploy a CloudGen Firewall Auto Scaling Cluster in AWS
        • How to Modify CloudFormation Templates to Retrieve the PAR File from a Control Center
        • How to Deploy a CloudGen Firewall in AWS via CloudFormation Template
        • How to Deploy a Volume-Based (Metered) PAYG CloudGen Firewall Image in AWS
        • How to Change the Virtual Machine Size of a CloudGen Firewall in AWS (BYOL)
      • Google Cloud Platform Deployment
  • Get Started
  • Network
  • High Availability
  • 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

    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    How to Deploy a CloudGen Firewall in AWS via CloudFormation Template
    Published Jan 09

    How to Deploy a CloudGen Firewall in AWS via CloudFormation Template

    Jan 09, 2026
    Subscribe

    CloudFormation templates allow you to automate your deployments in AWS and make them more consistent. You can replicate the deployment multiple times for testing and production, or you can spin up additional environments in other regions. Including user data scripts in the template automatically disables the web interface. You can re-enable it via the cloud-enable-webui command. For more information, see Public Cloud Provisioning Command Line Tools.

    CloudFormation Templates

    CloudFormation templates are available for all our AWS reference architectures in the Barracuda Networks GitHub account: https://github.com/barracudanetworks/ngf-aws-templates.

    Before You Begin

    Verify that the AMI image IDs used in the CloudFormation template match the IDs for the CloudGen Firewall image listed in the AWS Marketplace. The AMI disk images change for every released version. Each region has a separate AMI ID.

    Step 1. Subscribe to CloudGen Firewall in AWS Marketplace

    To be able to deploy a CloudGen Firewall image via the CloudFormation template, you must agree to the Terms of Service and subscribe to the image in the AWS Marketplace. You need to do this only once per account, but it must be done separately for PAYG and BYOL images.

    1. Go to the AWS Marketplace: https://aws.amazon.com/marketplace/

    2. Search for Barracuda.

    3. Click the Barracuda CloudGen Firewall for AWS -  PAYG or Barracuda CloudGenFirewall for AWS -  BYOL image.

    4. Click Continue to Subscribe.

    5. Click Accept Terms.

    6. Click Continue to Configuration.

    You will receive an email from Amazon confirming your subscription. You can now use the provided AMI in your CloudFormation templates.

    Step 2. (BYOL only) Create a Stack Policy to Protect the Firewall Instance from Stack Updates

    To protect your firewall instances from being replaced during stack updates, use a stack policy when deploying the CloudFormation template. Replacing the instance automatically invalidates your license. If your license is invalidated, contact Barracuda Networks Technical Support during the 15-day grace period to transfer your license to the instance.

    Step 3. Deploy the CloudFormation Template

    CloudFormation templates can be deployed via the AWS web console, CLI, REST, or PowerShell.

    1. Log into the AWS console.

    2. Click Services and select CloudFormation.

    3. Click Create stack, and select With new resources (standard).

    4. The Create stack window opens. Select Upload a template file.

    5. Click Choose file and select the template file.

    6. Click Next.

    7. Enter the Stack name. 

    8. (optional) If the template includes parameters, fill in the values in the Parameters section.

    9. Click Next.

    10. (optional) Add Tags for your stack.

    11. Set the remaining parameters according to your requirements.

    12. In the Advanced options section, set additional options for your stack, for example:

      • Stack policy – For BYOL images, it is highly recommended to protect the firewall instance from stack updates.

        Stack updates that require redeploying the firewall instance will invalidate the license for BYOL firewalls.

    13. Click Next.

    14. Review the settings and click Submit.

    The resources defined in the template are now deployed. This may take a couple of minutes. When the Status column shows CREATE_COMPLETE, the template has been deployed successfully. If the firewall fetches a PAR file from a Control Center, it may take a couple of minutes for the firewall to be available.


    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": "e3985d7c28064e27be149093b8fd172a"}