Installation
Image: repo.roboflow.com/roboflow-edge/secure-gateway
Pulls are public and anonymous; no docker login or API key is required to download an image. The :latest tag tracks the newest release. Pin a specific version tag in production, such as 0.4.2, or an image digest. Managed offline installs require the device credentials described below.
Offline bundle install
Download a self-contained bundle on an internet-connected machine, then transfer it and its checksum file to the gateway host. The published bundles contain Secure Gateway 0.4.2, RFDM v0.12.0, and the gateway and SeaweedFS images. The Docker bundle also includes Docker Engine 29.9.1, which it installs only if Docker is missing. Bundles currently support Linux x86_64 only.
Use a dedicated gateway host with systemd, root access, ports 80 and 443 available, and the host tools listed in the selected install guide. Before disconnecting the host, install those tools and, for Podman or MicroShift, the runtime. Create a Secure Gateway device in Roboflow and have its API key, device ID, and workspace ready.
The installer can load the bundled gateway images and start the services offline. A fresh managed gateway needs its initial cloud enrollment before its managed cache is usable; a successful /health check only confirms liveness. The bundle excludes child Inference Server images and model weights, which you must prepare and transfer separately. Once running, the gateway still needs outbound HTTPS to api.roboflow.com, repo.roboflow.com, and serverless.roboflow.com, directly or through your corporate proxy. See system requirements. Configure the proxy before running the installer, as described in each full guide.
1. Choose and download a bundle
On the connected machine, run one of these blocks. Each downloads the bundle and its SHA-256 sidecar.
Docker
For a Linux x86_64 host with or without Docker. Full Docker install guide · Bundle manifest
BUNDLE=secure-gateway-offline-installer-linux-amd64.tar.gz
BASE=https://repo.roboflow.com/rfdm/secure-gateway/latest
curl -fLO "$BASE/$BUNDLE"
curl -fLO "$BASE/$BUNDLE.sha256"
Podman
For RHEL and other hosts with rootful Podman 4 or later and the netavark network backend. Avoid sharing Podman storage with CRI-O; use the MicroShift flavor for MicroShift hosts. Full Podman install guide · Bundle manifest
BUNDLE=secure-gateway-podman-installer-linux-amd64.tar.gz
BASE=https://repo.roboflow.com/rfdm/secure-gateway/podman/latest
curl -fLO "$BASE/$BUNDLE"
curl -fLO "$BASE/$BUNDLE.sha256"
MicroShift
For RHEL 9.6 with Red Hat MicroShift 4.16 or later, CRI-O, skopeo, and an LVM volume group with free space. The installer removes MicroShift's default ingress router to free ports 80 and 443, so existing workloads that depend on that router will lose ingress. Full MicroShift install guide · Bundle manifest
BUNDLE=secure-gateway-microshift-installer-linux-amd64.tar.gz
BASE=https://repo.roboflow.com/rfdm/secure-gateway/microshift/latest
curl -fLO "$BASE/$BUNDLE"
curl -fLO "$BASE/$BUNDLE.sha256"
2. Verify and transfer
echo "$(cat "$BUNDLE.sha256") $BUNDLE" | sha256sum -c -
Expect OK. Stop if verification fails. Transfer both files to the gateway host using your approved transfer method. On that host, set BUNDLE to the filename you selected above, run the same checksum command again, then extract it:
tar xzf "$BUNDLE"
The latest/ URLs follow published releases. To keep a specific build, use built_from_commit from its manifest as the directory in place of latest, and use the versioned filename <bundle-name>-<built_from_commit>-linux-amd64.tar.gz and matching checksum. Keep the downloaded pair together.
3. Install on the gateway host
Run the command for your flavor, replacing the three credential placeholders:
# Docker
cd secure-gateway-offline-installer
sudo ./install.sh --api-key '<API_KEY>' --device-id '<DEVICE_ID>' --workspace '<WORKSPACE>'
# Podman
cd secure-gateway-podman-installer
sudo ./install-podman.sh --api-key '<API_KEY>' --device-id '<DEVICE_ID>' --workspace '<WORKSPACE>'
# MicroShift
cd secure-gateway-microshift-installer
sudo ./install-microshift.sh --api-key '<API_KEY>' --device-id '<DEVICE_ID>' --workspace '<WORKSPACE>'
The installer loads the bundled images and starts RFDM. The platform's device configuration replaces the bundled configuration on the next sync, so ensure it pins the intended gateway version. Set GATEWAY_PUBLIC_URL=https://<gateway-host-or-IP> in the gateway service's environment before enrolling clients that connect by that hostname or IP.
4. Verify and connect clients
sudo systemctl status rfdm --no-pager
sudo journalctl -u rfdm -n 50 --no-pager
Confirm the gateway is healthy in Roboflow. Take the CA from the running gateway and verify its fingerprint on the gateway host before trusting it on clients. Use the selected full install guide for the client enrollment commands and proxy settings. If you rotate the gateway CA, enroll every client again. See TLS & Certificates and Connecting Clients.
Container install
1. Run with the local disk cache (default)
docker run -d \
--name secure-gateway \
-p 80:8443 \
-v gateway-cache:/var/cache/secure-gateway \
repo.roboflow.com/roboflow-edge/secure-gateway:0.4.2
2. Or back the cache with S3
Set CACHE_S3_BUCKET and the gateway uses S3 instead of local disk, ideal when the host is ephemeral. Leave the access keys unset to use an instance/IAM role.
docker run -d \
--name secure-gateway \
-p 80:8443 \
-e CACHE_S3_BUCKET=my-gateway-cache \
-e CACHE_S3_REGION=us-east-1 \
-e CACHE_S3_PREFIX=cache/ \
-e CACHE_S3_ACCESS_KEY=AKIA... \
-e CACHE_S3_SECRET_KEY=... \
repo.roboflow.com/roboflow-edge/secure-gateway:0.4.2
3. Verify
docker logs secure-gateway
curl http://localhost/health
# {"status":"healthy"}
A docker-compose.yml is included in the repo for local runs. For production, front the container with a load balancer that terminates TLS (see TLS & Certificates) and point your devices at it with the client installer.
The Helm chart lives in the roboflow-edge repo at secure-gateway/helm and installs from that local path; there is no public chart repository to add. It is an MVP chart: one Deployment, one ConfigMap, one Service (ClusterIP on port 80), and an optional Secret for S3 credentials. The cache is always S3, so pods stay stateless.
1. Pre-create the S3 credential secret
kubectl create secret generic gateway-s3 \
--from-literal=access-key=AKIA... \
--from-literal=secret-key=...
On EKS you can skip this and rely on IRSA, GKE Workload Identity, or a node IAM role: leave auth empty and the AWS SDK picks up the pod's credentials.
2. Install the chart
helm install gateway ./secure-gateway/helm \
--set cache.s3.bucket=my-gateway-cache \
--set cache.s3.region=us-east-1 \
--set cache.s3.auth.existingSecret=gateway-s3
3. Or use a values file
replicaCount: 1
service:
type: ClusterIP
port: 80
gateway:
apiUrl: "https://api.roboflow.com"
repoUrl: "https://repo.roboflow.com"
extraProxyHosts: ""
cache:
s3:
bucket: my-gateway-cache
region: us-east-1
prefix: cache/
endpointUrl: "" # set for MinIO / GCS / R2
auth:
existingSecret: gateway-s3
# Anything not surfaced above goes through extraEnv verbatim
extraEnv:
- name: CACHE_ADMIN_TOKEN
valueFrom:
secretKeyRef:
name: gateway-admin
key: token
4. Verify
kubectl get pods
kubectl logs -l app.kubernetes.io/name=secure-gateway
The chart deliberately omits Ingress, HPA/PDB, NetworkPolicy, a dedicated ServiceAccount, and in-pod TLS. Terminate TLS at an Ingress or LoadBalancer in front of the Service, or extend the chart. For full-stack examples (ALB, ACM certs, IRSA), see Deployment Examples.