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)
/
User Data Tags for AWS Auto Scaling
Published Jun 25, 2021

User Data Tags for AWS Auto Scaling

Jun 25, 2021
Subscribe

User Data for Barracuda Web Application Firewall on AWS Auto Scaling

This article describes the flags supported by the user data to launch an Auto Scaling group for the Barracuda WAF instances. The format of the user data is as below:

Sample user data used for BYOL backup bootstrapped auto scaling launch


#!/bin/bash
/opt/aws/bwaf/aws_autoscale.pl --command init-config --enableRestoreBackup --saveSystemDataOnTermination --dumpEC2Details --enableTurboMode --stack wafqaauto-online-stack-07 --resource BWAFAutoScaleLaunchConfig --clustersecret secret123 --region us-west-2 --vpc vpc-ec0c458a --type m5.large --s3ClusterBucket <> --s3LicensingBucket <> --hostname C1-IN --timezone Asia/Kolkata --ntp test1.bc.com,test2.bc.com --s3LicensingFolder <> --s3BootstrappingBucket <> --s3BackupFolder <> --configBackup <>

BYOL Licensing Options: --licensebucket <> --subdirectory <> --defaultdomain <> --offlinelicensebucket <> --offlinelicensesubdir <> --healthcheck None
Eula Options: --signature user name --organization barracuda --email test@barracuda.com
Proxy Server:--prx_username <username> --prx_password <Password> --prx_server <IP> --prx_port <Port>
Stack Detail: --stack_name wafqaauto-online-stack-07

The following are the mandatory flags that must be used:


--command init-config: This should have the value “init-config”.
--enableRestoreBackup: This flag is for the Backup Bootstraping.
--stack <name>: Stack name.
--resource BWAFAutoScaleLaunchConfig :
--region <region>: Region where the stack is launched.
--vpc vpc-ec0c88a: VPC where the stack is launched.
--type m5.large: Instance type that is used by the instances.
--s3ClusterBucket <S3Bucketname>: S3 bucket name, which is created for managing the clustering.
--s3BootstrappingBucket <S3BucketName>: S3 Bucket name where the backup file exists.
--s3BackupFolder <FolderName>: Folder from bootstrap bucket where the backup file exists.
--configBackup <Backfilename>: Backup file to be used for bootstrapping.
--signature: Name of the user to sign the license agreement
--organization: Organization name.
--email: Email address.

Mandatory flags for a BYOL Auto scaling instance launch:


--s3LicensingBucket <S3BucketName>: S3 bucket name, where license file exists.
--s3LicensingFolder <FolderName>: Folder from the license bucket.
--licensebucket: S3 bucket name where the license file exists.
--subdirectory: Folder from the license bucket.
--defaultdomain: Default domain name that is used during the licensing.
--offlinelicensebucket: S3 bucket name where the license file exists.
--offlinelicensesubdir: Folder from the license bucket.
--healthcheck: This takes two values: None and ec2Describe.
--stack_name <name>: Stack name (the values for this is same as the --Stack flag )

Flags that are required for the Basic Bootstrapping:


--config <>: The value will be in the following format:

serviceName:ServicePort:ServerIP/Hostname:ServerPort

Advanced Flags


--saveSystemDataOnTermination: When instance gets terminated, the system snapshot will be saved to the cluster bucket.
--dumpEC2Details: Instance details will be written to the license bucket with the name InstanceDetails.dat.
--enableTurboMode: It enables turbo mode for the hostname resolution.
--maskAdminPassword: It disables the admin user for the UI.

Caveats:


flag –maskAdminPassword should only be used with backup-based bootstrapping. The backup should have the external LDAP configured under the Admin Access Control because the web interface admin password will be disabled. To access the web interface, you should use the LDAP user.

 

 

 


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.

🔍 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
        • Barracuda Web Application Firewall Deployment and Quick Start Guide for Amazon Web Services
        • Load Balancing For Clustered Barracuda Web Application Firewall Instances in Amazon Web Services (AWS)
        • Disk Expansion of the Barracuda Web Application Firewall for Amazon Web Services (AWS)
        • Troubleshooting the Barracuda Web Application Firewall on Amazon Web Services
        • Configuring Multiple IP Addresses for the Barracuda Web Application Firewall Instance in Amazon Web Services
        • Auto Scaling of Barracuda Web Application Firewall using CloudFormation Template on Amazon Web Services
          • Bring-Your-Own-License (BYOL) Auto Scaling
          • Pay-As-You-Go (PAYG)/Hourly Auto Scaling
          • Usage-Based/Metered Auto Scaling
          • Verify the Instance in the Auto Scaling Group
          • IAM Policy
          • User Data Tags for AWS Auto Scaling
        • Automatically connecting the Barracuda Web Application Firewall’s to the Barracuda WAF Control Center
        • Amazon Web Services (AWS) Lab
        • Updating Barracuda Web Application Firewall Cluster in Amazon Web Services
        • Upgrading Instances in the Auto Scaling Cluster Environment on AWS
        • Enabling IPv6 in the Barracuda Web Application Firewall Instance on AWS
      • Google Cloud Platform
    • 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.
    {"serverDuration": 14, "requestCorrelationId": "192a13610f61424ab3a7bec339ae575b"}