首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在尝试使用SSM获取实例时克服此错误?

如何在尝试使用SSM获取实例时克服此错误?
EN

Stack Overflow用户
提问于 2022-07-13 15:51:19
回答 1查看 65关注 0票数 0
代码语言:javascript
复制
aws ssm start-session --target i-02184d8ca315055d8

An error occurred (BadRequest) when calling the StartSession operation: The SSM Agent version installed on this instance doesn't support streaming logs to CloudWatch. Either update the SSM Agent to the latest version or disable the streaming logs option in your preferences.

有人知道我在尝试使用SSM时如何克服这个错误吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-07-13 21:02:56

你有两个选择-- Either update the SSM Agent to the latest version or disable the streaming logs option in your preferences.

  1. (我假设应该是可能的)您可以使用SSM运行命令特性和AWS-UpdateSSMAgent document.

在提供的实例上更新SSM代理。

  1. (如果您没有设置它,则不建议使用它--默认情况下它是禁用的,因此可能有人出于某种原因打开了它)。在这里禁用云监视日志记录:https://eu-west-1.console.aws.amazon.com/systems-manager/session-manager/preferences?region=eu-west-1
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72969172

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档