Difference between revisions of "Using AWS Sagemaker"

From DeepSense Docs
Jump to: navigation, search
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
Your DeepSense AWS IAM user account has been created, and you can now access the SageMaker Notebook instance.
+
SageMaker notebook instances enable you to concentrate solely on machine learning while keeping your compute environment secure and up to date with the latest open-source software. You can simplify your data workflows by using a unified notebook environment for data engineering, analytics, and machine learning.
You have received correspondence email from AWS regarding your account information.
+
 
+
== DeepSense AWS SageMaker Notebook Instances ==
'''How to Get to Your Notebook Instance'''
+
You can find the Notebook instances types in [[Resources]]
*Access your AWS console (from email – you will be asked to create new password)
+
DeepSense has aquired Amazon SageMaker notebook instances to give users access to use the notebook instance if they develop the machine learning in notebook. Amazon SageMaker notebook instances is a machine learning (ML) compute instance running the Jupyter Notebook App. SageMaker manages creating the instance and related resources. Use Jupyter notebooks in your notebook instance to prepare and process data, write code to train models, deploy models to SageMaker hosting, and test or validate your models. A machine learning (ML) compute instance running the Jupyter Notebook App on AWS SageMaker. SageMaker is in charge of creating the instance and its associated resources. Prepare and process data in Jupyter notebooks in your notebook instance, write code to train models, deploy models to SageMaker hosting, and test or validate your models.
*Once everything is in place, you will see the AWS console dashboard.
+
 
*Navigate to security credentials in the right top corner, where the account name is written.
+
'''AWS administrator will create DeepSense AWS IAM user account.'''
*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)
+
AWS will send you an email containing information about your account. and users will have access to the AWS SageMaker Notebook instance.
 +
 
 +
== Accessing DeepSense AWS Management Console ==
 +
*Open web browser 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.
 +
*Enter the IAM username in the "IAM user name" field.
 +
*Enter the IAM user's temporary first password in the "Password" field provided by DeepSense AWS Admin.
 +
*You will be redirected to change the password on first login, create a new 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.
 +
*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)
 +
*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.
 +
 
 +
== Accessing DeepSense AWS SageMaker Notebook Instance ==
 
*Begin with SageMaker Notebook.
 
*Begin with SageMaker Notebook.
 
*Enter SageMaker into the search bar and launch the service.
 
*Enter SageMaker into the search bar and launch the service.
Line 16: Line 28:
 
*After notebook is in running status, you can select the option to Open it in Jupyter.
 
*After notebook is in running status, you can select the option to Open it in Jupyter.
 
*The notebook will be ready to use, just like the Jupyter on localhost.
 
*The notebook will be ready to use, just like the Jupyter on localhost.
*In addition, there is JupyterLab also accessible for expandible use.
+
*In addition, there is JupyterLab also accessible for expandable use.
 
*When you're finished with your work, log out of Jupyter.
 
*When you're finished with your work, log out of Jupyter.
 
*Stop the instance from the same menu where you started it.
 
*Stop the instance from the same menu where you started it.
 
   
 
   
It is necessary to turn off the notebook instance so that we are not charged for unutilized hours.
+
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.
 
So, when you're finished, please stop the instance.

Latest revision as of 23:11, 21 December 2023

SageMaker notebook instances enable you to concentrate solely on machine learning while keeping your compute environment secure and up to date with the latest open-source software. You can simplify your data workflows by using a unified notebook environment for data engineering, analytics, and machine learning.

DeepSense AWS SageMaker Notebook Instances

You can find the Notebook instances types in Resources DeepSense has aquired Amazon SageMaker notebook instances to give users access to use the notebook instance if they develop the machine learning in notebook. Amazon SageMaker notebook instances is a machine learning (ML) compute instance running the Jupyter Notebook App. SageMaker manages creating the instance and related resources. Use Jupyter notebooks in your notebook instance to prepare and process data, write code to train models, deploy models to SageMaker hosting, and test or validate your models. A machine learning (ML) compute instance running the Jupyter Notebook App on AWS SageMaker. SageMaker is in charge of creating the instance and its associated resources. Prepare and process data in Jupyter notebooks in your notebook instance, 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 Notebook instance.

Accessing DeepSense AWS Management Console

  • Open web browser 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.
  • Enter the IAM username in the "IAM user name" field.
  • Enter the IAM user's temporary first password in the "Password" field provided by DeepSense AWS Admin.
  • You will be redirected to change the password on first login, create a new 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.
  • 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)
  • 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.

Accessing DeepSense AWS SageMaker Notebook Instance

  • Begin with SageMaker Notebook.
  • Enter SageMaker into the search bar and launch the service.
  • From the console's left side panel, select Notebook instance.
  • Check the region set to “Canada (Central)” by going on top right corner beside your account name.
  • Look for a notebook instance called "ProjectName-DS-notebook-ca-d-instancetype"
  • Select the instance, then go to the Actions drop down menu and choose Start.
  • In a few moments, the notebook's status will change to starting and it will boot up.
  • After notebook is in running status, you can select the option to Open it in Jupyter.
  • The notebook will be ready to use, just like the Jupyter on localhost.
  • In addition, there is JupyterLab also accessible for expandable use.
  • When you're finished with your work, log out of Jupyter.
  • Stop the instance from the same menu where you started it.

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.