Components and Sizing Recommendations
Prerequisites
Ensure the following tools and resources are installed and available:
Create a Strata Cloud Manager account
- Go to the the AI Gateway website.
- Sign up for a Strata Cloud Manager account.
- Once logged in, locate and save your
Organisation ID for future reference. It can be found in the browser URL:
https://stratacloudmanager.paloaltonetworks.com/<organisation_id>/
- Contact the Palo Alto Networks team and provide your Organisation ID and the email address used during signup.
- The Palo Alto Networks team will share the following information with you:
- Docker credentials for the Gateway images (username and password).
- License: Client Auth Key.
Setup Project Environment
1. Prepare Azure Resources
Create a new directory for your deployment:
3. Create Module Configuration
Create a main.tf file:
Advanced Configuration
MCP Gateway (Optional)
By default, only the AI Gateway is enabled. To enable the MCP Gateway, update your terraform.tfvars:
MCP Only:
Gateway + MCP (separate apps):
Note: When server_mode = "all" with Application Gateway, you must configure either host-based.
Auto-Scaling Configuration
Control how replicas scale based on different metrics.
CPU-based scaling (default):
HTTP-based scaling:
Memory-based scaling:
Network Configuration with VNet
Deploy Gateway within a VNet:
Create new VNet:
Use existing VNet and subnets:
Application Gateway Ingress
Deploy Azure Application Gateway with WAF, SSL termination, and zone redundancy:
Basic Configuration:
Host-based Routing:
Configure DNS:
SSL Certificate:
Private Application Gateway:
Azure Managed Redis
Use Azure Cache for Redis instead of the built-in container:
Update secrets in main.tf:
Note: The values above should be Key Vault secret names, not the actual secret values.
Storage Configuration
Using Auto-Created Storage (Default):
No configuration needed. Terraform automatically creates a Storage Account and container.
Optional: Customize container name:
Using Existing Storage Account:
Integrating Gateway with Management Plane
Outbound Connectivity (Data Plane to Management Plane)
The Data Plane integrates with the Management Plane over the internet.
Over the Internet
Ensure Gateway has access to the following endpoints over the internet:
https://aigw.portkey.ai
https://albus.portkey.ai
No additional configuration needed if your network allows outbound internet access.
Inbound Connectivity (Management Plane to Data Plane)
IP Whitelisting
Allows Management Plane to access the Data Plane over the internet by restricting inbound traffic to specific IP addresses. This method requires the Data Plane to have a publicly accessible endpoint.
To whitelist, add an inbound rule to the Azure NSG or Firewall allowing connections from the AI Gateway Management Plane’s IPs on the required port. Contact the Palo Alto Networks team for the current address list.
To integrate the Management Plane with the Data Plane, contact the Palo Alto Networks team and provide the Public Endpoint of the Data Plane.
Verifying Gateway Integration with the Management Plane
- Send a test request to Gateway using
curl.
- Go to the AI Gateway website -> Logs.
- Verify that the test request appears in the logs and that you can view its full details by selecting the log entry.
Uninstalling AI Gateway
Example Configurations
Simple Deployment (No VNet)
This example shows a basic deployment with built-in Redis and auto-created storage:
terraform.tfvars:
Deployment with VNet and Application Gateway
This example shows a deployment with VNet, Application Gateway with WAF, and managed services:
terraform.tfvars:
Gateway + MCP Deployment
This example shows how to deploy both AI Gateway and MCP Gateway:
terraform.tfvars:
Last modified on September 24, 2026