Describe the feature
The bulk of the CLI is uncompressed data from botocore. Per boto/botocore#3485 (comment), it seems that more recent botocore implementations compress this data. It would be nice for the SDK to also compress this data. It's not clear to me why there's a botocore fork either, but that's not really my concern.
Use Case
The AWS CLI tends to be installed lots of places, including in docker images where it will tend to be copied/downloaded repeatedly. Having it be significantly smaller would result in cost savings for those who use it.
Proposed Solution
Consider using botocore's compressed implementation or another compression solution.
Other Information
Comparison of the expanded data vs zip compression:
% zip -9 -r -p -q data.zip data
% du -h -s data.zip data
12M /tmp/data.zip
103M data
%
Acknowledgements
CLI version used
aws-cli/2.32.30 Python/3.13.11 Linux/6.14.0-1018-aws exe/x86_64.ubuntu.24
Environment details (OS name and version, etc.)
Ubuntu 24.04
Describe the feature
The bulk of the CLI is uncompressed data from botocore. Per boto/botocore#3485 (comment), it seems that more recent botocore implementations compress this data. It would be nice for the SDK to also compress this data. It's not clear to me why there's a botocore fork either, but that's not really my concern.
Use Case
The AWS CLI tends to be installed lots of places, including in docker images where it will tend to be copied/downloaded repeatedly. Having it be significantly smaller would result in cost savings for those who use it.
Proposed Solution
Consider using botocore's compressed implementation or another compression solution.
Other Information
Comparison of the expanded data vs zip compression:
Acknowledgements
CLI version used
aws-cli/2.32.30 Python/3.13.11 Linux/6.14.0-1018-aws exe/x86_64.ubuntu.24
Environment details (OS name and version, etc.)
Ubuntu 24.04