Rundeck Node Executor Plugin for AWS SSM.
This is a Rundeck Plugin that allows you to execute commands on remote nodes via the AWS Systems Manager SSM Run Command - specifically, the RunShellScript command. This is particularly useful for teams already using SSM that do not want to use SSH within their environments.
You can do this by adding the AmazonSSMAutomationRole IAM Policy to the role associated with your Rundeck instance (either your API creds or IAM Role assigned to your Rundeck instance - if Rundeck is installed on an EC2).
zip -r rundeck-aws-ssm-plugin.zip rundeck-aws-ssm-plugin
More details can be found in Rundeck's documentation on installing plugins.
4a. To set this as the Node Executor for individual nodes, add the following to the custom attributes of your node(s) definition:
node-executor: ssm-executor
Set the Default Node Executor in the GUI to AWS SSM / Node Executor, or manually add service.NodeExecutor.default.provider=ssm-executor
to the project config file.
4c. Optionally set this to be the default method of Node Execution at the Framework level (system wide):
Set service.NodeExecutor.default.provider=ssm-executor
in framework.properties