SageMaker notebook instances should not have direct internet access

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Description

This control evaluates if direct internet access is disabled for a SageMaker notebook instance.

If you create a SageMaker notebook instance without setting it up in a custom VPC, it will automatically have direct internet access enabled. To prevent this, during the instance creation process, you must choose a VPC. Once a VPC is selected, you can then disable direct internet access by selecting the Disable option for the Direct Internet Access setting.

To allow internet access, your VPC must be configured with either an interface endpoint (AWS PrivateLink) or a NAT gateway with a security group that permits outbound traffic.

Remediation

Follow the Connect a Notebook Instance in a VPC to External Resources documentation to learn how to create an Amazon SageMaker notebook instance with a custom virtual private cloud (VPC) and the Direct Internet Access setting disabled.