Comments (6)
Hi, @edfenergy-robcarter , thank you for sharing the logs. Which version of the library do you use? You can check by typing pip freeze | grep sagemaker-ssh-helper
.
You're probably using the old version, because some of the issues like #13 has been already fixed.
If you are on the newest version which is v1.11.0, please share which instance type and which SageMaker Studio kernel you're running this on.
from sagemaker-ssh-helper.
Hi Ivan,
This is a first time setup, so we're not attached to any version yet.
Can confirm we're using the latest version 1.11.0 for the first attempt, but error message persists. Should we attempt to connect from local environment anyway? Issue #13 implies that it wouldn't be blocking.
The instance type is ml.t3.medium and the kernel is named as Python 3, (specifically python 3.8.16). We're constrained to python 3.8 for now because of other dependencies.
from sagemaker-ssh-helper.
Hi, @edfenergy-robcarter , thanks for confirming. Which SageMaker Studio image do you use this kernel in? Is it your custom-build image?
SageMaker SSH Helper has been tested and proved to be working in a number of standard kernels and images: https://github.com/aws-samples/sagemaker-ssh-helper/blob/v1.11.0/tests/test_ide.py#L18_L78
I would appreciate if you can try it in one of these images, e.g. PyTorch 1.12 Python 3.8 CPU Optimized
, which is also Python 3.8.16, and let me know the results. In case it works for you with the standard pre-built image and doesn't work in your custom image, we might need to look closer into this difference.
from sagemaker-ssh-helper.
Hi, I have tried in the image you recommend, we got this error:
An error occurred (AccessDeniedException) when calling the CreateActivation operation: User: arn:aws:sts::<account_number>:assumed-role/role-cus-data-science-sagemaker-pri/SageMaker is not authorized to perform: ssm:CreateActivation on resource: arn:aws:iam::<account_number>:role/role-cus-data-science-sagemaker-pri because no identity-based policy allows the ssm:CreateActivation action
I am assuming this means we need to change our permissions, I will consult DevOps.
from sagemaker-ssh-helper.
Hi, @edfenergy-robcarter , you are right that you need additional IAM/SSM setup from your admins. This requirement is mentioned in the section Getting started, which refers to the page Setting up your AWS account with IAM and SSM configuration with the necessary configuration.
Let me know if you managed to make it work?
from sagemaker-ssh-helper.
I will close the issue for now.
@edfenergy-robcarter Please, reopen, when you need further support.
from sagemaker-ssh-helper.
Related Issues (20)
- Issue trying with a SageMaker Notebook: "sagemaker-ssh-helper:SSMManager:SSH Helper not yet started? Retrying." HOT 6
- Is there any additional cost&limits related to using (SSM) Session Manager? HOT 4
- Error on `dpkg` when running `sm-local-configure` HOT 4
- How to enable cloudwatch logs for SSM HOT 2
- [Feature] Support Hugging Face Accelerate for training HOT 1
- Issue: Invalid bucket name "sagemaker.config INFO - Fetched defaults config from location: ": Bucket name must match the regex
- Is there any plan to support it in BJS/ZHY? HOT 1
- [Issue] `sm-local-configure` breaks on MacOS HOT 4
- Issue] STS client is not using regional endpoints HOT 2
- [Feature] Make switching instances in SageMaker Studio and PyCharm more smooth
- [Feature] Support HF accelerate and DeepSpeed for inference HOT 1
- Thoughts on using a configuration management framework? HOT 6
- sm-local-configure only works with bash like installations - no Powershell/CMD support / Windows support at all HOT 4
- Error occurred when starting amazon-ssm-agent: failed to get identity: failed to find agent identity HOT 1
- Are scripts supposed to work on SageMaker notebook instances? HOT 12
- How to install VSCode, other apps in WebVNC view? HOT 2
- JupyterServer URL suffix when tunnelling into KernelGateway app HOT 2
- Notebook `SageMaker_SSH_Notebook.ipynb` fails due to docker-compose HOT 5
- Enable advanced-instances tier to use Session Manager with your on-premises instances HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sagemaker-ssh-helper.