The Simplest Way to Make Cohesity and Sagemaker Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

You link cohesity and sagemaker by sending clean backup data to cloud storage for training. This workflow lets data teams train machine learning models on existing company backups. Many firms store terabytes of historical files inside their backup clusters. Data scientists want to read those files to build and test new models. Moving data between backup storage and cloud compute requires clear security rules. A good setup keeps your backup archives safe while feeding fresh data to notebooks.

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.

You link cohesity and sagemaker by sending clean backup data to cloud storage for training. This workflow lets data teams train machine learning models on existing company backups.

Many firms store terabytes of historical files inside their backup clusters. Data scientists want to read those files to build and test new models. Moving data between backup storage and cloud compute requires clear security rules. A good setup keeps your backup archives safe while feeding fresh data to notebooks.

How cohesity and sagemaker share data and permissions

Cohesity holds copies of your production databases, logs, and file shares. Amazon SageMaker runs the compute instances that train models on that data. The two tools meet at a shared cloud storage bucket or file mount. Cohesity exports or mounts a clean snapshot into an Amazon S3 bucket. SageMaker then reads that bucket using an assigned AWS IAM role.

Permissions must stay tight on both sides of this data flow. Cohesity needs a cloud role that can write snapshots to one specific bucket. It should not have rights to read other buckets or change cloud settings. SageMaker needs a separate execution role that only reads from that staging bucket. This split ensures that a training script cannot alter your core backup system.

Data flow should move in one direction during the training phase. You pick a backup snapshot, run a clone job, and push the files out. When the training job finishes, you delete the cloned files from the staging bucket. This habit keeps cloud storage costs low and shrinks your risk surface.

Common failure modes with shared roles and broad keys

Teams often rush the setup and share one broad key across both tools. A data scientist might paste static cloud keys right into a notebook file. If someone commits that notebook to git, anyone with repo access gets the keys. Static keys also fail to show which person ran a specific data job.

Another common mistake is mounting raw backup views without checking the contents first. Production backups contain sensitive customer details like emails, phone numbers, and card numbers. If you feed raw backups straight into a training job, the model memorizes them. You should mask sensitive fields so the pipeline rewrites matched fields in results. Rewriting emails and national IDs before export keeps sensitive strings out of cloud buckets.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Network paths between the backup cluster and cloud compute also need strict limits. Do not open your backup cluster management ports to the public internet. Use private network links or virtual private cloud endpoints to move the snapshot data. Log every API call that triggers a backup clone or reads a staging bucket. Clear logs help your security team track who moved data and why.

Scoping roles and network paths for safer model training

Start by creating dedicated roles for each stage of the pipeline. Give the backup export job write permissions on one prefix inside your staging bucket. Give the notebook instance read permissions on that exact same prefix and nothing else. Set a lifecycle rule on the bucket to delete staged files after seven days.

Tie every notebook session and export task back to a human user identity. Avoid shared service accounts that five different engineers use at the same time. When every person logs in with their own identity, audit logs stay clean. You can see who requested a backup clone and which model read the files.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

How do we move data from Cohesity to SageMaker?

You restore or clone a backup snapshot into a dedicated Amazon S3 staging bucket. Your training job then reads the files from that bucket using an IAM role.

Should SageMaker connect directly to our primary backup cluster?

No, compute instances should never have direct network routes to your core backup cluster. Always push a scoped copy of the data to an isolated cloud bucket first.

How do we handle sensitive data inside backup snapshots?

Apply data masking to rewrite emails, phone numbers, and card numbers before training begins. This step stops machine learning models from training on raw personal details.

The query runs. The emails stay hidden.