Skip to content

Conversation

@lovesegfault
Copy link
Member

@lovesegfault lovesegfault commented Oct 16, 2025

Motivation

Implements AWS S3 Transfer Acceleration for binary cache stores to
improve upload and download performance when accessing S3 buckets from
geographically distant locations. Transfers are routed through
CloudFront edge locations for better performance.

Usage:

nix copy nixpkgs.hello \
  --to 's3://my-cache?region=ap-northeast-1&use-transfer-acceleration=true'

Requirements:

  • DNS-compliant bucket names (3-63 chars, lowercase, numbers, hyphens)
  • No dots in bucket names
  • Transfer Acceleration enabled on the S3 bucket
  • Only applies to AWS S3 (ignored for custom endpoints)

Context

Fixes: #12973


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@lovesegfault lovesegfault force-pushed the nix-s3-transfer-accel branch from f75da12 to 7f7eb15 Compare October 16, 2025 20:23
@github-actions github-actions bot added documentation store Issues and pull requests concerning the Nix store labels Oct 16, 2025
@lovesegfault lovesegfault force-pushed the nix-s3-transfer-accel branch 3 times, most recently from 69c0bb5 to 4705aa5 Compare October 20, 2025 23:07
Implements AWS S3 Transfer Acceleration for binary cache stores to
improve upload and download performance when accessing S3 buckets from
geographically distant locations. Transfers are routed through
CloudFront edge locations for better performance.

Usage:
  nix copy nixpkgs.hello \
    --to 's3://my-cache?region=ap-northeast-1&use-transfer-acceleration=true'

Requirements:
- DNS-compliant bucket names (3-63 chars, lowercase, numbers, hyphens)
- No dots in bucket names
- Transfer Acceleration enabled on the S3 bucket
- Only applies to AWS S3 (ignored for custom endpoints)
@lovesegfault lovesegfault force-pushed the nix-s3-transfer-accel branch from 4705aa5 to fce1031 Compare November 3, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation store Issues and pull requests concerning the Nix store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support S3 transfer acceleration

1 participant