By using AWS re:Post, you agree to the Terms of Use

Codebuild, EKS and private pypi server

0

Does anyone have experience with handling private python packages in the AWS Codebuild/EKS environment. We use Codebuild to build Docker images to be loaded in the AWS EKS (elastic kubernetes service) cluster. However, we would like to install some python modules from a private PyPI server.

If I deploy a private PyPI in my EKS (k8s) cluster, would Codebuild be able to access it when building the containers?

1 Answers
0

Hello,

If you deploy your private PyPI in your EKS cluster and expose it internally in your VPC (with an internal application load balancer for example ...) you can configure CodeBuild to access it.

AWS CodeBuild can access resources inside your VPC as described in its documentation https://docs.aws.amazon.com/codebuild/latest/userguide/vpc-support.html

Best regards,

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions