Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request awscli 2: ARM builds #4943

Closed
tfolbrecht opened this issue Feb 11, 2020 · 10 comments
Closed

Feature Request awscli 2: ARM builds #4943

tfolbrecht opened this issue Feb 11, 2020 · 10 comments
Labels
feature-request A feature should be added or improved. v2

Comments

@tfolbrecht
Copy link

The new docs don't mention ARM. I used the previous cli in some bash scripts on arm devices. it would be cool if there were official arm builds. Thanks for your hard work!

https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html

@joguSD
Copy link
Contributor

joguSD commented Feb 11, 2020

This is a reasonable request. There's definitely some details we'll need to workout as I'm not entirely sure what the state of ARM compatibility is across different distros/hardware. It looks like there's a manylinux2014 docker image for aarch64 that we might be able to use for the builds.

Marking as a feature request.

@joguSD joguSD added feature-request A feature should be added or improved. v2 labels Feb 11, 2020
@quiver
Copy link
Contributor

quiver commented Feb 11, 2020

Don't forget A1 instance family 😉 https://aws.amazon.com/ec2/instance-types/a1/

@tfolbrecht
Copy link
Author

Just a heads up, I had to touch a little bit of everything to get V2 building on arm6l which is the ISA on a few popular ARM devices like the Raspberry Pi Zero.

@thimslugga
Copy link

thimslugga commented Feb 14, 2020

Here's the steps I used to install on a a1 instance running Amazon Linux 2.

sudo su -
yum check-update && yum install -y python3 python3-devel git gcc libffi-devel openssl-devel

python3 -m venv /opt/aws-cliv2/env --prompt aws-cliv2
source /opt/aws-cliv2/env/bin/activate

pip install git+https://github.com/boto/botocore.git@v2 --upgrade
pip install git+https://github.com/aws/aws-cli.git@v2 --upgrade

deactivate

test ! -f /usr/local/bin/aws && ln -s /opt/aws-cliv2/env/bin/aws /usr/local/bin/aws
test ! -f /usr/local/bin/aws_bash_completer && ln -s /opt/aws-cliv2/env/bin/aws_bash_completer /usr/local/bin/aws_bash_completer

aws --version
 aws-cli/2.0.0 Python/3.7.4 Linux/4.14.165-131.185.amzn2.aarch64 botocore/2.0.0dev4

@tfolbrecht
Copy link
Author

@thimslugga Thank you so much, turns out I've been playing whack-a-mole with my distros package manager and environment. I got it building on arm6l without any trouble.

@joguSD
Copy link
Contributor

joguSD commented May 21, 2020

AWS CLI v2 builds for aarch64 are now being published. This supports the ARM EC2 instances and any other platforms running a 64-bit OS on an ARM v8 or higher processor.

Here's the blog post announcing this:
https://aws.amazon.com/blogs/developer/aws-cli-v2-now-available-for-linux-arm

I'll leave the feature request open as it seems there's still some interest in 32bit builds for older ARM platforms.

@VigibotDev
Copy link

Please support 32-bits raspbian !

@headmelted
Copy link

Raspbian is the big missing piece here which is unfortunately a blocker for a project I'm working on currently. It should be (relatively) trivial to add 32-bit ARMHF builds if ARM64 is building already.

@VigibotDev
Copy link

VigibotDev commented Jul 28, 2020

IoT IS Raspberry and Raspberry IS IoT
AWS-CLI is mandatory to use AWS headless on any small IOT, mainly, IoT is headless!
Raspberry PI IS the WORLD #1 IoT swiss knife.
32-bit is not a limitation for IoT for many years to come (4GB !!!!!!) Even if fhe PI 4 with 8Go is here and Raspbian 64-bits beta also.
Headless IoT software that does not support ALL Raspberry PI from ZERO to 4 is a nonsense, closing this also !!!

@masterchop
Copy link

masterchop commented Sep 25, 2021

how to build for older architectures ? I need it for armhf?
I am also having this problem with session manager plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. v2
Projects
None yet
Development

No branches or pull requests

7 participants