The Simplest Way to Make Cohesity and Fastly Compute Edge Work Like They Should
Running cohesity and fastly compute edge together links backup data with fast edge apps. Edge workers can trigger snapshots, check backup status, or serve archived files to users. Teams use this setup to check backup health close to their users. Edge code can also route storage alerts or fetch safe files from backup clusters. Doing this well requires strict rules for keys, network paths, and audit logs. How cohesity and fastly compute edge share data and keys Fastly runs custom code at the n
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.
Running cohesity and fastly compute edge together links backup data with fast edge apps. Edge workers can trigger snapshots, check backup status, or serve archived files to users.
Teams use this setup to check backup health close to their users. Edge code can also route storage alerts or fetch safe files from backup clusters. Doing this well requires strict rules for keys, network paths, and audit logs.
How cohesity and fastly compute edge share data and keys
Fastly runs custom code at the network edge close to end users. Cohesity stores backups, files, and archive data in central clusters or cloud storage. To talk to the storage cluster, the edge worker sends web requests.
Each web request needs a valid API token or user key to log in. You store these secret keys inside the edge secret store for safe reading. When a user request hits the edge, the worker reads the secret key. Then it calls the backup cluster API to read status or move files.
Permissions decide what the edge worker can read or write on the cluster. A good setup gives the edge worker a small, specific role on Cohesity. For example, a status page worker only needs permission to read cluster health. It should never have the power to delete snapshots or change cluster settings.
Data flows back from the backup cluster to the edge as simple web responses. The edge worker can cache status results so it does not spam the cluster. Caching keeps the backup cluster fast and lowers load on your main network.
Common failure modes and how to scope roles
Many teams make mistakes when they first link edge code to backup systems. The biggest mistake is using one shared admin account for all edge workers. If that key leaks, an attacker can wipe out your company backups.
Broad tokens are another common risk in edge and storage setups. Teams often create tokens that never expire and can read every storage view. When an engineer leaves the team, those old tokens keep working in production.
Unlogged queries also cause major blind spots for security teams during audits. When ten edge services share one user name, logs cannot show who did what. You see the shared account in the cluster log, not the true caller.
End-to-End Encryption + Edge Computing Security: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Sensitive data in backup files can also cause trouble at the edge. If edge code pulls user records, masking should rewrite emails and phone numbers. Masking can also rewrite card numbers and national IDs in query results.
To fix these issues, create a separate role for each edge service. Map each role to the exact storage views and actions it needs. Rotate the API keys stored in the edge secret store on a set schedule.
Lock down the network path between the edge and your storage cluster too. Set firewall rules so the cluster only accepts traffic from known edge addresses. Use strict TLS settings on both sides so traffic stays encrypted in transit.
How to monitor and test your edge storage workflow
Good logging keeps your team aware of every request between both systems. Send edge worker logs and backup cluster audit logs to one central place. Check these logs for failed logins, odd file reads, or sudden traffic spikes.
Test your role permissions in a staging setup before going live in production. Try to run a delete command using a read-only edge key during testing. The storage cluster should block the request and write a clear alert log.
Keep your edge code simple so it handles slow storage responses with grace. If the backup cluster is busy, the edge worker should time out fast. Returning a cached response keeps your app fast while protecting the storage backend.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
How do edge workers log in to the Cohesity cluster?
Edge workers read an API key from the Fastly secret store at runtime. They send that key in the request header to the Cohesity API.
Why should we avoid shared admin keys in edge apps?
Shared admin keys give edge code the power to delete backups and change settings. Scoped roles limit each edge app to only the actions it needs.
Can Fastly cache responses from the Cohesity API?
Yes, edge code can cache read-only responses like backup status or health checks. Caching reduces load on the storage cluster and speeds up responses for users.
Related guides
In this post