繁体   English   中英

在 Windows Server 2008 EC2 实例上安装旧版本的 SSM

[英]Installing an old version of SSM on Windows Server 2008 EC2 instance

我正在尝试在使用 AWS Application Migration Service 迁移的 Windows 2008 R2 EC2 实例上安装旧版本的 SSM。 根据此来源,最后一个兼容版本显然是版本2.3.1644.0:https://aws.amazon.com/premiumsupport/knowledge-center/ssm-agent-windows-ec2/

有谁知道我该怎么做? 有我可以使用的用户数据脚本吗?

此外,我正在迁移的服务器处于测试 VSphere 环境中,并且在 AWS Application Migration Service 上处于“测试中”阶段。

使用我在这里找到的用户数据脚本: https://aws.amazon.com/premiumsupport/knowledge-center/ssm-agent-windows-ec2/ 似乎没有安装 ssm 并且脚本也是针对最新版本的...我需要旧版本的 SSM

您应该能够使用此 URL 访问该版本的 SSMAgent: AmazonSSMAgentSetup v2.3.1644.0
如果您将您引用的页面中的 Userdata 脚本中的 URL 替换为特定于版本的链接,您的 Userdata 脚本应该可以工作。 IE

(New-Object System.Net.WebClient).DownloadFile("https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/2.3.1644.0/windows_386/AmazonSSMAgentSetup.exe", $dir + "\AmazonSSMAgentSetup.exe")
Start-Process .\AmazonSSMAgentSetup.exe -ArgumentList @("/q", "/log", "install.log") -Wait

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM