BahriyaBAHRIYAby Mamluk
Use CasesPricingLocationsBlogSecurityAboutContact
Request access

Networking

  • Network Policies
  • DNS Failover
  • DNS Modes
  • External Networking
  • Hostnames and DNS
  • Setting Up a Custom Domain
Getting Started→
  • Core Concepts
  • Deploy Your First Container
  • Platform Limits
  • What is Bahriya?
Quickstarts→
  • Deploy a Go app on Bahriya
  • Deploy a Next.js app on Bahriya
  • Deploy a Node.js app on Bahriya
  • Deploy a static site on Bahriya
  • Deploy any Docker image on Bahriya
  • Deploy Django on Bahriya
  • Deploy FastAPI on Bahriya
  • Deploy Laravel on Bahriya
  • Deploy Rails on Bahriya
  • Deploy your framework on Bahriya
Containers→
  • Basic Authentication
  • Choosing container storage
  • Containers
  • Cron Jobs
  • Environment Variables
  • Ephemeral Storage
  • Health Checks and Bootstrap Time
  • HTTP Containers
  • Init Jobs
  • Path Rules
  • Persistent Storage
  • Prometheus Metrics
  • Rate Limiting and IP Rules
  • Resources and Autoscaling
  • Worker Containers
Caching→
  • Cache-Control and TTL
  • Proxy cache vs Memcached
  • Proxy Caching
Projects→
  • Project Attachments
  • Project Quotas
  • Projects
Vault→
  • What is the Vault?
  • TLS Bundles
  • X.509 Certificates
  • GPG Keypairs
  • SSH Keypairs
  • Encryption Keys
  • Registries
  • Secrets
Configs→
  • Env Files
  • JSON Configs
  • YAML Configs
  • Plain Configs
Organisations→
  • Activity Log
  • Organisations
  • Personal Access Tokens
  • Roles and Permissions
  • Sharing Individual Resources
  • Team Management and Invitations
  • Transferring Ownership
Regions→
  • Choosing Regions
  • Data Residency
  • Multi-Region Deployments
  • Regions
Memcached→
  • Common Memcached use cases
  • Connecting to Memcached
  • Memcached
  • Sizing and eviction
Billing→
  • Billing Details
  • CPU Classes
  • How Billing Works
  • Top-ups and Invoicing
Reis CLI→
  • Installing Reis
  • Reis CLI
  • Deploy JSON Configs with Reis (YAML Mode)
  • Deploy JSON Configs with Reis (Flag Mode)
  • Deploy Plain Configs with Reis (Flag Mode)
  • Deploy Plain Configs with Reis (YAML Mode)
  • Deploy Env Files with Reis (Flag Mode)
  • Deploy Env Files with Reis (YAML Mode)
  • Authentication
  • Commands Reference
  • Deploy a cron job with flags
  • Deploy a cron job with YAML
  • Deploy a worker with flags
  • Deploy a worker with YAML
  • Deploy an HTTP container with flags
  • Deploy an HTTP container with YAML
  • Deploy Encryption Keys with Reis (Flag Mode)
  • Deploy Encryption Keys with Reis (YAML Mode)
  • Deploy GPG Keypairs with Reis (Flag Mode)
  • Deploy GPG Keypairs with Reis (YAML Mode)
  • Deploy Memcached with flags
  • Deploy Memcached with YAML
  • Deploy Network Policies with Reis (YAML Mode)
  • Deploy SSH Keypairs with Reis (Flag Mode)
  • Deploy SSH Keypairs with Reis (YAML Mode)
  • Deploy TLS Bundles with Reis (Flag Mode)
  • Deploy TLS Bundles with Reis (YAML Mode)
  • Deploy Valkey with flags
  • Deploy Valkey with YAML
  • Deploy X.509 Certificates with Reis (Flag Mode)
  • Deploy X.509 Certificates with Reis (YAML Mode)
  • Deploy YAML Configs with Reis (Flag Mode)
  • Deploy YAML Configs with Reis (YAML Mode)
  • Flag mode
  • Manage Billing Details with Reis (Flag Mode)
  • Manage Billing Details with Reis (YAML Mode)
  • Manage HTTP container path rules with Reis (Flag Mode)
  • Manage HTTP container path rules with Reis (YAML Mode)
  • Manage Network Policies with Reis (Flag Mode)
  • Manage Roles and Sharing with Reis (Flag Mode)
  • Manage Roles with Reis (YAML Mode)
  • Using Reis in CI/CD Pipelines
  • YAML mode
Terraform→
  • Installing the Terraform Provider
  • Terraform Provider
  • Complete Terraform Example
  • Deploy a Cron Job with Terraform
  • Deploy a Project with Terraform
  • Deploy a Worker Container with Terraform
  • Deploy an HTTP Container with Terraform
  • Deploy Encryption Keys with Terraform
  • Deploy Env Files with Terraform
  • Deploy GPG Keypairs with Terraform
  • Deploy JSON Configs with Terraform
  • Deploy Memcached with Terraform
  • Deploy Network Policies with Terraform
  • Deploy Plain Configs with Terraform
  • Deploy Registry Credentials with Terraform
  • Deploy Secrets with Terraform
  • Deploy SSH Keypairs with Terraform
  • Deploy TLS Bundles with Terraform
  • Deploy Valkey with Terraform
  • Deploy X.509 Certificates with Terraform
  • Deploy YAML Configs with Terraform
  • Manage Billing Details with Terraform
  • Manage Custom Roles with Terraform
  • Manage HTTP container path rules with Terraform
  • Share Individual Resources with Terraform
Security→
  • Data Protection and Residency
  • Private Networking
  • Secrets and Vault Best Practices
  • Securing Your Container
  • Security
  • TLS and Certificates
Troubleshooting→
  • 502, 503 and 504 Errors From Your Container
  • Common Issues
  • Container Out of Memory
  • Container Won't Start or Keeps Crash-Looping
  • Custom Domain Not Resolving
  • Deployment Stuck in "Provisioning"
  • Health Check Failures
  • Image Cannot Be Pulled
  • TLS and Certificate Errors
Comparisons→
  • Choosing a container platform
  • Bahriya vs Amazon ECS
  • Bahriya vs Fly.io
  • Bahriya vs Google Cloud Run
  • Bahriya vs Heroku
  • Bahriya vs Railway
  • Bahriya vs Render
Migrating to Bahriya→
  • Migrate from Docker Compose to Bahriya
  • Migrate from Fly.io to Bahriya
  • Migrate from Heroku to Bahriya
  • Migrate from Railway to Bahriya
  • Migrate from Render to Bahriya
  • Migrating to Bahriya
Knowledgebase/Networking

Networking

Hostnames, DNS, failover, custom domains and external network rules.

6 articles

  • Network Policies

    Keep projects private by default and open exactly the connections you need — ingress from peer projects, outbound IP ranges and domains, scoped to a project, container, or datastore.

    4 min
  • DNS Failover

    DNS failover automatically removes a region from DNS resolution if the container in that region becomes unhealthy. Traffic is redirected to the remaining healthy regions without any manual intervention.

    2 min
  • DNS Modes

    When a container runs in multiple regions, Bahriya needs to decide how to route traffic to it. DNS modes control this routing strategy for vanity hostnames and custom domains.

    2 min
  • External Networking

    By default, every container deployed on Bahriya is reachable from the internet via its hostname. External networking controls whether this is the case.

    1 min
  • Hostnames and DNS

    Every container deployed on Bahriya gets one or more hostnames automatically. You don't need to configure DNS manually — Bahriya handles it.

    2 min
  • Setting Up a Custom Domain

    You can point your own domain to a container running on Bahriya. This guide walks through the steps to configure a custom domain with HTTPS.

    3 min

Product

  • HTTP Containers
  • Worker Containers
  • Cron Jobs
  • Memcached
  • Volume Storage
  • Network Policies
  • Vault
  • Configs
  • Pricing
  • Locations
  • Use Cases

Resources

  • Reis CLI
  • Terraform Provider
  • API Reference
  • Knowledgebase
  • Blog

Company

  • About
  • Careers
  • Investors
  • Contact

Trust

  • Security
  • Vendor policy

Legal

  • Terms
  • Privacy

Mamluk© Mamluk 2026. All rights reserved.