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 年前檢視次數 4696 次
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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南