The reason I didn't install Raspbian is because Raspbian is only available in 32-bit, and the AWS CLI version 2 isn't supported on ARM 32-bit, as mentioned here and here.
I am looking to install the following two tools on my Raspberry Pi 4 Model B.
amazon-ssm-agent
AWS CLI version 2
I'm confused on which operating system to actually use so that both are supported. The only thing that seems to work thus far is Raspbian OS (32-bit), but, again, according to the GitHub referenced link above, AWS CLI version 2 isn't planned to be supported on 32-bit operating systems, so that leaves me with pretty much Ubuntu, which doesn't seem to work with amazon-ssm-agent.
root@myuser-desktop:~# curl https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb -s -o /tmp/amazon-ssm-agent.deb
root@myuser-desktop:~# dpkg -i /tmp/amazon-ssm-agent.deb
dpkg: error processing archive /tmp/amazon-ssm-agent.deb (--install):
package architecture (amd64) does not match system (arm64)
Errors were encountered while processing:
/tmp/amazon-ssm-agent.deb
root@myuser-desktop:~# curl https://s3.us-east-2.amazonaws.com/amazon-ssm-us-east-2/latest/debian_arm/amazon-ssm-agent.deb -s -o /tmp/amazon-ssm-agent.deb
root@myuser-desktop:~# dpkg -i /tmp/amazon-ssm-agent.deb
dpkg: error processing archive /tmp/amazon-ssm-agent.deb (--install):
package architecture (armhf) does not match system (arm64)
Errors were encountered while processing:
/tmp/amazon-ssm-agent.deb
Any help would be greatly appreciated.
EDIT
I just discovered that this is an actual working URL:
I'm using a Raspberry Pi 4 Model B and for some reason I cannot get the
amazon-ssm-agent
to actually install.Here's my CPU info:
I've got Ubuntu Server 20.04 installed, as this article suggests that ARM 64-bit is supported: https://docs.aws.amazon.com/systems-manager/latest/userguide/prereqs-operating-systems.html#prereqs-os-linux.
The reason I didn't install Raspbian is because Raspbian is only available in 32-bit, and the AWS CLI version 2 isn't supported on ARM 32-bit, as mentioned here and here.
I am looking to install the following two tools on my Raspberry Pi 4 Model B.
I'm confused on which operating system to actually use so that both are supported. The only thing that seems to work thus far is Raspbian OS (32-bit), but, again, according to the GitHub referenced link above, AWS CLI version 2 isn't planned to be supported on 32-bit operating systems, so that leaves me with pretty much Ubuntu, which doesn't seem to work with amazon-ssm-agent.
I tried to take a peak at this as well, but how does anyone know if https://s3.us-east-2.amazonaws.com/amazon-ssm-us-east-2/latest/debian_arm/amazon-ssm-agent.deb is for an ARM 32-bit or ARM 64-bit architecture? I've tried installing this on Ubuntu Server 20.04 on my Raspberry PI, and retrieved this:
Any help would be greatly appreciated.
EDIT
I just discovered that this is an actual working URL:
https://s3.us-east-2.amazonaws.com/amazon-ssm-us-east-2/latest/debian_arm64/amazon-ssm-agent.deb
However, this URL isn't even mentioned anywhere on this page: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-install-managed-linux.html