简体   繁体   English

如何将 aws 实例转换为托管实例?

[英]how to make aws instance to managed instance?

I am trying to use AWS Systems Manager for automation, but found many instances under my account aren't in the managed instances list, is there any commands to make the instances to be managed instance?我正在尝试使用 AWS Systems Manager 进行自动化,但发现我账户下的许多实例不在托管实例列表中,是否有任何命令可以将这些实例设置为托管实例?

Instance are automatically registered with SSM if:如果出现以下情况,实例会自动向 SSM 注册:

  • they have installed and running SSM Session Manager agent他们已经安装并运行了 SSM Session Manager代理
  • they have connectivity to SSM services - either through the inte.net or VPC interface endpoints他们连接到 SSM 服务——通过 inte.net 或 VPC 接口端点
  • they have instance role attached with AmazonSSMManagedInstanceCore policy他们具有附加了AmazonSSMManagedInstanceCore策略的实例角色
  • there are no explicit denies that would prohibit using the SSM没有明确否认会禁止使用 SSM

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

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