[HTML payload içeriği buraya]
28.8 C
Jakarta
Tuesday, May 19, 2026

An built-in expertise for all of your knowledge and AI with Amazon SageMaker Unified Studio (preview)


Organizations are constructing data-driven purposes to information enterprise selections, enhance agility, and drive innovation. Many of those purposes are complicated to construct as a result of they require collaboration throughout groups and the combination of knowledge, instruments, and companies. Information engineers use knowledge warehouses, knowledge lakes, and analytics instruments to load, remodel, clear, and combination knowledge. Information scientists use pocket book environments (resembling JupyterLab) to create predictive fashions for various goal segments.

Nevertheless, constructing superior data-driven purposes poses a number of challenges. First, it may be time consuming for customers to be taught a number of companies’ improvement experiences. Second, as a result of knowledge, code, and different improvement artifacts like machine studying (ML) fashions are saved inside totally different companies, it may be cumbersome for customers to grasp how they work together with one another and make adjustments. Third, configuring and governing entry to applicable customers for knowledge, code, improvement artifacts, and compute sources throughout companies is a guide course of.

To deal with these challenges, organizations usually construct bespoke integrations between companies, instruments, and their very own entry administration methods. Organizations need the flexibleness to undertake one of the best companies for his or her use circumstances whereas empowering their knowledge practitioners with a unified improvement expertise.

We launched Amazon SageMaker Unified Studio in preview to sort out these challenges. SageMaker Unified Studio is an built-in improvement surroundings (IDE) for knowledge, analytics, and AI. Uncover your knowledge and put it to work utilizing acquainted AWS instruments to finish end-to-end improvement workflows, together with knowledge evaluation, knowledge processing, mannequin coaching, generative AI app constructing, and extra, in a single ruled surroundings. Create or be part of tasks to collaborate together with your groups, share AI and analytics artifacts securely, and uncover and use your knowledge saved in Amazon S3, Amazon Redshift, and extra knowledge sources by the Amazon SageMaker Lakehouse. As AI and analytics use circumstances converge, remodel how knowledge groups work along with SageMaker Unified Studio.

This put up demonstrates how SageMaker Unified Studio unifies your analytic workloads.

The next screenshot illustrates the SageMaker Unified Studio.

The SageMaker Unified Studio supplies the next fast entry menu choices from House:

  • Uncover:
    • Information catalog – Discover and question knowledge belongings and discover ML fashions
    • Generative AI playground – Experiment with the chat or picture playground
    • Shared generative AI belongings – Discover generative AI purposes and prompts shared with you.
  • Construct with tasks:
    • ML and generative AI mannequin – Construct, prepare, and deploy ML and basis fashions with absolutely managed infrastructure, instruments, and workflows.
    • Generative AI app improvement – Construct generative AI apps and experiment with basis fashions, prompts, brokers, features, and guardrails in Amazon Bedrock IDE.
    • Information processing and SQL analytics – Analyze, put together, and combine knowledge for analytics and AI utilizing Amazon Athena, Amazon EMR, AWS Glue, and Amazon Redshift.
    • Information and AI governance – Publish your knowledge merchandise to the catalog with glossaries and metadata varieties. Govern entry securely within the Amazon SageMaker Catalog constructed on Amazon DataZone.

With SageMaker Unified Studio, you now have a unified improvement expertise throughout these companies. You solely have to be taught these instruments as soon as after which you should utilize them throughout all companies.

With SageMaker Unified Studio notebooks, you should utilize Python or Spark to interactively discover and visualize knowledge, put together knowledge for analytics and ML, and prepare ML fashions. With the SQL editor, you possibly can question knowledge lakes, databases, knowledge warehouses, and federated knowledge sources. The SageMaker Unified Studio instruments are built-in with Amazon Q, can shortly construct, refine, and preserve purposes with text-to-code capabilities.

As well as, SageMaker Unified Studio supplies a unified view of an software’s constructing blocks resembling knowledge, code, improvement artifacts, and compute sources throughout companies to permitted customers. This permits knowledge engineers, knowledge scientists, enterprise analysts, and different knowledge practitioners working from the identical software to shortly perceive how an software works, seamlessly evaluate one another’s work, and make the required adjustments.

Moreover, SageMaker Unified Studio automates and simplifies entry administration for an software’s constructing blocks. After these constructing blocks are added to a undertaking, they’re routinely accessible to permitted customers from all instruments—SageMaker Unified Studio configures any required service-specific permissions. With SageMaker Unified Studio, knowledge practitioners can entry all of the capabilities of AWS purpose-built analytics, AI/ML, and generative AI companies from a single unified improvement expertise.

Within the following sections, we stroll by the right way to get began with SageMaker Unified Studio and a few instance use circumstances.

Create a SageMaker Unified Studio area

Full the next steps to create a brand new SageMaker Unified Studio area:

  1. On the SageMaker platform console, select Domains within the navigation pane.
  2. Select Create area.
  3. For How do you wish to arrange your area?, choose Fast setup (really useful for exploration).

Initially, no digital non-public cloud (VPC) has been particularly arrange to be used with SageMaker Unified Studio, so you will note a dialog field prompting you to create a VPC.

  1. Select Create VPC.

You’re redirected to the AWS CloudFormation console to deploy a stack to configure VPC sources.

  1. Select Create stack, and look forward to the stack to finish.
  2. Return to the SageMaker Unified Studio console, and contained in the dialog field, select the refresh icon.
  3. Below Fast setup settings, for Identify, enter a reputation (for instance, demo).
  4. For Area Execution position, Area Service position, Provisioning position, and Handle Entry position, go away as default.
  5. For Digital non-public cloud (VPC), confirm that the brand new VPC you created within the CloudFormation stack is configured.
  6. For Subnets, confirm that the brand new non-public subnets you created within the CloudFormation stack are configured.
  7. Select Proceed.
  8. For Create IAM Id Middle person, seek for your SSO person by your e mail deal with.

When you don’t have an IAM Id Middle occasion, you may be prompted to enter your title after your e mail deal with. It will create a brand new native IAM Id Middle occasion.

  1. Select Create area.

Log in to the SageMaker Unified Studio

Now that you’ve got created your new SageMaker Unified Studio area, full the next steps to go to the SageMaker Unified Studio:

  1. On the SageMaker platform console, open the small print web page of your area.
  2. Select the hyperlink for Amazon SageMaker Unified Studio URL.
  3. Log in together with your SSO credentials.

Now you signed in to the SageMaker Unified Studio.

Create a undertaking

The following step is to create a undertaking. Full the next steps:

  1. On the SageMaker Unified Studio, select Choose a undertaking on the highest menu, and select Create undertaking.
  2. For Mission title, enter a reputation (for instance, demo).
  3. For Mission profile, select Information analytics and AI-ML mannequin improvement.
  4. Select Proceed.
  5. Assessment the enter, and select Create undertaking.

You want to look forward to the undertaking to be created. Mission creation can take about 5 minutes. Then the SageMaker Unified Studio console navigates you to the undertaking’s residence web page.

Now you should utilize a wide range of instruments in your analytics, ML, and AI workload. Within the following sections, we offer a number of instance use circumstances.

Course of your knowledge by a multi-compute pocket book

SageMaker Unified Studio supplies a unified JupyterLab expertise throughout totally different languages, together with SQL, PySpark, and Scala Spark. It additionally helps unified entry throughout totally different compute runtimes resembling Amazon Redshift and Amazon Athena for SQL, Amazon EMR Serverless, Amazon EMR on EC2, and AWS Glue for Spark.

Full the next steps to get began with the unified JupyterLab expertise:

  1. Open your SageMaker Unified Studio undertaking web page.
  2. On the highest menu, select Construct, and below IDE & APPLICATIONS, select JupyterLab.
  3. Look forward to the house to be prepared.
  4. Select the plus signal and for Pocket book, select Python 3.

The next screenshot reveals an instance of the unified pocket book web page.

There are two dropdown menus on the highest left of every cell. The Connection Sort menu corresponds to connection sorts resembling Native Python, PySpark, SQL, and so forth.

The Compute menu corresponds to compute choices resembling Athena, AWS Glue, Amazon EMR, and so forth.

  1. For the primary cell, select PySpark, spark, which defaults to AWS Glue for Spark, and enter the next code to initialize SparkSession and create a DataFrame from an Amazon Easy Storage Service (Amazon S3) path, then run the cell:
    from pyspark.sql import SparkSession
    
    spark = SparkSession.builder.getOrCreate()
    
    df1 = spark.learn.format("csv") 
        .choice("multiLine", "true") 
        .choice("header", "false") 
        .choice("sep", ",") 
        .load("s3://aws-blogs-artifacts-public/artifacts/BDB-4798/knowledge/venue.csv")
    
    df1.present()

  2. For the following cell, enter the next code to rename columns and filter the information, and run the cell:
    df1_renamed = df1.withColumnsRenamed(
        {
            "_c0" : "venueid", 
            "_c1" : "venuename", 
            "_c2" : "venuecity", 
            "_c3" : "venuestate", 
            "_c4" : "venueseats"
        }
    )
    
    df1_filtered = df1_renamed.filter("`venuestate` == 'DC'")
    
    df1_filtered.present()

  3. For the following cell, enter the next code to create one other DataFrame from one other S3 path, and run the cell:
    df2 = spark.learn.format("csv") 
        .choice("multiLine", "true") 
        .choice("header", "false") 
        .choice("sep", ",") 
        .load("s3://aws-blogs-artifacts-public/artifacts/BDB-4798/knowledge/occasions.csv")
    df2_renamed = df2.withColumnsRenamed(
        {
            "_c0" : "eventid", 
            "_c1" : "e_venueid", 
            "_c2" : "catid", 
            "_c3" : "dateid", 
            "_c4" : "eventname", 
            "_c5" : "starttime"
        }
    )
    
    df2_renamed.present()

  4. For the following cell, enter the next code to hitch the frames and apply customized SQL, and run the cell:
    df_joined = df2_renamed.be part of(df1_filtered, (df2_renamed['e_venueid'] == df1_filtered['venueid']), "interior")
    
    df_sql = spark.sql("""
        choose 
            venuename, 
            rely(distinct eventid) as eventid_count
        from {myDataSource}
        group by venuename
    """, myDataSource = df_joined)
    
    df_sql.present()

  5. For the following cell, enter following code to jot down to a desk, and run the cell (change the AWS Glue database title together with your undertaking database title, and the S3 path together with your undertaking’s S3 path):
    df_sql.write.format("parquet") 
        .choice("path", "s3://amazon-sagemaker-123456789012-us-east-2-xxxxxxxxxxxxx/dzd_1234567890123/xxxxxxxxxxxxx/dev/venue_event_agg/") 
        .choice("header", False) 
        .choice("compression", "snappy") 
        .mode("overwrite") 
        .saveAsTable("`glue_db_abcdefgh`.`venue_event_agg`")

Now you’ve efficiently ingested knowledge to Amazon S3 and created a brand new desk known as venue_event_agg.

  1. Within the subsequent cell, swap the connection sort from PySpark to SQL.
  2. Run following SQL towards the desk (change the AWS Glue database title together with your undertaking database title):
    SELECT * FROM glue_db_abcdefgh.venue_event_agg

The next screenshot reveals an instance of the outcomes.

The SQL ran on AWS Glue for Spark. Optionally, you possibly can swap to different analytics engines like Athena by switching the compute.

Discover your knowledge by a SQL Question Editor

Within the earlier part, you discovered how the unified pocket book works with totally different connection sorts and totally different compute engines. Subsequent, let’s use the information explorer to discover the desk you created utilizing a pocket book. Full the next steps:

  1. On the undertaking web page, select Information.
  2. Below Lakehouse, increase AwsDataCatalog.
  3. Broaden your database ranging from glue_db_.
  4. Select venue_event_agg, select Question with Athena.
  5. Select Run all.

The next screenshot reveals an instance of the question consequence.

As you enter textual content within the question editor, you’ll discover it supplies options for statements. The SQL question editor supplies real-time autocomplete options as you write SQL statements, overlaying DML/DDL statements, clauses, features, and schemas of your catalogs like databases, tables, and columns. This permits quicker, error-free question constructing.

You possibly can full modifying the question and run it.

You too can open a generative SQL assistant powered by Amazon Q to assist your question authoring expertise.

For instance, you possibly can ask “Calculate the sum of eventid_count throughout all venues” within the assistant, and the question is routinely recommended. You possibly can select Add to querybook to repeat the recommended question is copied to the querybook, and run it.

Subsequent, coming again to the unique question, and let’s strive a fast visualization to investigate the information distribution.

  1. Select the chart view icon.
  2. Below Construction, select Traces.
  3. For Sort, select Pie.
  4. For Values, select eventid_count.
  5. For Labels, select venuename.

The question consequence will show as a pie chart like the next instance. You possibly can customise the graph title, axis title, subplot types, and extra on the UI. The generated pictures may also be downloaded as PNG or JPEG recordsdata.

Within the above instruction, you discovered how the information explorer works with totally different visualizations.

Clear up

To scrub up your sources, full the next steps:

  1. Delete the AWS Glue desk venue_event_agg and S3 objects below the desk S3 path.
  2. Delete the undertaking you created.
  3. Delete the area you created.
  4. Delete the VPC named SageMakerUnifiedStudioVPC.

Conclusion

On this put up, we demonstrated how SageMaker Unified Studio (preview) unifies your analytics workload. We additionally defined the end-to-end person expertise of the SageMaker Unified Studio for 2 totally different use circumstances of pocket book and question. Uncover your knowledge and put it to work utilizing acquainted AWS instruments to finish end-to-end improvement workflows, together with knowledge evaluation, knowledge processing, mannequin coaching, generative AI app constructing, and extra, in a single ruled surroundings. Create or be part of tasks to collaborate together with your groups, share AI and analytics artifacts securely, and uncover and use your knowledge saved in Amazon S3, Amazon Redshift, and extra knowledge sources by the Amazon SageMaker Lakehouse. As AI and analytics use circumstances converge, remodel how knowledge groups work along with SageMaker Unified Studio.

To be taught extra, go to Amazon SageMaker Unified Studio (preview).


Concerning the Authors

Noritaka Sekiyama is a Principal Massive Information Architect on the AWS Glue crew. He works based mostly in Tokyo, Japan. He’s chargeable for constructing software program artifacts to assist prospects. In his spare time, he enjoys biking along with his street bike.

Chiho Sugimoto is a Cloud Assist Engineer on the AWS Massive Information Assist crew. She is keen about serving to prospects construct knowledge lakes utilizing ETL workloads. She loves planetary science and enjoys learning the asteroid Ryugu on weekends.

Zach Mitchell is a Sr. Massive Information Architect. He works throughout the product crew to boost understanding between product engineers and their prospects whereas guiding prospects by their journey to develop knowledge lakes and different knowledge options on AWS analytics companies.

Chanu Damarla is a Principal Product Supervisor on the Amazon SageMaker Unified Studio crew. He works with prospects across the globe to translate enterprise and technical necessities into merchandise that delight prospects and allow them to be extra productive with their knowledge, analytics, and AI.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles