Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use VPC configuration when launching job #18

Open
amit-surana opened this issue Jun 9, 2021 · 2 comments
Open

Use VPC configuration when launching job #18

amit-surana opened this issue Jun 9, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@amit-surana
Copy link

Hi Team,
Can we add a feature to pass vpc configuration from plugin which can be used by CreateProcessingJob? There are customers who use VPCE endpoint to connect to their on-premise services from their notebook and when job is running in service accounts job fails since job won't have access to vpce endpoints.

@tomfaulhaber tomfaulhaber added the enhancement New feature or request label Oct 13, 2021
@tomfaulhaber
Copy link
Contributor

This is a reasonable ask. It's not currently supported in the GUI plugin.

As a workaround, I think you can do this using the CLI run-notebook run --extra ... and including the VPC config arguments to CreateProcessingJob but I haven't tried it myself.

@lasdem
Copy link

lasdem commented Apr 20, 2022

Thank you!
I managed to get it working with running the job via command line by passing the Networking Config as --extra
--extra '{ "NetworkConfig": { "EnableInterContainerTrafficEncryption": false, "EnableNetworkIsolation": false, "VpcConfig": { "SecurityGroupIds": [ "sg-xxx" ], "Subnets": [ "subnet-xxx" ] } } }'

I would really like if the UI would pass the vpc config from the sagemaker domain automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants