Using AWS Sagemaker

From DeepSense Docs
Jump to: navigation, search

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.