अमेज़न SageMaker is a fully managed service that provides every machine learning (ML) developer and data scientist the ability to build, train, and deploy ML models at scale. अमेज़ॅन सैजमेकर स्टूडियो is a web-based, integrated development environment (IDE) for ML. Amazon SageMaker Studio provides all the tools you need to take your models from experimentation to production while boosting your productivity. You can write code, track experiments, visualize data, and perform debugging and monitoring within a single, integrated visual interface.
OneLogin is an identity platform for secure, scalable, and smart experiences that connects people to technology. OneLogin’s authentication and role-based user provisioning engine enables organizations to implement least privilege access controls and eliminate manual user management workflows for all AWS users and accounts.
In this post, we walk you through the steps to onboard existing users in OneLogin to Amazon SageMaker Studio. We also demonstrate the single sign-on (SSO) experience for system administrators and Amazon SageMaker Studio users.
ज़रूरी भाग
The solution contains the following key components:
- एडब्ल्यूएस एसएसओ - AWS सिंगल साइन-ऑन (AWS SSO) allows you to efficiently manage user identities at scale by establishing a single identity and access strategy across your own applications, third-party applications (SaaS), and AWS environments.
- OneLogin’s connector for AWS SSO – The connector configures SAML 2.0 and System for Cross-domain Integration Management (SCIM) integration between OneLogin and AWS SSO.
- उपयोगकर्ता और समूह – Individual users or users belonging to specific groups like administrators, developers, or finance in OneLogin are automatically synced with AWS SSO via SCIM.
- डोमेन – A primary component of Amazon SageMaker Studio is a domain. The domain consists of a list of authorized users (called user profiles), and configurations such as अमेज़ॅन वर्चुअल प्राइवेट क्लाउड (Amazon VPC) configurations and the default AWS पहचान और अभिगम प्रबंधन (IAM) निष्पादन भूमिका।
- प्रयोक्ता रेखाचित्र – The user profile (user) is a configuration for the user that exists in the SageMaker domain. The user profile defines various configuration settings for the user, including the execution role and the default app specifications.
- निष्पादन भूमिका – The IAM execution role is the primary role that is assumed by the users and the service on behalf of the user to allow them to perform certain actions and provision resources in Studio.
संदर्भ वास्तुकला
The following architecture diagram shows the flow of authentication and authorization from OneLogin to Amazon SageMaker Studio. Users log in through OneLogin, which authenticates them and passes a SAML authentication to AWS SSO. Once logged in, they can select the Amazon SageMaker Studio app, which assumes the SageMaker execution role attached to their user profile to create a pre-signed domain URL. This pre-signed domain URL is used directly log in the users to their JupyterServer environment.
.. पूर्वापेक्षाएँ
सुनिश्चित करें कि आपके पास निम्नलिखित पूर्वापेक्षाएँ हैं:
- A OneLogin account, for which we use a free OneLogin developer account to create our OneLogin instance and test users
- An AWS account with administrator privileges to set up the AWS SSO integration and access to create policies for Amazon SageMaker Studio
Step 1: Set up the AWS application in OneLogin
On your OneLogin account, log in with administrator privileges and navigate to Applications. In the upper-right, choose Add app. Next, search for and then choose AWS Single Sign-On.
Step 2: Download the Identity Provider Metadata
Next, we need to get the IdP metadata from OneLogin, which we use to register on AWS. Inside your OneLogin AWS Single Sign-On application, navigate to अधिक कार्रवाई, then download and save the IdP metadata as onelogin-aws.xml
.
Step 3: Enable AWS SSO and set up SCIM
Make sure that AWS SSO is enabled. If not, see एडब्ल्यूएस एसएसओ सक्षम करें. AWS SSO provides support for the SCIM v2.0 standard. एससीआईएम keeps your AWS SSO identities in sync with identities from your IdP. This includes any provisioning, updates, and de-provisioning of users between your IdP and AWS SSO. Using SCIM integration saves your IT and admin teams the time and effort of implementing custom solutions to cross-replicate user names and email addresses between AWS SSO and your IdPs.
- एडब्ल्यूएस एसएसओ कंसोल पर, चुनें सेटिंग नेविगेशन फलक में
- के पास पहचान स्रोत, चुनें परिवर्तन.
- चुनते हैं बाहरी पहचान प्रदाता.
- के लिए AWS SSO SAML metadata, upload the OneLogin metadata XML that you downloaded earlier.
- Update the provisioning from हाथ-संबंधी सेवा मेरे एससीआईएम चुनने के द्वारा Enable automatic provisioning.
Step 4: Get integration information from AWS SSO
To complete the integration on the OneLogin side, you need the following:
- एससीआईएम समापन बिंदु (also known as the SCIM Base URL)
- एक्सेस टोकन (also known as a SCIM Bearer token)
- AWS SSO ACS URL
- AWS SSO issuer URL
The information is available on the सेटिंग page on the AWS SSO console. The endpoint and access token are on the स्वचालित प्रावधान पृष्ठ, जैसा कि निम्न स्क्रीनशॉट में दिखाया गया है।
चुनें विवरण देखें एसटी Authentication SAML 2.0 and copy the AWS SSO ACS URL and AWS SSO issuer URL.
Now that you have these four pieces of information, it’s time to go to OneLogin to finalize the integration.
Step 5: Establish SAML authentication between OneLogin (your IdP) and AWS SSO
To establish your SAML authentication, complete the following steps:
- Log back in to your OneLogin portal as admin into your previously configured AWS SSO app.
- चुनें विन्यास and enter the details that you gathered in the previous section (AWS SSO issuer URL, AWS SSO ACS URL, SCIM Base URL, and SCIM Bearer token) and choose सहेजें.
Make sure to remove any trailing slashes (/).
- चुनें प्रावधानीकरण नेविगेशन फलक में
- चुनते हैं Enable provisioning.
- आप चुन सकते हैं उपयोगकर्ता बनाइये, उपभोक्ता मिटायें, तथा Update user for admin approval on these actions.
- अपना कॉन्फ़िगरेशन सहेजें.
Step 6: Assign and sync users from OneLogin to AWS SSO, to access Amazon SageMaker Studio
In your OneLogin portal, on the top ribbon navigate to उपयोगकर्ता and assign the users in your organization to your newly created AWS Single Sign-On application to provide access to Amazon SageMaker Studio.
Verify if this user or group has synced into AWS SSO via SCIM by checking the उपयोगकर्ता page on the AWS SSO console.
Step 7: Create your Amazon SageMaker Studio environment
You can set up your Amazon SageMaker Studio environment by navigating to Amazon SageMaker Studio on your AWS account.
- SageMaker कंसोल पर, चुनें अमेज़ॅन सैजमेकर स्टूडियो.
- चुनें शुरू हो का चयन करें और मानक सेटअप.
- के लिए प्रमाणन विधि, चुनते हैं AWS Single Sign-On (SSO).
Make sure that AWS SSO is enabled in the same Region as your Amazon SageMaker Studio.
- के अंतर्गत अनुमति, create a new IAM role with appropriate access to अमेज़न सरल भंडारण सेवा (Amazon S3) buckets, or choose an existing IAM role.
Step 8: Specify additional configurations for Amazon SageMaker Studio
You also have the option to set additional configurations.
- Use the default values for Network sharing configuration और सेजमेकर प्रोजेक्ट्स और जम्पस्टार्ट.
- में नेटवर्क और भंडारण section, we use our custom VPC and subnets, which creates the अमेज़ॅन इलास्टिक फ़ाइल सिस्टम (Amazon EFS) domain in the VPC we specify.
- चुनते हैं सार्वजनिक इंटरनेट केवल to allow default internet access for SageMaker.
- चुनें सब्मिट.
Amazon SageMaker Studio creates a domain and sets up AWS SSO for the domain. This process should take around 10 minutes to complete. The domain status shows as Ready when the provisioning is complete.
Step 9: Assign users to your newly created Amazon SageMaker Studio Environment
चुनें Assign Users and groups to assign users who were created via OneLogin and are synced into AWS SSO.
You can assign users to Amazon SageMaker Studio environment by selecting the check box next to प्रदर्शित होने वाला नाम और Email.
Step 10: Verify the integration and log in to your Amazon SageMaker Studio environment
के अंतर्गत स्टूडियो सारांश, you can notice the निष्पादन भूमिका that you created in the previous step. You can now log in to your Amazon SageMaker Studio environment.
- Sign in to the OneLogin user portal.
- Choose the AWS SSO app.
- Choose the tile which says Amazon SageMaker Studio to seamlessly log into your Amazon SageMaker Studio environment.
You’re logged in directly to your user profile inside Amazon SageMaker Studio.
You can also verify the user profiles in Amazon SageMaker Studio directly using the AWS कमांड लाइन इंटरफ़ेस (एडब्ल्यूएस सीएलआई):
निष्कर्ष
In this post, we walked through the steps to onboard existing OneLogin SSO users to Amazon SageMaker Studio. We also looked at a reference architecture and how to verify the setup. For more information about using AWS SSO with Amazon SageMaker Studio, see Onboard to Amazon SageMaker Studio Using AWS SSO.
लेखक के बारे में
सैम पलानी एडब्ल्यूएस में एआई/एमएल विशेषज्ञ समाधान आर्किटेक्ट हैं। उन्हें बड़े पैमाने पर मशीन लर्निंग सॉल्यूशंस को आर्किटेक्ट करने में मदद करने के लिए ग्राहकों के साथ काम करने में आनंद आता है। जब वह ग्राहकों की मदद नहीं कर रहा होता है, तो उसे बाहर पढ़ने और एक्सप्लोर करने में मज़ा आता है।
Sunil Ramachandra is a Senior Technical Account Manager at AWS. As a principal technical advisor and ‘voice of the customer’ he helps organizations ranging from start-ups to Fortune 500 enterprises to innovate and operate their workloads on AWS. Sunil is passionate about building AWS integrations that enable Independent Software Vendors (ISVs).When not helping customers, Sunil enjoys spending time with his family, running, meditating and watching movies or originals on Prime Video.
- '
- 100
- 110
- 7
- 9
- पहुँच
- लेखा
- अतिरिक्त
- व्यवस्थापक
- सलाहकार
- सब
- वीरांगना
- अमेज़न SageMaker
- अनुप्रयोग
- आवेदन
- अनुप्रयोगों
- स्थापत्य
- चारों ओर
- प्रमाणीकरण
- प्राधिकरण
- एडब्ल्यूएस
- बढ़ाने
- मुक्केबाज़ी
- निर्माण
- इमारत
- जाँच
- कोड
- अंग
- ग्राहक
- तिथि
- आँकड़े वाला वैज्ञानिक
- डेवलपर
- डेवलपर्स
- विकास
- ईमेल
- endpoint
- वातावरण
- निष्पादन
- अनुभव
- अनुभव
- परिवार
- वित्त
- प्रवाह
- मुक्त
- समूह
- कैसे
- How To
- HTTPS
- आई ए एम
- पहचान
- सहित
- करें-
- एकीकरण
- एकीकरण
- इंटरनेट
- IT
- कुंजी
- सीख रहा हूँ
- लाइन
- सूची
- देखा
- यंत्र अधिगम
- प्रबंध
- ML
- निगरानी
- चलचित्र
- नामों
- पथ प्रदर्शन
- विकल्प
- संगठन
- संगठनों
- सड़क पर
- स्टाफ़
- मंच
- नीतियाँ
- द्वार
- प्रिंसिपल
- निजी
- उत्पादन
- उत्पादकता
- प्रोफाइल
- प्रोफाइल
- परियोजनाओं
- पढ़ना
- उपयुक्त संसाधन चुनें
- दौड़ना
- सास
- sagemaker
- स्केल
- Search
- सेट
- सरल
- स्मार्ट
- सॉफ्टवेयर
- समाधान ढूंढे
- खर्च
- शुरू
- स्थिति
- भंडारण
- स्ट्रेटेजी
- समर्थन
- प्रणाली
- तकनीकी
- टेक्नोलॉजी
- परीक्षण
- पहर
- टोकन
- ऊपर का
- ट्रैक
- अपडेट
- उपयोगकर्ताओं
- विक्रेताओं
- वीडियो
- वास्तविक
- कौन
- अंदर
- एक्सएमएल