אמזון 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. סטודיו SageMaker של אמזון 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 SSO - כניסה יחידה של 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. AWS SSO provides support for the SCIM v2.0 standard. SCIM 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, בחר הגדרות בחלונית הניווט.
- ליד מקור זהות, בחר שינוי.
- בחר ספק זהות חיצונית.
- בעד AWS SSO SAML metadata, upload the OneLogin metadata XML that you downloaded earlier.
- Update the provisioning from מדריך ל ל SCIM על ידי בחירה Enable automatic provisioning.
Step 4: Get integration information from AWS SSO
To complete the integration on the OneLogin side, you need the following:
- נקודת קצה SCIM (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 בחר סטודיו 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 ו SageMaker Projects ו-JumpStart.
- ב רשת ואחסון 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 (AWS CLI):
סיכום
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 נכלל ב-Amazon SageMaker Studio באמצעות AWS SSO.
על המחבר
סם פלאני הוא אדריכל פתרונות AI/ML מומחה ב-AWS. הוא נהנה לעבוד עם לקוחות כדי לעזור להם לבנות פתרונות למידת מכונה בקנה מידה. כשהוא לא עוזר ללקוחות, הוא נהנה לקרוא ולחקור את החוץ.
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
- האפליקציה
- בקשה
- יישומים
- ארכיטקטורה
- סביב
- אימות
- אישור
- AWS
- חיזוק
- אריזה מקורית
- לִבנוֹת
- בִּניָן
- בדיקה
- קוד
- רְכִיב
- לקוחות
- נתונים
- מדען נתונים
- מפתח
- מפתחים
- צעצועי התפתחות
- אמייל
- נקודת קצה
- סביבה
- הוצאת להורג
- ניסיון
- חוויות
- משפחה
- לממן
- תזרים
- חופשי
- קְבוּצָה
- איך
- איך
- HTTPS
- IAM
- זהות
- כולל
- מידע
- השתלבות
- ואינטגרציות
- אינטרנט
- IT
- מפתח
- למידה
- קו
- רשימה
- נראה
- למידת מכונה
- ניהול
- ML
- ניטור
- סרטים
- שמות
- ניווט
- אפשרות
- ארגון
- ארגונים
- בחוץ
- אֲנָשִׁים
- פלטפורמה
- מדיניות
- כניסה
- מנהל
- פְּרָטִי
- הפקה
- פִּריוֹן
- פּרוֹפִיל
- פרופילים
- פרויקטים
- קריאה
- משאבים
- ריצה
- SaaS
- בעל חכמים
- סולם
- חיפוש
- סט
- פָּשׁוּט
- חכם
- תוכנה
- פתרונות
- הוצאה
- החל
- מצב
- אחסון
- אִסטרָטֶגִיָה
- תמיכה
- מערכת
- טכני
- טכנולוגיה
- מבחן
- זמן
- אסימון
- חלק עליון
- לעקוב
- עדכונים
- משתמשים
- ספקים
- וִידֵאוֹ
- וירטואלי
- מי
- בתוך
- XML