Amazon SageMaker
Cloud service · AWS · Updated

Amazon SageMaker

In short

Amazon SageMaker is a unified platform for data, analytics, and AI, bringing together AWS machine learning and analytics capabilities with unified access to data.

Cloud Services Hub →

Free Amazon SageMaker tools

10 key features of Amazon SageMaker

Amazon SageMaker simplifies the entire machine learning process by offering a fully managed service with built-in algorithms, one-click training and deployment, automatic model tuning, a comprehensive IDE, elastic inference, multi-model endpoints, robust security, and support for both real-time and batch processing.

01
Fully Managed Service

Amazon SageMaker offers a fully managed service, enabling data scientists and developers to build, train, and deploy machine learning models quickly without managing the underlying infrastructure.

02
Built-In Algorithms and Frameworks

SageMaker provides several built-in algorithms and supports multiple machine learning frameworks, including TensorFlow, PyTorch, and MXNet, making it easier to start model training without the need to write algorithms from scratch.

03
One-Click Training and Deployment

With SageMaker, you can easily train your model with a single click and then directly deploy it to a production-ready hosted environment, simplifying the process from model creation to deployment.

04
Automatic Model Tuning

Amazon SageMaker autotunes your models by automatically adjusting hundreds of different combinations of algorithm parameters to arrive at the most accurate predictions.

05
Integrated Development Environment

SageMaker Studio provides a fully integrated development environment (IDE) for building, training, and deploying models. It offers a visual interface where you can easily perform all machine learning development steps.

06
Multi-Model Endpoints

SageMaker offers support for multi-model endpoints, allowing you to optimize inference costs by adjusting the compute capacity according to the demand and deploying multiple models on a single endpoint.

07
Secure and Compliant

Ensuring security and compliance, SageMaker is designed to meet rigorous standards, including HIPAA eligibility and compliance with frameworks like GDPR, helping organizations manage and protect user data effectively.

08
Real-Time and Batch Processing

SageMaker supports both real-time and batch processing for inference, enabling you to choose the most suitable option for your application, whether it requires immediate responses or can handle asynchronous batch requests.

09
Asset Publishing and Subscriptions

Share and collaborate on data and AI assets through publishing and subscribing workflows.

10
Generative AI Output Guardrails

Apply Amazon Bedrock Guardrails in SageMaker to protect and filter model outputs for responsible generative AI application development.

Where Amazon SageMaker is used

Amazon SageMaker enables the development and deployment of machine learning models, automates data preparation, supports real-time fraud detection, facilitates predictive maintenance in manufacturing, and helps create personalized recommendation systems.

  1. 01
    Developing and Deploying Machine Learning Models

    Amazon SageMaker provides a comprehensive platform for developers and data scientists to easily build, train, and deploy machine learning models at scale. The platform simplifies the process of model development by providing pre-built algorithms and support for popular frameworks, enabling rapid experimentation and iteration. Once a model is ready, SageMaker offers tools for easy deployment, allowing models to be quickly integrated into applications and utilized for predictions.

  2. 02
    Automating Data Preparation

    With Amazon SageMaker Data Wrangler, users can simplify the process of data preparation for machine learning. This feature provides a visual interface for users to clean, explore, and visualize their data without the need for extensive code, making it faster and more intuitive to prepare datasets for training.

  3. 03
    Real-time Fraud Detection

    Amazon SageMaker can be used to develop and deploy machine learning models that help in identifying potentially fraudulent activities in real-time. By leveraging its powerful computing resources and scalable environment, SageMaker enables organizations to process vast amounts of transaction data in real-time, apply sophisticated algorithms to detect anomalies, and flag suspicious transactions, significantly reducing the risk of fraud.

  4. 04
    Predictive Maintenance in Manufacturing

    Manufacturing companies can utilize Amazon SageMaker to predict equipment failures before they happen, minimizing downtime and maintenance costs. By analyzing historical operation data, SageMaker can train models to forecast equipment malfunctions and schedule maintenance proactively, ensuring optimal operation and efficiency in manufacturing processes.

  5. 05
    Personalized Recommendations

    Amazon SageMaker allows for the creation of personalized recommendation systems that can enhance customer experiences and drive sales. Using machine learning algorithms, companies can analyze customer data and past interactions to generate individualized product or service recommendations, significantly improving customer engagement and loyalty.

How Amazon SageMaker is priced

Amazon SageMaker pricing includes On-Demand for flexible usage, Savings Plans for committed use with discounts, and Spot Instances offering deep discounts for temporary compute capacity.

On-Demand Pricing

Pay for SageMaker as you use it, based on the resources consumed. This includes instance hours, data processing, storage used, and data transfer. It's suitable for flexible, as-needed usage without upfront commitments.

Savings Plans

Offer a significant discount compared to on-demand pricing, in exchange for a commitment to use a specific amount of resource (measured in $/hour) for a one or three-year period.

Spot Instances

Allows users to take advantage of unused Amazon EC2 capacity at up to a 90% discount compared to On-Demand prices. However, these instances can be terminated by AWS at any moment if the capacity is needed elsewhere.

Data Agent Credits

SageMaker Data Agent, the AI agent within SageMaker notebooks, charges $0.04 per credit consumed by requests. Credit consumption depends on the work performed and is metered to two decimal places, with a minimum of 0.01 credits per request.

Amazon Q Developer Subscription

Amazon Q Developer is available within SageMaker Unified Studio and charges a fixed cost per user per month.

SageMaker Catalog Usage

SageMaker Catalog charges for requests, metadata storage, compute, and AI recommendations for business descriptions, with no upfront commitments or minimum fees. Requests, metadata storage, and compute have monthly free allowances; certain core APIs are always free.

Lakehouse Usage

Lakehouse metadata storage and API requests follow AWS Glue Data Catalog pricing. Data storage and access charges depend on Amazon S3 or Amazon Redshift Managed Storage, while automated statistics collection and Apache Iceberg table maintenance incur additional usage-based fees. Fine-grained permissions powered by AWS Lake Formation have no extra charge.

Unified Studio Free Tier

SageMaker Unified Studio includes always-free core requests for manual IAM Identity Center domain creation, project management, user management, and policy grants. Existing AWS Free Tier allocations or pay-per-use agreements also apply to AWS services used through Unified Studio.

Redshift Reserved Instances

SQL analytics with Amazon Redshift includes reserved instances, which provide cost savings for long-term commitments.

Services Amazon SageMaker works with

Amazon S3Amazon S3

Used for storing and retrieving large datasets, model artifacts, and other data needed for training and inference.

AWS LambdaAWS Lambda

Enables integration with SageMaker endpoints for real-time data processing and event-driven workflows.

Amazon CloudWatchAmazon CloudWatch

Provides monitoring and logging for SageMaker resources, allowing you to track metrics and set alarms.

AWS GlueAWS Glue

Offers data preparation and transformation capabilities to preprocess data before feeding it into SageMaker models.

Amazon RedshiftAmazon Redshift

Allows you to perform advanced analytics and store large amounts of structured data, which can be used in SageMaker.

Amazon API GatewayAmazon API Gateway

API Gateway can expose SageMaker inference endpoints through a REST API using an AWS service integration. This adds API authentication, throttling, and request mapping in front of model inference.

Amazon AthenaAmazon Athena

SageMaker notebooks, Data Wrangler, and Unified Studio can query data with Athena for analysis and machine learning preparation. Studio also supports propagating users' identities to Athena for governed data access.

Alternatives to Amazon SageMaker in other clouds

Azure

Azure Databricks

Amazon SageMaker and Azure Databricks are managed platforms for data processing, SQL analytics, and building and deploying machine learning models, with SageMaker AI handling model development and deployment within SageMaker. SageMaker Lakehouse unifies data across Amazon S3 and Redshift for Iceberg-compatible access, while a typical Azure Databricks deployment uses Delta Lake tables on Azure Data Lake Storage Gen2.

Compare fact by fact
Amazon SageMakerAzure Databricks
Lakehouse data layoutS3 and Redshift, Iceberg accessDelta Lake on ADLS Gen2
On-demand compute billingInstance hoursClassic: DBUs plus Azure infrastructure
SQL query computeAmazon RedshiftDatabricks SQL warehouses
Discount commitmentHourly spend for 1 or 3 yearsPrepaid units for eligible DBU usage
Azure Machine Learning

Amazon SageMaker AI, the machine learning part of Amazon SageMaker, and Azure Machine Learning both provide managed tools to build, train, and deploy models for real-time and batch inference. SageMaker AI offers serverless inference without having to select or manage serving instances, while Azure Machine Learning’s managed online endpoints typically use continuously provisioned compute.

Compare fact by fact
Amazon SageMakerAzure Machine Learning
Online inference computeServerless optionTypically continuously provisioned
Microsoft Fabric

Amazon SageMaker and Microsoft Fabric both bring data preparation and SQL analytics together around shared data. SageMaker Lakehouse connects Amazon S3 and Redshift data for Iceberg-compatible tools, while Fabric workloads share data through OneLake, where lakehouse tables commonly use Delta Parquet.

Compare fact by fact
Amazon SageMakerMicrosoft Fabric
On-demand compute billingResource usage, including instance hoursShared capacity SKU and active time
Lakehouse interoperabilityApache Iceberg–compatible toolsDelta Parquet–compatible engines
Sign-inIAM, IAM Identity Center or SAMLMicrosoft Entra ID

What is Amazon SageMaker

3 min read

Amazon SageMaker is a unified platform for data, analytics, and AI. It brings together AWS capabilities for model development, generative AI, data processing, and SQL analytics in a unified studio, with governed access to data in data lakes, data warehouses, and third-party or federated sources.

SageMaker Lakehouse unifies data across Amazon S3 data lakes and Amazon Redshift data warehouses, allowing Apache Iceberg–compatible tools and engines to query a single copy of analytics data.

SageMaker Unified Studio uses Amazon DataZone domains to organize assets and users, and projects to support collaboration, secure artifact sharing, and work across compute services.

SageMaker Unified Studio also provides a fully managed, serverless notebook with a built-in AI agent for analytics and AI work.

Unified Studio resource quotas apply at the account level, so exhausting a quota in one project can affect other projects in the same account.

Traditionally, the process of developing ML models involves a complex cycle of building, training, and tuning the model, followed by deployment and management of the model in production. SageMaker streamlines and simplifies this process significantly. 

The existing machine learning capabilities for data wrangling, building, training, and deploying models are now called Amazon SageMaker AI. SageMaker AI is integrated into the broader SageMaker platform and remains available as a standalone service.

At the core of SageMaker's value proposition is its ability to significantly reduce the time and effort required to get machine learning models from concept to production. It achieves this through a combination of high-level tools and automatic features that handle the more laborious tasks associated with model development. For example, SageMaker automatically tunes your model by adjusting thousands of different combinations of algorithm parameters to arrive at the most effective predictions the model can provide. This process, known as hyperparameter optimization, is both time-consuming and complex but is made significantly more approachable through SageMaker. 

Moreover, SageMaker is designed with flexibility in mind, allowing it to support nearly all algorithms and frameworks. This means developers and data scientists are not restricted in their choice of tools and can bring their own or use those pre-built and optimized on SageMaker. Its integration with popular frameworks and interfaces ensures that users can continue working with the tools they are familiar with, reducing the learning curve and accelerating the model development cycle. 

For training jobs using an instance preference list, SageMaker AI checks the quota for every listed instance type, not just the selected type. Each type must have sufficient quota for its requested instance count; otherwise, the request is rejected even if an earlier preference could have succeeded.

Deployment and scalability are other areas where SageMaker excels. Once a model is ready, deploying it into production is as simple as a few clicks. SageMaker handles all the underlying infrastructure requirements, automatically scaling resources up or down based on demand to ensure that your application maintains high performance without incurring unnecessary costs. This managed service approach allows developers to focus on the model's performance and impact, rather than on managing servers and infrastructure. 

SageMaker AI also offers Serverless Inference, which provisions and scales inference compute automatically without requiring you to select or manage serving instances.

Furthermore, SageMaker offers a secure environment for your machine learning workflow, including encryption and compliance with various standards, ensuring that your data and models are protected. Its integration with Amazon's cloud services ecosystem means that SageMaker can easily access and process large datasets stored in Amazon S3, use AWS Lambda for running serverless functions, or tap into a plethora of other services to enhance the functionality and efficiency of your machine learning projects. 

SageMaker Unified Studio supports authentication with IAM user credentials, identity-provider credentials through AWS IAM Identity Center, or SAML credentials.

In essence, Amazon SageMaker democratizes machine learning by making it accessible to developers and data scientists irrespective of their machine learning expertise. It speeds up the experimentation and development phase, simplifies deployment, and manages the lifecycle of machine learning models, allowing teams to focus more on solving the problem at hand than on the underlying infrastructure and mechanics of machine learning.

Concepts related to Amazon SageMaker

Amazon SageMaker exam questions

Real practice exam questions on Amazon SageMaker, with the correct answer and its explanation. Answer them with every option in the exam simulator.

AIB-C01

A company brokers sales of used commercial vehicles and earns a commission only after a buyer completes a purchase. Fleet operators say their main unmet need is immediate, certain payment when retiring vehicles, rather than help finding buyers. They would accept a lower purchase price in exchange for transferring resale uncertainty to the company.

The company has sufficient working capital and a data science team. A pilot has validated custom models that estimate resale prices and time to sale from vehicle condition, transaction histories, and regional demand. Leadership wants to use these capabilities to create a new offering while controlling inventory losses.

Which proposal BEST transforms the business model to address this opportunity?

Show answerCORRECT ANSWER

Use Amazon SageMaker AI to deploy the resale models and make immediate purchase offers that account for expected resale proceeds, holding costs, and uncertainty. Take ownership of accepted vehicles and resell them, subject to inventory exposure limits.

This changes the company from a commission broker into a buyer and reseller. Fleet operators receive immediate payment and transfer resale risk. Custom predictions support acquisition pricing and inventory decisions, while holding costs, uncertainty allowances, and exposure limits help control losses. The transformation changes the value proposition, revenue mechanism, key resources, and cost structure.

MLA-C02

A financial services company uses an AWS Glue Spark ETL job to calculate account features from daily transaction data. The transformed dataset is approximately 400 GB and is distributed across Spark executors. An existing Amazon SageMaker Feature Store feature group has both online and offline stores enabled. The latest features must become available through GetRecord, and the observations must also enter the managed offline history.

The transformed records already match the feature group's schema and contain valid record identifiers and event timestamps. The Glue driver cannot hold the full dataset in memory. All required permissions and network connectivity are configured. The company wants to ingest the features within the existing Glue job without provisioning another processing system.

Which solution best meets these requirements?

Show answerCORRECT ANSWER

Use Spark foreachPartition to process records on the Glue executors. Create a Feature Store Runtime client within each partition and submit schema-compatible PutRecord requests targeting both stores, with bounded request concurrency and retries for throttling.

This approach preserves distributed processing and uses the Feature Store ingestion API to populate both enabled stores. Creating clients on the executors avoids collecting the dataset on the driver. Controlling concurrency and retrying throttled requests helps the job respect ingestion capacity. Offline-store delivery remains asynchronous.

SAP-C03

A payment company hosts a binary fraud-classification model on an Amazon SageMaker AI real-time endpoint. Each invocation includes a unique inference ID. Confirmed fraud outcomes become available in Amazon S3 exactly 48 hours after inference and include the corresponding inference ID.

The company must detect changes in input feature distributions within several hours and evaluate fraud recall daily using a complete 24-hour cohort of labeled predictions. The monitoring solution must detect declining recall even when input feature distributions remain unchanged. Feature-distribution comparisons must use the approved training-data reference until a new model version is approved. The company wants to minimize custom monitoring code.

Which solution best meets these requirements?

Show answerCORRECT ANSWER

Enable endpoint data capture to S3. Establish an approved training-data baseline and schedule hourly SageMaker Model Monitor data quality jobs. Store outcomes in the supported ground-truth format with matching inference IDs. Schedule daily model quality jobs with inference-window offsets covering the 24-hour interval from 72 hours to 48 hours before execution. Configure recall constraints and CloudWatch alarms for quality violations.

Data quality monitoring compares captured inputs with the approved reference to detect feature-distribution changes. Model quality monitoring joins predictions with actual outcomes by inference ID and calculates metrics such as recall. Evaluating predictions from 72 to 48 hours before execution provides a complete 24-hour cohort whose labels have arrived. CloudWatch alarms provide automated notification without a custom evaluation platform.

Practice Amazon SageMaker in a full exam

Questions on Amazon SageMaker in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn Amazon SageMaker in lessons

32 short lessons on Amazon SageMaker in 8 certification courses.

and 26 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.