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
  • Licensing
  • Administration
  • Authentication
  • Cloud Integration
    • Cloud Integration for Azure
    • Cloud Integration for AWS
      • How to Create an IAM Role for a CloudGen Firewall in AWS
      • How to Manually Configure Cloud Integration for AWS
      • How to Configure Log Streaming to AWS CloudWatch
      • How to Configure Scaling Policies for a CloudGen Firewall Auto Scaling Cluster
    • How to Enable SSH Root Access for Public Cloud Firewalls
  • 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 Configure Scaling Policies for a CloudGen Firewall Auto Scaling Cluster
Published Dec 02, 2025

How to Configure Scaling Policies for a CloudGen Firewall Auto Scaling Cluster

Dec 02, 2025
Subscribe

Scaling policies are required for the firewall cluster to adjust the capacity in response to changes in demand. Define CloudWatch alarms for the high and low thresholds. Use the custom metrics collected from the firewall cluster or the default EC2 system metrics. Add scaling policies to the Auto Scaling group that trigger a scaling action when the health check is in alarm state. 

Custom Metrics

The firewall published the following custom metrics in the Barracuda/CGF namespace:

Custom VPN Metrics Client to Site VPN tunnels         SSL VPN clients Site to Site VPN tunnels up Site to Site VPN tunnels down Custom System Metrics load Used memory Protected IPs Custom Firewall Metrics Bytes in Bytes out Bytes total Packets in Packets out Packets total Connections dropped IPS Hits Forwarding Connections new Forwarding Connections total Connections new Connections total Connections blocked Connections failed

Step 1. Create CloudWatch Alarm

Create two CloudWatch alarms, one for the high and one for the low alarm threshold.

  1. Log into the AWS console.

  2. Click Services and select CloudWatch.

  3. In the left menu, expand Alarms and select All alarms.

  4. Click Create alarm.

  5. Click Select metric.

  6. From the Browse Metrics drop-down list, select the Barracuda CloudGen Firewall.

  7. Filter for the Auto Scaling group name.

  8. Select the check box for the metric.

  9. Click Next.

  10. Enter a Name.

  11. Configure the Alarm Threshold:

    • Logic operator – Select >= when defining an alarm to scale out, <= when defining and alarm to scale in.

    • Alarm threshold – Depending on the instance and metric type, enter the threshold. If unsure, use CloudWatch to monitor your cluster under load to determine the correct value to match your workload.

    • Period – Enter the time period the threshold must be exceeded for alarm to be triggered.

  12.  In the Alarms section, click delete to not receive a notification when the alarm is triggered. Alternatively, select an SNS topic that is configured to send notification emails when the alarm is triggered.

  13. From the Period drop-down list, select the number of minutes.

  14. From the Statistics drop-down list, select  Average or Sum depending on the metric.

  15. Click Create Alarm.

The alarm is in the INSUFFICIENT state until there is enough data for the alarm. As soon as enough data is available, the alarm state changes to OK or Alarm.

Step 2. Add Scaling Policy to Scale Out

  1. Log into the AWS console.

  2. Click Services and select EC2.

  3. In the left menu, click Auto Scaling Groups. 

  4. Select the CloudGen Firewall Auto Scaling group.

  5. In the lower half, click the Scaling Policies tab.

  6. Click Add policy.

  7. Enter a Name.

  8. From the Execute policy when drop-down list, select the matching CloudWatch alarm created in Step 1.

  9. Configure the action:

    • Action – Select add to scale out, or Remove to scale in. Click set to use an explicit number of instances. 

    • Number of instances – Depending on the action, enter the number of instances to scale (add / remove) or the number of instances to scale to (set).

  10. (optional) Click add steps to define a more granular scaling policy that takes into account by how much the threshold is exceeded.

  11. In the Instances need text box, enter the number of seconds to wait before the next scaling action.

  12. Click Create.

Repeat this for both Scale In and Scale Out policies. Use CloudWatch dashboard widgets to visualize the alarm thresholds


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": "617290c3904e41afb6417d6729570026"}