Upload anywhere.
Serve everywhere.
3 edge nodes, automatic replication, global reads. Drop a file and it's live on every node in under 2 seconds.
Uploaded Files
| Name | Size | Modified |
|---|
VPN Configs
Registered Peers
| Name | IP | Public Key |
|---|
Live Status
| Status | Name | VPN IP | Connected To | Last Handshake | Rx / Tx |
|---|
Cluster Health
Usage Guide
Upload via S3 API
PUT any file to the S3-compatible endpoint. It replicates automatically.
curl -X PUT \
-T myfile.jpg \
https://cdn.zyr.xyz/cdnfiles/myfile.jpg
Upload via Filer
Use multipart form upload for directory-style paths.
curl -F "file=@photo.png" \
https://cdn.zyr.xyz/filer/images/photo.png
Read Files
Files are served from the nearest edge node via GeoDNS. Cached at the edge.
https://cdn.zyr.xyz/cdnfiles/myfile.jpg
List Objects
List bucket contents via the S3 ListObjects API.
curl https://cdn.zyr.xyz/cdnfiles/?list-type=2
Delete Files
DELETE removes from all replicas across the cluster.
curl -X DELETE \
https://cdn.zyr.xyz/cdnfiles/myfile.jpg
S3 SDK Compatible
Use any S3 SDK — boto3, aws-sdk, minio-js. Just point the endpoint.
import boto3
s3 = boto3.client('s3',
endpoint_url='https://cdn.zyr.xyz',
aws_access_key_id='',
aws_secret_access_key='')
s3.upload_file('local.jpg',
'cdnfiles', 'remote.jpg')
How It Works
Upload
Client uploads via HTTPS to cdn.zyr.xyz. Cloudflare DNS round-robins to the nearest of 3 edge servers.
Ingest
Nginx terminates SSL and proxies to the local SeaweedFS filer/S3 gateway on the receiving node.
Replicate
SeaweedFS writes locally and synchronously replicates to the other 2 data centers (replication=200). Filer active-active sync keeps metadata consistent.
Serve
Reads hit the nearest node via GeoDNS. Nginx serves from edge cache (HIT) or fetches from the local SeaweedFS volume (MISS).
Stack
Nodes
| Node | Public IP | WireGuard IP | Datacenter | Role |
|---|---|---|---|---|
us-central |
147.93.131.83 |
10.0.0.1 |
dc1 | Master + Volume + Filer + Grafana |
us-east |
86.48.29.97 |
10.0.0.2 |
dc2 | Master + Volume + Filer |
us-west |
85.239.239.133 |
10.0.0.3 |
dc3 | Master + Volume + Filer |