> ## Documentation Index
> Fetch the complete documentation index at: https://docs.suga.app/llms.txt
> Use this file to discover all available pages before exploring further.

# CDN and Regions

> How Suga Cloud distributes traffic across the global edge and Suga regions

Public HTTPS requests to Suga services enter through Cloudflare's global edge before reaching the Suga region that hosts your environment. The edge handles TLS, caching, and filtering, and the region runs your service. TCP proxy traffic takes a different path (see [Request Path](#request-path)).

## Edge Network

HTTPS traffic to a Suga service is served through Cloudflare's global network. This applies to both auto-generated Suga domains and [custom domains](https://docs.suga.app/configure/custom-domains.md).

**At the edge, you get:**

* TLS termination with automatically provisioned and renewed certificates
* A managed WAF and DDoS protection
* Static asset caching and compression

Once the edge has handled the request, traffic is forwarded to the Suga region hosting your environment. See [HTTPS Endpoints](https://docs.suga.app/configure/networking.md#https-endpoints) for the service-level configuration.

## Regions

Each organization picks a region when its Suga Cloud account is set up, and every [environment](https://docs.suga.app/concepts/environments.md) in that organization runs in that region. The regions currently open to new organizations are:

| Area | Region | Location |
| - | - | - |
| Americas | `us-central1` | Iowa, USA |
| Europe | `europe-west1` | St. Ghislain, Belgium |
| Asia-Pacific | `australia-southeast1` | Sydney, Australia |

> [!NOTE]
>
> All environments in an organization share the same region. To run workloads in multiple regions today, [contact support](https://docs.suga.app/support/contact.md). Region migration and multi-region setup are handled manually.

## Request Path

A public HTTPS request follows this path:

```mermaid theme={null}
graph LR
    client[Client] -->|HTTPS| edge[Cloudflare Edge<br/>TLS · WAF · CDN]
    edge -->|Forwarded| ingress[Suga Region<br/>Ingress]
    ingress -->|Routed| service[Your Service]
```

The client connects to the closest Cloudflare location, Cloudflare forwards the request to the regional ingress for the environment, and the ingress routes the request to one of your service replicas.

TCP proxy traffic skips the edge layer and connects directly to the regional load balancer, since Cloudflare's HTTPS edge does not apply to raw TCP. See [TCP Proxy](https://docs.suga.app/configure/networking.md#tcp-proxy).

## DNS Architecture

Suga manages DNS records on your behalf. You don't need to configure them. They're documented here so you can understand what gets created when you enable a public endpoint or attach a custom domain.

**Suga-generated HTTPS domains** resolve through Cloudflare to the regional ingress for the environment. This is what backs the auto-generated URL shown in the dashboard.

**Custom domains** use a CNAME target of the form:

```
<hash>.cname.<cluster zone domain>
```

The hash is derived from your environment, so the target is different for every environment and you cannot construct it yourself. Copy the exact value Suga shows you when you add the domain, and point your domain (e.g. `app.example.com`) at it. Your domain then gets the same edge TLS, WAF, DDoS protection, and caching as a Suga-generated one. See [Custom Domains](https://docs.suga.app/configure/custom-domains.md) for the setup steps.

**TCP proxy endpoints** use a non-proxied DNS record so raw TCP traffic can reach the regional load balancer directly. The hostname is allocated automatically when you add a TCP proxy.

## TLS and Certificates

Certificates are provisioned and renewed for you, on Suga-generated domains and on custom domains. You never touch a certificate or a private key, and there is nothing to renew or monitor.

Traffic is encrypted on every hop between the visitor and the Suga region, in both directions.

One case needs something from you. An apex domain, like `example.com` rather than `app.example.com`, needs a `_suga-verify` TXT record to prove you own it. See [Custom Domains](https://docs.suga.app/configure/custom-domains.md#configuring-an-apex-domain).

## What Suga Manages vs What the Edge Manages

| Suga manages | The edge manages |
| - | - |
| DNS records for Suga and custom domains | Caching and cache rules |
| TLS certificate provisioning and renewal | Compression |
| Regional routing to your environment | Image optimization |
| Onboarding your custom domain | Minification |

Whichever of these features are active depends on Cloudflare's zone configuration. Suga doesn't expose per-tenant overrides.

## Common Questions

> [accordion] Can I choose which region my organization runs in?
>
> Yes. The region is selected when your Suga Cloud account is set up and applies to every environment in the organization. To change region after the fact, [contact support](https://docs.suga.app/support/contact.md).

> [accordion] Can one organization run in multiple regions?
>
> Not today. All environments in an organization share the same region. If you need workloads in more than one region, [contact support](https://docs.suga.app/support/contact.md).

> [accordion] Can I configure caching or image optimization?
>
> No. These behaviors are controlled by Cloudflare's zone configuration, and Suga doesn't expose per-tenant overrides.

> [accordion] Are more regions coming?
>
> Yes. We add regions over time. [Contact support](https://docs.suga.app/support/contact.md) if a specific region matters for your workload.

## Next Steps

> [card] [Networking](https://docs.suga.app/configure/networking.md)
>
> HTTPS endpoints, TCP proxy, and private networking

> [card] [Custom Domains](https://docs.suga.app/configure/custom-domains.md)
>
> Serve services from your own domain


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.