Skip to content
Discussion options

You must be logged in to vote

Hey @mohan-balakrishnan @gregiOS just wanted to follow up on this issue..
It was discovered that uploads to AWS from with an Apple Virtualization Framework VM would not be slow if we pinned the S3 endpoint IPs to 3.5.0.0/19 via /etc/hosts (This range is advertised for S3 here https://ip-ranges.amazonaws.com/ip-ranges.json)

Here's a PoC (bucket_name should be changed to the target bucket, i.e. "github-cloud" for GitHub LFS):

bucket_name="YOUR_BUCKET_NAME"
rr_rw_soa="$(host -t SOA s3-r-w.us-east-1.amazonaws.com | grep -o '[^ ]\{1,\}\.awsdns-[^ ]\{1,\}')"
rr_rw_a="$(timeout 2s bash -c "while ! host s3-r-w.us-east-1.amazonaws.com '${rr_rw_soa}' | grep -o '3\.5\.[0-9]\{1,\}\.[0-9]\{1,\}'; do c…

Replies: 21 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@mohan-balakrishnan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mohan-balakrishnan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mohan-balakrishnan
Comment options

Comment options

You must be logged in to vote
1 reply
@mohan-balakrishnan
Comment options

Comment options

You must be logged in to vote
1 reply
@mohan-balakrishnan
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gregiOS
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dtrdic
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants