# Rightsizing: SageMaker

> Rightsizing applied to SageMaker in non-production. ZopNight Rightsize SageMaker on AWS, GCP, and Azure, read-only, production excluded by default.

Source: https://zop.dev/solutions/aws-sagemaker/right-sizing
Published: 2026-07-01 · Author: avinash-gaurav · Tags: zopnight, aws, ml, right-sizing

---

ZopNight recommends the optimal instance type based on actual usage patterns, not vendor defaults or guesswork. Applied to AWS SageMaker, it is one of the most reliable ways to take waste out of non-production without touching how the service runs in production.

Machine learning notebooks and endpoints bill around the clock, and rightsizing is about making sure you only pay for the hours and capacity you actually use. ZopNight Rightsize this against your measured usage, the same [FinOps](https://zop.dev/learn/finops) discipline that separates it from dashboard-first tools like [CloudHealth](https://zop.dev/compare/cloudhealth-vs-zopnight).

## Why rightsizing matters for SageMaker

What rightsizing actually buys you:

- Recommendations based on actual usage data.

- Instance type suggestions for VMs and databases.
- No risk, recommendations only, you decide when to act.

For SageMaker specifically, the win comes from the gap between how long the resource runs and how little of that time anyone is using it.

## How ZopNight does it

Connect a read-only role, let ZopNight discover your SageMaker across regions and accounts, and act, scheduling stops and starts on your hours, guided rightsizing for the oversized, idle detection for the forgotten. It ships 490 built-in audit rules across AWS (216), GCP (127), and Azure (147) and 124 of those recommendations are wired to act end to end, 28 one-click and 96 guided. Production is excluded by default and every action is logged.

## How ZopNight schedules SageMaker

The loop that does this is deliberately mechanical, and it starts read-only. You connect AWS, GCP, and Azure with a read-only role, and ZopNight discovers every SageMaker across your regions and accounts. It records a per-action permission verdict for each one, so you can see where it can list a resource but not yet stop it, and you review that inventory, filter it by status or type, and search for the specific resources you care about before anything is scheduled.

Scheduling itself is a cron you write once in plain terms, stop at 7 PM, start at 8 AM on weekdays, pinned to your timezone so the jobs fire at local business hours rather than UTC. A weekly 24-hour grid shows the schedule visually so you catch gaps and overlaps before you save, and an estimate of active versus inactive hours appears before you commit. Resources attach individually or bundle into groups like "dev-cluster" or "staging-db" so a whole environment follows one cadence.

Actions run in dependency order, so a database comes up before the app server that depends on it. When something needs to stay up, an override forces a SageMaker ON or OFF for a defined window, carries a reason so teammates understand why it exists, and expires automatically so nothing is left running by accident. If a start or stop fails, ZopNight retries up to three times and falls back to a dead-letter queue rather than silently dropping the action, and every state change lands in an audit trail that records whether a schedule, an override, or a specific user triggered it.

## Getting started

Getting started is intentionally low-stakes:

- Connect AWS, GCP, and Azure with a read-only role. Nothing is scheduled or changed at this stage.
- Let ZopNight discover your SageMaker and review exactly what it found, filtered by account, region, and status.
- Create a schedule in your timezone and attach the non-production resources or groups you want it to cover.
- Watch the first cycle run, with Slack, Teams, or Google Chat notifications on every start, stop, and failure, then layer in idle cleanup and guided rightsizing.

Production stays excluded by default throughout, and because discovery and recommendations are read-only, you can prove the value before you enable a single action.

## Frequently asked questions

### Does rightsizing on SageMaker risk production?

No. Production is excluded by default; ZopNight acts only on the non-production SageMaker resources you choose.

### How fast does it work?

Scheduling usually shows results in the first cycle. Connect read-only and enable a schedule; there is no migration and no agent to install.
