注册Amazon SSM代理时,它会在SSM托管实例控制台中成功注册,但连接显示“连接丢失”。 当我尝试手动启动该服务时,我得到以下错误: Error occurred fetching the seelog config file path: open /etc/amazon/ssm/seelog.xml: no such file or directory
Initializing new seelog logger
New Seelog Logger Creation Complete
2020-12-09 10:20:01 ERROR error occurred when sta
我有两个AWS帐户和一个角色在每个帐户:帐户A有RoleA和帐户B有RoleB。
RoleA将假定RoleB能够在Account-B通过ssm start-session中的EC2实例中进行连接。
使用RoleA,我可以假设RoleB并使用aws描述Account-B中的实例,但是由于以下错误,无法启动ssm会话:
An error occurred (AccessDeniedException) when calling the TerminateSession operation: User: arn:aws:sts::222222222222:assumed-role/RoleB/Rol
我在几个实例中部署了SSM代理,一些Linux和一些Windows- -这是在上周完成的,我能够连接到所有这些实例。现在是几天后,我试图再次使用SSM连接到它们,我可以很好地连接到Linux实例,但是当试图连接到windows实例时,我会得到以下错误
Unable to start command: error impersonating: Logon failure: the user has not been granted the requested logon type at this computer.
我用的是Mac,所以这会导致某种问题吗?当我第一次将SSM部署到这些Window
我使用AWS SSM查找插件从SSM获取一个值,但希望根据环境动态设置SSM变量的路径。
硬编码环境可以工作,因此,我可以编写一个任务,并为每个可能的环境使用一个when:条件,这感觉有点笨重。
- name: Get CloudWatch Log Group Name from SSM for use in CloudWatch role
set_fact:
log_group_name: "{{ lookup('aws_ssm', '/production/cloudwatch/log_group_name') }}"
我试着做下
我在web UI上使用了AWS SSM,在我的终端(使用MacOS蒙特雷终端)上也安装了SSM插件。在这两种情况下,我在粘贴多行文本时都有相同的奇怪行为:
我的原文:
"Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua.
Ut enim ad minim veniam"
将其粘贴到我的Amazon 2实例中的文件中时,通过SSM连接( Web和CLI插件)
"Lo