Difference between revisions of "Using AWS SageMaker Studio"

From DeepSense Docs
Jump to: navigation, search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
AWS will send you an email containing information about your account. and users will have access to the AWS SageMaker Studio specific to thee project in new domain.  
 
AWS will send you an email containing information about your account. and users will have access to the AWS SageMaker Studio specific to thee project in new domain.  
  
== Accessing DeepSense AWS Management Console ==
+
== Accessing DeepSense AWS SageMaker Studio ==
*Open web browser and navigate to the AWS Management Console login page.
+
* Accept the invitation sent in the welcome email and navigate to the AWS Management Console login page.
*Enter the URL provided in AWS correspondence email and continue as Sign in as IAM user.
+
* Alternatively, use the URL provided in the AWS correspondence email to sign in.
*Enter the IAM username in the "IAM user name" field.
+
* Enter the username as specified in the email.
*Enter the IAM user's temporary first password in the "Password" field provided by DeepSense AWS Admin.
+
* On your first login, you will be prompted to create a password.
*You will be redirected to change the password on first login, create a new password.
+
* After creating the password, log in again using your username and the newly created password.
*After signing in to the AWS Management Console, locate the security credentials in the right top corner, where the account number and user name is written.
+
* During the first login, you will be redirected to enable Multi-Factor Authentication (MFA). Follow the on-screen instructions to complete the MFA setup.
*Click on add MFA and follow the on-screen instructions to enable MFA. (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_enable_virtual.html#enable-virt-mfa-for-iam-user)
+
* Once MFA is set up, you will be directed to the AWS Access Portal.
*After setting MFA kindly sign out and then sign in again with new password you have created and use MFA to access the cloud resources.
+
* Click on the Applications tab and select the assigned SageMaker Studio. This will redirect you to your Studio IDE.
  
== Accessing DeepSense AWS SageMaker Studio Domain ==
+
== Working on DeepSense AWS SageMaker Studio ==
*Select Admin configurations from the left navigation panel.
+
* From your Studio UI, start by creating a JupyterLab space. Click on JupyterLab and use the Create a new space button located in the top-right corner.
*Select Domains from the Admin configurations menu.
+
* If you have a supervisor, select Shared space; otherwise, create a Private space.
*Choose your project named domain to access from the Domains page.
+
* After creating the space, select it and review the details.
*Select User Profiles from the domain settings.
+
* To open the Jupyter application, select the JupyterServer application and launch the specific instance type you are instructed to use.
*Choose the user profile you want to view (if there are more than 1 person working on same project).
+
* (Optional) In the Change environment dialog box, you can select a start-up script from the dropdown menu if needed.
*Select Applications from the user profile's settings.
+
* Use the ml.t3.medium instance type if you are editing code without executing it.
*To open the Jupyter app, select the JupyterServer application.
+
* After editing your code, save your changes. Stop the current instance, select the required instance type from the dropdown menu, and restart it.
*To open Studio Notebook: Select File, New, and Notebook from the SageMaker Studio menu.
+
* To create a new notebook in JupyterLab: go to File, select New, and then Notebook. A new notebook tab will open in a new window.
*Choose your Image, Kernel, instance type, and start-up script from the dropdown menus in the Change environment dialogue box, then click Select.
+
* To stop an instance after completing your work, navigate to the Running instances section in the left pane of the SageMaker console.
*A new Studio tab will appear once your new notebook launches.
+
* Click the Stop button under the Actions column for the notebook instance you wish to stop.
*For stopping the instance once your work is done, click the Notebook instances in the left pane of the SageMaker console.  
+
* Once the notebook instance is stopped, you can restart it anytime by clicking the Start button.
*Then click the Stop link under the Actions column to the left of the notebook instance's name.  
 
*Once the notebook instance is stopped, you can start it again by clicking the Start link
 
  
  

Latest revision as of 15:08, 28 January 2025

Amazon SageMaker Studio is a web-based integrated development environment (IDE) for machine learning (ML) that allows data scientists and developers to perform all ML development steps, from data preparation to model building, training, deployment, and management, on a single, unified platform.

DeepSense AWS SageMaker Studio

You can find the Studio domain from SageMaker service dashboard's left side panel. These are the instances Resources which can be used. DeepSense has acquired Amazon SageMaker Studio Domains per project to give users access to use the Studio IDE. The Studio also includes a comprehensive set of tools for every stage of machine learning development, from data preparation to building, training, deploying, and managing ML models. It enables users to jump between these steps quickly to fine-tune their models, replay training experiments, and scale to distributed training directly from JupyterLab, Code Editor, or RStudio. . Use Studio notebooks in your project domain to prepare and process data, write code to train models, deploy models to SageMaker hosting, and test or validate your models.

AWS administrator will create DeepSense AWS IAM user account. AWS will send you an email containing information about your account. and users will have access to the AWS SageMaker Studio specific to thee project in new domain.

Accessing DeepSense AWS SageMaker Studio

  • Accept the invitation sent in the welcome email and navigate to the AWS Management Console login page.
  • Alternatively, use the URL provided in the AWS correspondence email to sign in.
  • Enter the username as specified in the email.
  • On your first login, you will be prompted to create a password.
  • After creating the password, log in again using your username and the newly created password.
  • During the first login, you will be redirected to enable Multi-Factor Authentication (MFA). Follow the on-screen instructions to complete the MFA setup.
  • Once MFA is set up, you will be directed to the AWS Access Portal.
  • Click on the Applications tab and select the assigned SageMaker Studio. This will redirect you to your Studio IDE.

Working on DeepSense AWS SageMaker Studio

  • From your Studio UI, start by creating a JupyterLab space. Click on JupyterLab and use the Create a new space button located in the top-right corner.
  • If you have a supervisor, select Shared space; otherwise, create a Private space.
  • After creating the space, select it and review the details.
  • To open the Jupyter application, select the JupyterServer application and launch the specific instance type you are instructed to use.
  • (Optional) In the Change environment dialog box, you can select a start-up script from the dropdown menu if needed.
  • Use the ml.t3.medium instance type if you are editing code without executing it.
  • After editing your code, save your changes. Stop the current instance, select the required instance type from the dropdown menu, and restart it.
  • To create a new notebook in JupyterLab: go to File, select New, and then Notebook. A new notebook tab will open in a new window.
  • To stop an instance after completing your work, navigate to the Running instances section in the left pane of the SageMaker console.
  • Click the Stop button under the Actions column for the notebook instance you wish to stop.
  • Once the notebook instance is stopped, you can restart it anytime by clicking the Start button.


It is necessary to stop the notebook instance in order to avoid being charged for not utilized hours. So, when you're finished, please stop the instance.