The Simplest Way to Make Akamai Edgeworkers and Ceph Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Pairing akamai edgeworkers and ceph lets teams serve object data right from the network edge. Edge code runs close to users and pulls files from your private storage cluster. This setup cuts wait times for web apps and keeps storage costs low. Teams use it to check user rules before they send private files. How akamai edgeworkers and ceph share keys and data Edge scripts run in small compute nodes all around the world. When a user asks for a file, the edge script wakes up first. It checks the

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Pairing akamai edgeworkers and ceph lets teams serve object data right from the network edge. Edge code runs close to users and pulls files from your private storage cluster. This setup cuts wait times for web apps and keeps storage costs low. Teams use it to check user rules before they send private files.

How akamai edgeworkers and ceph share keys and data

Edge scripts run in small compute nodes all around the world. When a user asks for a file, the edge script wakes up first. It checks the request headers and decides which storage bucket holds the file. Then the script sends a signed request to the storage cluster endpoint.

Ceph offers an object interface that speaks the standard S3 web protocol. Your edge script must sign each web call with an access key and secret. The storage cluster checks this signature before it sends back any bytes. If the signature matches, the cluster streams the object back to the edge node.

The edge node can then change headers or filter data before the user gets it. You can also cache public objects at the edge to save storage bandwidth. Private files skip the cache and ask for a fresh check every single time.

Common risks with shared keys and broad storage roles

Many teams put a single storage key inside their edge script variables. This shared key often has full read and write rights across all buckets. If one edge script leaks that key, an attacker can read every bucket. Broad keys also make it hard to see which app changed a file.

Unlogged reads are another big problem for production teams. Storage logs show that the edge key read an object, not which person asked. When sensitive data leaks, the security team cannot trace the real user. In regulated fields, you must also guard private data inside those files. Data masking rewrites matched fields like emails, phone numbers, card numbers, or national IDs in results.

Network paths between the public edge and private storage need tight rules too. Opening your storage cluster to the whole internet invites constant brute force attacks. Teams should lock down firewall rules so only known edge nodes can reach storage.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

How to scope roles and network paths between systems

Start by creating a separate storage user for each edge script you run. Give a read-only role to scripts that only fetch files for web users. Never give delete or write rights to an edge worker unless it needs them. Lock each key to a single bucket path instead of the whole cluster.

Rotate your object storage keys on a set schedule to limit exposure. Store the secrets in encrypted edge variables rather than inside the script code. When a team member leaves, rotate the shared development keys right away.

Add request tags or custom headers from the edge script to every storage call. Include a trace ID so your logs link the edge check to the storage read. Set strict timeouts on the edge call so slow storage disks do not hang requests. Test these role limits in a staging bucket before you push code live.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How do edge scripts log in to a Ceph cluster?

Edge scripts use the S3 web interface built into the Ceph audit storage. The script signs each web request using an access key and a secret key.

Should edge workers use one shared storage account?

No, each edge service should have its own storage user and key pair. Scoping each key to one bucket limits damage if a key ever leaks.

How can teams protect private networks from public storage calls?

Teams restrict firewall rules to allow traffic only from known edge IP ranges. They also enforce TLS encryption on every storage call over the public network.

The query runs. The emails stay hidden.