- 新しい順
- 投票が多い順
- コメントが多い順
Hello.
In my environment, I was able to install SSM Agent by following the procedure in the following document.
https://docs.aws.amazon.com/systems-manager/latest/userguide/agent-install-deb.html
The command executed is shown below.
sudo su -
mkdir /tmp/ssm
cd /tmp/ssm
wget https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb
sudo dpkg -i amazon-ssm-agent.deb
sudo systemctl status amazon-ssm-agent
sudo systemctl enable amazon-ssm-agent
If you are using an ARM-based instance type, execute the following command.
sudo su -
mkdir /tmp/ssm
cd /tmp/ssm
wget https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_arm64/amazon-ssm-agent.deb
sudo dpkg -i amazon-ssm-agent.deb
sudo systemctl status amazon-ssm-agent
sudo systemctl enable amazon-ssm-agent
Which command returned "Package Not Found"?
Full instructions are in https://docs.aws.amazon.com/systems-manager/latest/userguide/agent-install-deb.html#quick-install-debian
First you either have to run (depending on whether your instance is x86_64 or ARM64):
wget https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb
or
wget https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_arm64/amazon-ssm-agent.deb
I've just verified I can download both of these from those URLs. Are you not able to get the one that you need?
Then you sudo dpkg -i amazon-ssm-agent.deb
- is this what is giving you the "Package Not Found" message? Ensure you are in the same directory that you have just downloaded the package into when you run this.
actually was trying to run the commands for x86_64 and might have missed one or two things there. It seems to be working now, next step is to get SSM to automate OS upgrades for particular instance. Thanks for the help.
関連するコンテンツ
- AWS公式更新しました 1年前
- AWS公式更新しました 3年前
Thanks for the help, working now.