CloudGuard WAF
  • Documentation Overview
  • What is CloudGuard WAF?
  • Getting started
    • Prepare key information
    • Log in to the Infinity Portal
    • Protect a Web Application / API
    • Deploy Enforcement Point
      • Gateway/Virtual Machine
        • AWS
          • Store Certificates in AWS
          • Store certificates on Gateway
        • Azure
          • Store Certificates in Azure
          • Store Certificates on Gateway
        • VMware
          • Store Certificates on Gateway
          • Configure networking in VMware Deployments
      • WAF as a Service
        • Certificates Managed by Check Point
        • Bring Your Own Certificate
      • Kubernetes Ingress
        • Kong Application Security
        • Istio Application Security
      • Docker
        • Single Docker
          • Deployment using 'docker' command
            • Store Certificates Locally on Docker
          • Deployment in Azure App Services
        • Dual Docker: NGINX/Kong/Envoy + Security Agent
      • Linux / NGINX / Kong
    • Monitor Events
  • Concepts
    • Gateways & Agents
    • Management & Automation
    • Security Practices
    • Contextual Machine Learning
  • Additional Security Engines
    • Anti-Bot
    • API Protection
      • API Discovery
      • Track API Discovery Learning
      • Enforce API Schema
    • File Security
    • Intrusion Prevention System (IPS)
    • Rate Limit
    • Snort Rules
  • SETUP INSTRUCTIONS
    • Setup Custom Rules and Exceptions
    • Setup Web User Response Pages
    • Setup Log Triggers
    • Setup Report Triggers
    • Setup Notification Triggers
    • Setup Behavior Upon Failure
    • Setup Agent Upgrade Schedule
  • HOW TO
    • Edit Web Application/API Settings
    • Edit Reverse Proxy Advanced Settings for a Web Asset
    • Protect an existing production site with CloudGuard WAF's Gateway
    • View Policy of all your Web Applications/APIs
    • Add Data Loss Prevention (DLP) rules
    • Configure Contextual Machine Learning for Best Accuracy
    • Track Agent Status
    • Track Learning and Move from Learn/Detect to Prevent
    • Rotate profile authentication token
    • Upgrade your Reverse Proxy when a Linux/NGINX agent is installed
    • Use Terraform to Manage CloudGuard WAF
    • Authorize Temporary Access for Check Point Support
    • Restrict Access to Backend Servers from CloudGuard WAF as a Service IPs Only
  • Troubleshooting
    • WAF Gateway / Virtual Machine
      • Azure
        • "Unable to find a tag containing the vault's name in the VMSS" Error
        • How To: Configure Key Vault for a Single Gateway
      • NGINX Error: Upstream Sent Too Big Header While Reading Response Header from Upstream
      • How To: Compare Between the Gateway's Certificate and the Upstream Certificate
    • Linux
      • SELinux: Checking Status and Disabling
    • WAF as a Service
      • Certificate Validation Failed: Adjusting CAA Record
      • How To: Redirect a Root Domain to a Subdomain Protected by WAF SaaS
      • How To: Extend Connection Timeout to Upstream
      • How To: Update Expired Certificates
  • references
    • Agent CLI
    • Management API
    • Event Query Language
    • Writing Snort Signatures
    • Events/Logs Schema
    • CVE-2022-3786 and CVE-2022-3602: OpenSSL X.509 Email Address Buffer Overflows (HIGH)
    • CVE-2025-1097, CVE-2025-1098, CVE-2025-24514, CVE-2025-1974: Ingress NGINX Controller RCE (Critical)
  • Resources
    • GitHub
    • Docker Hub
Powered by GitBook
On this page
  • Prerequisites
  • Configuration

Was this helpful?

  1. Getting started
  2. Deploy Enforcement Point
  3. Docker
  4. Single Docker

Deployment in Azure App Services

PreviousStore Certificates Locally on DockerNextDual Docker: NGINX/Kong/Envoy + Security Agent

Last updated 1 year ago

Was this helpful?

A convenient way to run CloudGuard WAF Docker is using Azure App Services providing:

  • Managed Docker Environment

  • Secure Certificate Store

  • Scalability

Prerequisites

When configuring CloudGuard WAF Docker Image in Azure App Service you will need to provide an (a new subnet in your VNet), that allow access to the protected asset.

To create an Azure Integration Subnet follow these steps:

Step 2: Select the Virtual Network where the protected asset is residing

Step 3: From the menu on left choose Subnets

Step 4: Create a new Subnet

  • Name: enter a unique name for your subnet

Click Save

Configuration

Step 1: Obtain the registration token from CloudGuard WAF profile

Step 2: Log into App service in Azure

Step 3: Create a new Web App

Click on Create->Web App

Step 4: Fill "Basics" form details

Make sure to select under the Instance Details section:

  • Name: enter a uniuque instance name

  • Publish: choose Docker Container

  • Operating System: choose Linux

  • Region: choose relevant Region (where you application VNETs reside)

  • Pricing Plan: choose relevant Pricing Plan

    • For Testing it is recommended to use Basic B3

    • For Production it is recommended to use Premium V3 P1V3 (or stronger)

  • Zone Redundancy: Enable/Disable according to your needs

Click Next

Step 5: Fill "Docker" form details

Note - package file and folder names contain the name appsec - short for "Application Security" provided by CloudGuard WAF.

Make sure to select:

  • Options: select Single Container

  • Image Source: select Docker Hub

  • Access Type: select Public

  • Image and tag: checkpoint/cloudguard-appsec-standalone:latest

  • Startup Command: /cloudguard-appsec-standalone --token <token>

Note - The <token> is the token that was retrieved in step 1.

Click Next

Step 6: Fill "Networking" form details

In order to allow access to the virtual network with the protected assets, change Enable Network Injection to On and select the Virtual Network where the protected asset reside.

In the Outbound Access section, select the Outbound subnet to be the Integration Subnet that you created in the Prerequisites section of this page.

Click Review + Create or if you like to change some of the other defaults click Next

Step 7: Complete the Web App Deployment and verify an agent was connected successfully

Azure App Services will now launch the Docker image and it will connect to the Check Point Cloud. You will get a notification in the Infinity Portal.

Step 8: Certificates Configuration

Azure provides a variety of options to use a certificate. Browse to App Services, select the newly created CloudGuard App Service.

In the Overview Page, Properties Tab, click Add Custom Domain and in the next screen click again Add Custom Domain.

You can now choose among the various options. For example to have a Certificate issued automatically by Azure, select All other domain services, enter a domain name and follow the instructions.

Step 9: Auto-Scaling (Optional)

Azure App Services provides both Scale-up (more CPU/memory) and Scale-Out (additional instances) options. It is highly recommended to setup Scale-Out if you have a Production environment which is likely to grow or have traffic bursts.

Step 10: Health-check (Optional)

Azure App Services allow to check the health of an application. It increases your application's availability by rerouting requests away from unhealthy instances and replacing instances if they remain unhealthy. It does that by accessing every minute a path of your web application of your choice.

Troubleshooting For debugging purpose it is possible to activate an SSH server within the docker container by using the following parameters when running the docker. For security reasons, it is NOT recommended to use this option in production. --ssh-enable --ssh-user <username> --ssh-hash <hash>

The hash of you password can be calculated like this:

openssl passwd -6 -salt <user-salt> ClearTextPassword

  1. -6 indicates SHA-512

  2. <user-salt> is to randomize the encryption

Note: Azure App Services allows access to the dockers via SSH, but requires that the username must be: root and the password must be Docker!

Step 1: Login to , and search for Virtual Networks

Subnet address range: it is recommended to assign at least /24. For more details see .

Make sure you obtain the <token> from the page, Authentication section. you will need it during agent deployment.

Login to , and search for App Services.

To enable scaling Browse to App Services, select the newly created CloudGuard App Service and choose Scale-up or Scale-Out in the menu. See also .

To enable it, Browse to App Services, select the newly created CloudGuard App Service and choose Health-check in the menu. .

portal.azure.com
Azure documentation
Enforcement Profile
portal.azure.com
Azure Documentation about Automatic Scaling
See also Azure Documentation about Health-check
Azure Integration Subnet