我有一个windows服务器,它位于没有互联网接入的VPC中。但是它有指向SSM、ec2messages、SSM消息和ec2 api的VPC端点。
当我尝试使用ssm将其连接到域时,
aws ssm create-association --instance-id <id> --name <ssm document>
它用以下错误超时。
1 out of 1 plugin processed, 0 success, 1 failed, 0 timedout, 0 skipped. The operation aws:domainJoin failed because Failed to create domain computer account 'Servername', Message=A WebException with status ConnectFailure was thrown.,ErrorCode=,ErrorType=Sender,StatusCode=0 Amazon.Runtime.AmazonServiceException: A WebException with status ConnectFailure was thrown. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connect--output truncated--
此服务器与AD具有连接性。事实上,如果我尝试手动加入域,它也能工作。
另一方面,我有另一个服务器,它可以连接到同一个域。唯一的区别是,它有互联网连接。但是由于新的SSM端点也有,我不明白为什么会发生这种情况。IAM的角色也完全一样。任何帮助都将不胜感激。
发布于 2020-04-09 15:56:15
在这里张贴答案,以防其他人面临这个问题。域连接也需要连接到目录服务端点(ds..amazonaws.com),而且到目前为止,该服务还没有VPC端点。这意味着,如果服务器没有出站internet访问,则无法使用SSM加入域。
https://serverfault.com/questions/1007410
复制相似问题