Search⌘ K
AI Features

SSM Documents and Run Command

Explore how to use AWS Systems Manager documents and the Run Command feature to automate administrative tasks, deploy software, and manage instances securely without SSH. This lesson covers creating and running SSM documents, integrating with AWS services, and best practices for secure automation on EC2 and other servers.

AWS SSM documents

AWS SSM documents are predefined or custom documents written in JSON or YAML. SSM documents automate everyday administrative tasks, such as system maintenance and software deployment.

Points to note:

  • SSM documents have actions and parameters.
  • AWS has many prebuilt SSM documents that perform everyday tasks.
  • SSM documents are used with other SSM features like Run Command, AppConfig, State Manager, and more.
  • They can retrieve data from the SSM Parameter Store.

We can make our SSM documents public or share them with specific accounts in the same AWS Region. Here are some best practices for sharing SSM documents:

  • Remove sensitive information like passwords and API keys.
  • Block public
...