-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
cliThe old and/or new command line interfaceThe old and/or new command line interfacefeatureFeature request or proposalFeature request or proposalnew-cliRelating to the "nix" commandRelating to the "nix" command
Description
I'm creating a private binary cache on Amazon S3, using nix copy to upload closures. To reduce cost, I would like to use the Intelligent-Tiering Storage Class instead of the standard storage class. The nix command currently does not support specifying the storage class (see the PutObjectRequest object constructed here).
Describe the solution you'd like
Support specifying the storage class by using 1) a command line option, or by 2) a URL parameter in the S3 URL.
Describe alternatives you've considered
A workaround to this is to use a 0-day S3 Lifecycle rule to transition the objects to the target tier after their creation. However, doing so incurs some additional cost since lifecycle transitions are not free on AWS.
Metadata
Metadata
Assignees
Labels
cliThe old and/or new command line interfaceThe old and/or new command line interfacefeatureFeature request or proposalFeature request or proposalnew-cliRelating to the "nix" commandRelating to the "nix" command