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 AI Gateway supports the following methods for integrating the Data Plane with the Management Plane:
- Azure Private Link
- Over the Internet
Azure Private Link (Outbound)
Connect your Gateway to the Management Plane privately over Azure Private Link.
Prerequisites: VNET deployment (network_mode = "new" or "existing").
Steps:
-
Request whitelisting — Share your Azure Subscription ID with the Palo Alto Networks team. Wait for confirmation that your subscription is whitelisted.
-
Deploy Private Endpoint — Enable outbound Private Link in your Terraform configuration:
Add to your terraform.tfvars:
Deploy:
This creates:
- Private Endpoint in your VNET
- Private DNS Zone (
privatelink-az.portkey.ai)
- DNS A record (
azure-cp) pointing to the Private Endpoint IP
- VNET link for DNS resolution
- Request connection approval — Get the Private Endpoint resource ID and share it with the Palo Alto Networks team:
Share the output with the AI Gateway. Wait for them to approve the connection.
- Verify approval (optional):
- Configure Private Endpoint URLs — Update your Gateway configuration to use the private Management Plane endpoint.
Update in main.tf:
- Redeploy — Apply the configuration changes:
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)
- Azure Private Link
- IP Whitelisting
Azure Private Link (Inbound)
Allow Management Plane to connect to your Gateway privately via Azure Private Endpoint.
Prerequisites: Gateway deployed and running.
Steps:
- Share connection details — Get your Gateway connection information and share with the Palo Alto Networks team:
Share both outputs with the AI Gateway:
- ACA Environment Resource ID (e.g.,
/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.App/managedEnvironments/xxx)
- Gateway FQDN (e.g.,
gateway.<env-domain>.<region>.azurecontainerapps.io)
-
Wait for connection request — the AI Gateway creates a Private Endpoint in their subscription targeting your ACA Environment. A connection request will appear in your Azure subscription.
-
Check for pending connections:
- Approve the connection:
Or approve via Azure Portal: Container Apps Environment → Networking → Private endpoint connections → approve the pending request.
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 (54.81.226.149, 34.200.113.35, 44.221.117.129) on the required port.
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 15, 2026