Skip to content

Releases: aws-samples/sagemaker-ssh-helper

Release v1.10.1

14 Apr 18:53
Compare
Choose a tag to compare

New in v1.10.1:

#20 - fixing location of SSH authorized keys to prevent sm-local-ssh-ide script from asking root password

Simplified CDK app deployment step in IAM_SSM_Setup.md (no need to clone the source code repo anymore)

Documentation updates

Simplified procedure with instructions for ~/.ssh/config

FAQ - I'm running SageMaker in a VPC. Do I need to make extra configuration?

FAQ - I'm using boto3 Python SDK instead of SageMaker Python SDK, how can I use SageMaker SSH Helper?

Release v1.10.0

27 Feb 08:24
Compare
Choose a tag to compare

New in v1.10.0:

CDK deployment automation in IAM_SSM_Setup.md

Demonstrated the least privilege principle

#12 - Removed EC2 instance from SSM setup

Speed up instance ID resolution with SSMManager (not using CloudWatch logs and SSHLog anymore, except for endpoints)

Speed up instance ID resolution (not using CloudWatch logs anymore, except for endpoints)

#4 - Notebook instances support

The command sm-local-ssh-ide <<kernel_gateway_name>> is becoming sm-local-ssh-ide connect <<kernel_gateway_name>> (added connect for consitency with other scripts)

New command: sm-local-configure to run on the local machine to install AWS CLI v2 and Sessions Manager plugin

#17 - An option to start only SSH server inside SageMaker Studio: sm-ssh-ide start --ssh-only

Deregistering instances with timestamp: new parameter --delete-older-than-n-days <N>

New tags attached to an SSM instance, in addition to SSHOwner: SSHCreator, SSHTimestamp, SSHResourceName and SSHResourceArn.

Env variables passed to SSH helper change: instead of SSH_SSM_TAGS it now accepts only SSH_OWNER_TAG, other tags are calculated automatically. SSH_LOG_TO_STDOUT parameter is needed for notebook instances.

#16 - China AWS Regions support

Stability, usability and performance improvements

Documentation updates

FAQ - Are SageMaker notebook instances supported?

FAQ - What if I want to use an estimator in a hyperparameter tuning job (HPO) and connect to a stuck training job with SSM?

FAQ - How to configure an AWS CLI profile to work with SageMaker SSH Helper? (resolves #14)

Release v1.9.1

20 Jan 16:14
Compare
Choose a tag to compare

Release v1.9.0

22 Dec 12:34
Compare
Choose a tag to compare

New in v1.9.0:

  • Added support for batch transform - #10

  • Fixed SKLearn support - #2

  • Added support for basic estimator and improved support for other frameworks, including HuggingFace, TensorFlow and XGBoost.

  • Added MultiDataModel support without a model object - #4

  • Fix the deregister_old_instances_from_ssm.py to allow clean up instances with any role, not only those that contain ‘sagemaker’ - #8

  • Possibility to override the public keys location path in S3 with SSH_AUTHORIZED_KEYS_PATH environment variable - #8

  • Additional sm-local-ssh-* scripts to connect with SSH to processing, training, inference and batch transform containers.

  • Fixing issue with sudo installation in some containers.

  • Better support for the distributed multi-GPU scenarios.

Release v1.8.1

09 Dec 10:46
Compare
Choose a tag to compare

New in v1.8.1:

  • Improved logging (less noise)
  • Fix minor issue with missing jq util in older Ubuntu versions
  • IDE / SageMaker Studio scenario improvements:
    • Adding lifecycle configuration script support for SageMaker Studio
    • Refine IDE notebook
    • Make it possible to override IDE settings by per-user ~/. files
    • Update docs on switching IDE instances
    • Make bootstrap procedure smoother – not need to stop old instance when starting a new one, the whole notebook can be restarted as many times as needed

v1.8.0

29 Nov 09:47
Compare
Choose a tag to compare

New in v1.8.0:

  • Install the latest stable version from PyPI instead of downloading source code - pip install sagemaker-ssh-helper .
  • Script to cleanup stale SSM instances – [sagemaker_ssh_helper/deregister_old_instances_from_ssm.py] (sagemaker_ssh_helper/deregister_old_instances_from_ssm.py) . Will remove all offline instances created by SageMaker with SSHOwner tag
  • Limit the number of training instances for distributed job with an optional parameter ssh_instance_count passed to SSHEstimatorWrapper.create() (default is 2) – useful to prevent Throttling API errors in SSM
  • Added FAQ
  • Windows support for local machine (more details in FAQ)

v1.7.8

14 Oct 19:46
Compare
Choose a tag to compare

Initial public release