Posted On: Oct 26, 2017
Amazon EC2 Systems Manager now supports the ability to run any script or Systems Manager Document stored on GitHub or Amazon Simple Storage Service (Amazon S3).
Previously, in order to run scripts and Documents in Systems Manager, you needed to create and store JSON files directly in Systems Manager as Documents. Now you can reference and run external files from your own public or private GitHub repositories or Amazon S3 buckets. This can be done directly by using one of two pre-written Documents, or you can use the underlying plugins to download content and run scripts or Documents from GitHub or Amazon S3. You do not need to modify the script, you can keep it written in any language supported by the instance. For example, it can be written in Python, Ruby, or YAML. Additionally, you can use unmodified PowerShell scripts or Ansible playbooks.
You can also reference a document within another Systems Manager Document. This enables you to maintain dedicated and smaller modular scripts, supporting reusability, instead of manually copying all scripts into one document. For example, you can maintain two Documents with dedicated scripts and call them in a third Document when needed.
Systems Manager is available in all commercial regions and GovCloud.