Use S3 as a git repo

0

I have a sagemaker notebook that has no connections to internet or codecommit but has access to 1 s3 bucket. I would like to use that 1 s3 bucket as a place to house git repos, ideally I would like to be able to pull/push to repos in that bucket from other sagemaker notebooks or ec2 instances that have connections to that bucket. Has anyone tried this before?

AWS
已提问 2 年前4693 查看次数
2 回答
1

Hi! I believe from AWS we don't have an official solution for this strategy. The are some solutions out there like https://github.com/bgahagan/git-remote-s3 you could use if you can upload the latest release to the S3 bucket and install it on your notebook. Hope this helps!

AWS
Dani M
已回答 2 年前
  • Interesting choice, it doesn't seem to deal with credentials well. It won't take my credentials from my notebook. But maybe there is some poking around that can be done.

0
  • Those are all connecting code commit to my notebook which I can't do since I can't modify the execution role.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则