Ensure that network isolation is enabled for your Amazon SageMaker training jobs in order to prevent external network access to your training or inference containers. Network isolation restricts SageMaker training jobs from making outbound connections, even to other AWS cloud services such as Amazon S3. This enhances security by preventing unauthorized access and potential data leaks. Network isolation is mandatory for AWS ML Marketplace products and can be enabled for additional security on your own training jobs.
By default, SageMaker training inference containers have Internet access, enabling them to interact with external services and resources on the public Internet during training and inference tasks. However, this approach could potentially expose your data to unauthorized access. For instance, malicious users or code from publicly available source code libraries that you inadvertently install on the container could exploit this access to retrieve and transfer your data to a remote host. Enabling network isolation for SageMaker training jobs can shield them from unapproved access.
Audit
To determine the Network Isolation feature status for your Amazon SageMaker training jobs, perform the following operations:
Remediation / Resolution
To enable network isolation for your Amazon SageMaker training job, you have to re-create those jobs with the appropriate network configuration. To deploy your new SageMaker training jobs, perform the following operations:
References
- AWS Documentation
- Amazon SageMaker FAQs
- Control root access to a SageMaker notebook instance
- Give SageMaker Training Jobs Access to Resources in Your Amazon VPC
- Run Training and Inference Containers in Internet-Free Mode
- CreateTrainingJob
- AWS Command Line Interface (CLI) Documentation
- list-training-jobs
- describe-training-job
- create-training-job