AWS Training
Modules Listen Certification

← SageMaker Use Case Discovery — Meeting Prep

Starts this lesson and continues through 18 more to the end of the course.

Cost, security, and quotas — what to pin down before you say yes

The call ends with an offer. This is the checklist behind your answer.

"Shall we stand up a proof of concept?" costs nothing to accept on the day. The bill, the IAM review and the quota tickets arrive later, and all three are predictable from the documentation. Four findings below should change what you say on Thursday: an endpoint has no stop command; every on-demand training instance type has a default quota of 0; the first managed policy the docs hand you can pass any IAM role; and Clarify and Model Monitor are closed to new customers.

IAM, KMS and Lake Formation background is DE4.6; the inference options are lesson 3.

1. What you are billed for

From SageMaker AI pricing (verified 2026-11-16): "you pay only for what you use", on-demand or through SageMaker Savings Plans.

Dimension How the page says it is charged Stops when
Studio IDEs (JupyterLab, Code Editor) Instance type × duration; Studio itself is "free of charge" Compute: the space stops. Storage: "accrued until it is deleted"
Notebook instances Instance type × duration StopNotebookInstance "stops charging you for the ML compute instance"; the storage volume is preserved (CLI ref)
Canvas Workspace instance, by session time "billed for as long as the instance runs" (Canvas)
Processing, Training, Batch Transform Instance type × duration of the job Job ends
Real-Time Inference "charged for usage of the instance type you choose", plus data processed You delete the endpoint
Asynchronous Inference Instance type; can auto-scale "to zero" Scale-in or delete
Serverless Inference Compute "billed by the millisecond" by memory size, plus data processed; Provisioned Concurrency is extra No requests, no compute charge

⚠️ Dollar figures. The per-instance rate tables were not in the HTML I fetched; only worked examples carry numbers. I could not verify any hourly rate for your Region — check the pricing page in a browser. The example to carry into the room is "Pricing example #10: Real-time inference": two ml.c5.xlarge instances, 24 * 31 * 2 = 1488 hours at an example rate of $0.204, printed total $303.522 — for a model that "receives 100 MB of data per day". Calendar hours, not request hours.

Savings Plans. SageMaker AI Savings Plans give "up to 64% off of On-Demand rates" regardless of instance family, size, Region, "and component (for example, Notebook, Training, etc.)" (plan types, verified 2026-11-16). The commitment is "$/hour" for "a one or three year term" (ML Savings Plans) and "can't be changed after purchase". ⚠️ The pricing page's eligible list does not name Serverless Inference, Asynchronous Inference or Canvas; I could not verify whether they are covered.

Free tier. The pricing page documents a SageMaker AI Free Tier "per month for the first 2 months" from your first SageMaker AI resource: 250 hours of ml.t3.medium on Studio notebooks or notebook instances, 50 hours of m4.xlarge or m5.xlarge training, 125 hours of m4.xlarge or m5.xlarge real-time inference, 150,000 seconds of serverless inference, 160 hours/month of Canvas.

⚠️ Two contradictions. The AWS Free Tier page describes a credit model instead ("up to $200 in credits" for new customers); I could not verify how they interact. And the free tier offers m5.xlarge training while the quota table lists that usage at default 0.

2. The idle-resource traps

The memorable idea: in SageMaker AI the default state of an endpoint is "billing".

"Delete endpoints to stop incurring charges" (delete resources, verified 2026-11-16). The CLI command index lists stop-notebook-instance, stop-training-job, stop-processing-job and stop-transform-job, and no stop-endpoint. Deleting an endpoint "will not delete the endpoint configuration or the SageMaker AI model", so recreating it is cheap.

Trap What the docs say
Scale-to-zero assumed Only "if it hosts inference components"; afterwards provisioning "takes several minutes. During that time, any attempts to invoke the endpoint will produce an error" (doc)
Studio app stopped, space kept Stopping the app deletes the instance; only deleting the space deletes its EBS volume (doc)
Domain deleted "The EFS volume persists after the domain is deleted" (doc)
Canvas tab closed Billing runs until log-out; automatic shutdown is a Lambda you build that calls DeleteApp

Idle shutdown (overview, setup, verified 2026-11-16) covers JupyterLab and Code Editor only, set at domain or user-profile level. ⚠️ Three catches:

From the CLI it is aws sagemaker update-domain --default-user-settings, with IdleTimeoutInMinutes, MinIdleTimeoutInMinutes and MaxIdleTimeoutInMinutes set to one value.

Notebook-instance lifecycle configurations (LCC) run only on create or start, for at most 5 minutes, "with root access and the notebook instance's IAM execution role privileges" (doc). Whoever can edit one can act as the execution role.

The audit commands

Options and status values are from the AWS CLI reference pages (verified 2026-11-16). Run per Region.

aws sagemaker list-endpoints --status-equals InService
aws sagemaker list-notebook-instances --status-equals InService
aws sagemaker list-domains
aws sagemaker list-apps --domain-id-equals <domain-id>
aws sagemaker list-spaces --domain-id-equals <domain-id>
aws sagemaker list-training-jobs --max-results 100 --status-equals InProgress
aws sagemaker delete-endpoint --endpoint-name <endpoint-name>

list-apps returns AppType (JupyterLab, CodeEditor, Canvas, …) and Status; aws sagemaker delete-app stops one.

⚠️ Two documented oddities. With StatusEquals and MaxResults both set, list-training-jobs fetches the first N jobs "with any status" and then filters, so an empty result proves nothing. And the Studio guide shows list-spaces … --domain-id domain-id while the CLI reference lists --domain-id-equals; the pages disagree.

3. Quotas — what delays a proof of concept

The authoritative table is Amazon SageMaker AI endpoints and quotas (verified 2026-11-16). Defaults "are based on new accounts", yours "might be different", and every row is scoped "Each supported Region".

Instance quotas are per instance type, per usage: <type> for endpoint usage, for training job usage, for spot training job usage, for processing job usage, for transform job usage, for notebook instance usage, and Studio JupyterLab Apps running on <type> instances. Quota to train on a type gives you nothing for hosting on it.

Counting the 2,449 rows as fetched (my parse; re-check before quoting in a ticket):

Usage Rows Non-zero defaults
Training job 218 none
Transform job 113 none
Endpoint 271 3: ml.m6g.large 2, ml.m6g.xlarge 1, ml.t2.medium 2
Processing job 201 3: ml.t3.medium 4, ml.t3.large 4, ml.t3.xlarge 2
Spot training job 217 12, e.g. ml.m5.xlarge 4, ml.c5.xlarge 4
Notebook instance 180 38, e.g. ml.t3.medium 6, ml.m5.xlarge 1
Studio JupyterLab app 169 38, e.g. ml.t3.medium 6, ml.m5.xlarge 1

Every instance-type row is adjustable. The GPU types I sampled (ml.g5.xlarge, ml.p3.2xlarge) are 0 for every usage.

Account-level quota Default Adjustable
Total domains 2 Yes
Maximum number of Studio user profiles allowed per account 2 Yes
Number of instances across active endpoints 4 Yes
Maximum number of serverless endpoints 5 Yes
⚠️ Total Monitoring Schedules 10 No
⚠️ Rate of InvokeEndpoint requests 10,000 No

Requesting an increase (Service Quotas guide, verified 2026-11-16): "Smaller increases are usually automatically approved while larger requests are submitted to Support", and requests "don't receive priority support. Support can approve, deny, or partially approve". The CLI path needs ServiceQuotasFullAccess or iam:CreateServiceLinkedRole. The CLI reference example, verbatim:

aws service-quotas request-service-quota-increase \
    --service-code ec2 \
    --quota-code L-20F13EBD \
    --desired-value 2

⚠️ I could not verify the Service Quotas ServiceCode for SageMaker AI, or any SageMaker quota code, from a fetched page. The guide says: get the code from ListServices, then QuotaCode and your applied Value from list-service-quotas. A ticket needs Region, account ID, exact quota name, applied value, desired value, and the exact error text.

4. Security — what your reviewers will ask

Execution roles and iam:PassRole. SageMaker AI "performs operations on your behalf" through an execution role trusted by sagemaker.amazonaws.com (roles, verified 2026-11-16). You pass it on CreateTrainingJob, CreateProcessingJob, CreateModel, CreateDomain, CreateUserProfile, CreateAutoMLJob and others; the documented scoping condition is "iam:PassedToService": "sagemaker.amazonaws.com".

⚠️ AmazonSageMakerFullAccess. The roles page calls it "fairly broad". The managed policies page says it "grants administrative permissions" and "allows all IAM roles to be passed to Amazon SageMaker AI". S3 object access is limited to buckets or objects "with SageMaker, Sagemaker, sagemaker, or aws-glue in the name", yet it allows s3:CreateBucket and s3:ListAllMyBuckets on any resource. The policy reference shows v29, edited February 12, 2026: AWS changes it under you. The governance page offers Amazon SageMaker Role Manager for "least-privilege permissions".

Network.

Encryption. The default is "an AWS managed key for Amazon S3 (SSE-S3)" for Studio notebooks, notebook instances, model artifacts and job output (doc). You can pass a KMS key for the storage volume of notebooks, jobs and endpoints; otherwise volumes use "a transient key" (doc). For Studio, CreateDomain takes KmsKeyId (EFS and EBS) and S3KmsKeyId. ⚠️ Cross-account output requires your own customer managed key.

Audit. "CloudTrail captures all API calls for Amazon SageMaker AI as events"; Event history holds 90 days of management events (doc). ⚠️ InvokeEndpoint is a data event: "By default, CloudTrail doesn't log data events", they cost extra, and those calls "don't log the request parameters". CloudTrail will not tell you which applicant was scored.

Data used by the service. The FAQ: "SageMaker AI does not use or share customer models, training data, or algorithms." Separately, SageMaker AI "collects aggregate information about the use of AWS-owned and open source libraries used during training"; opt-out is per training job with OPT_OUT_TRACKING=1 (doc). Never put sensitive information "into tags or free-form text fields" (doc).

5. Governance features, at map level

Candidate 1, enrollment and withdrawal prediction, scores individual applicants. That makes these four relevant, and two carry a notice.

Feature One verified sentence
Model Registry Catalogs models, manages versions and "the approval status of a model" (doc)
Model Cards Document "intended use and risk rating of a model, training details and metrics"; edits create new versions (doc)
⚠️ Clarify Computes "bias metrics and feature attributions" — and "is no longer open to new customers" (doc)
⚠️ Model Monitor Monitors data quality, model quality, bias drift and feature attribution drift — and "is no longer open to new customers" (doc)

The Clarify availability change page names the replacement: bias metrics you compute "with pandas and scikit-learn", the SHAP library, and AWS-published open-source monitoring solutions. Amazon Bedrock Evaluations are "not a replacement for predictive (tabular/classical ML) bias detection or explainability". ⚠️ The pricing page still describes free Model Monitor hours, and I could not verify what makes an account an "existing customer".

Regulatory points are questions, not claims. The compliance page points to "AWS services in Scope by Compliance Program" and AWS Artifact, and says your responsibility depends on "the sensitivity of your data, your company's compliance objectives, and applicable laws and regulations". AWS publishes a FERPA page. Whether any student-records or privacy rule applies to candidate 1, and how, is for the organisation's own counsel.

6. Funding and assistance

Only what a fetched page states:

What AWS will ask you about this

  1. "Real-time scores, or a nightly batch?" Calendar hours for an endpoint versus job minutes for Batch Transform (section 1).
  2. "Which Region and which instance types?" Quotas are per Region, per type, per usage, and most default to 0 (section 3).
  3. "Must the data stay inside your VPC?" That selects VpcOnly, network isolation and interface endpoints (section 4).
  4. "How many people need Studio access, and who owns the execution role?" The defaults are two user profiles and a quick-start role carrying AmazonSageMakerFullAccess.

What to ask AWS

  1. "What are our applied quotas in this Region, and will you file the increases before the proof of concept starts?" Every on-demand training type is listed at default 0.
  2. "Are Clarify and Model Monitor available to our account? If not, what is the supported way to check bias and drift on a tabular model?" Both pages say closed to new customers.
  3. "For a model scored once a day, what do Batch Transform, Serverless Inference and a real-time endpoint each cost in our Region?" The rate tables were not retrievable; get numbers in writing.
  4. "Which compliance programs is SageMaker AI in scope for, and what should our counsel read about student records?" A question, per section 5.
  5. "Is there proof-of-concept funding, and does it come to us or through a partner?" Only startup and partner programs were verifiable (section 6).

Check yourself

  1. You deployed a real-time endpoint on Friday and nobody called it all weekend. What did you pay for, and what would have stopped the charge?
  2. Idle shutdown is enabled on the domain with no value entered. When does an idle JupyterLab app shut down?
  3. The team has quota for ml.m5.xlarge notebook instances. Can they train on ml.m5.xlarge?
  4. Someone proposes Clarify for bias reporting on candidate 1. What do you check first?
Answers
  1. Instance hours for every hour the endpoint existed; the pricing example bills 24 * 31 hours per instance whatever the traffic. There is no stop command. delete-endpoint ends the charge and leaves the endpoint configuration and model in place.
  2. After 10,080 idle minutes — seven days — and only once the app has been restarted and runs SageMaker Distribution v2.0 or newer.
  3. Not on that basis. Quotas are per usage: the table lists ml.m5.xlarge for notebook instance usage at 1 and ml.m5.xlarge for training job usage at 0. Both adjustable; check the applied value.
  4. Whether the account can use it at all — the page says "no longer open to new customers". The documented replacement for tabular models is SHAP plus bias metrics computed in your own code.

Teaching this section

← PreviousSageMaker Unified Studio and the lakehouse — the platform pitchFinished →Cheat sheet, lab & quiz