QuestionQ38

VerifiedDesign Solutions for Organizational Complexity

A data science team uses Amazon SageMaker instances and SageMaker APIs to train machine learning (ML) models. The SageMaker instances are deployed in a VPC with no internet access in either direction. Datasets used for ML model training are stored in an Amazon S3 bucket. Interface VPC endpoints provide access to Amazon S3 and the SageMaker APIs.

Occasionally, the data scientists need access to the Python Package Index (PyPI) repository to update Python packages used in their workflow. A solutions architect must provide access to the PyPI repository while keeping the SageMaker instances isolated from the internet.

Which solution meets these requirements?

Explanation

AWS CodeArtifact can connect a repository to PyPI by using the public:pypi external connection, allowing Python clients to retrieve packages through CodeArtifact. CodeArtifact interface VPC endpoints use AWS PrivateLink, keeping traffic between the VPC and CodeArtifact on the AWS network without requiring an internet gateway or NAT device.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!