- Ensure that Amazon SageMaker notebook instances that are running inside a Virtual Private Cloud (VPC) have direct internet access enabled in order to download notebooks, popular packages and datasets, as well as access other SageMaker components such as training and endpoint services. An AWS SageMaker notebook instance is a Machine Learning (ML) EC2 compute instance running on Jupyter Notebook software.
When Amazon SageMaker notebook direct internet access is disabled, your notebook instance is not able to connect to SageMaker training and endpoint services unless you configure a NAT Gateway in your VPC and you set up security groups to allow outbound connections.
To determine if your VPC-based Amazon SageMaker notebook instances have direct internet access feature enabled, perform the following:
To ensure that your Amazon SageMaker notebook instances that are running inside a VPC network have direct internet access, you need to re-create these instances with the necessary network configuration. To enable direct internet access for an AWS SageMaker notebook instance deployed within a VPC, perform the following actions: