AWS Systems Manager のアイコン

AWS Systems Manager Essential2017年〜

An operations management service for centrally managing AWS resources and on-premises servers

What It Does

AWS Systems Manager centrally manages and operates AWS resources and on-premises servers. It provides comprehensive infrastructure operations capabilities including EC2 instance patching, software installation, configuration changes, secure parameter storage, and operational task automation. Its agent-based architecture enables instance access without SSH or RDP, improving security.

Use Cases

Bulk OS patching for EC2 instances, secure storage and distribution of application settings and secrets, automated execution of operational runbooks, inventory collection and compliance verification, and secure remote access via Session Manager.

Everyday Analogy

Think of a building management company. It handles equipment inspections (patching), key management (Parameter Store), and scheduled cleaning (maintenance tasks) across multiple buildings (servers) from a central office, monitoring all buildings remotely and dispatching work without on-site staff.

What Is Systems Manager?

AWS Systems Manager is a collection of services that centralize AWS resource operations management. It comprises 20+ capabilities including patch management, parameter management, session management, automation, and inventory collection. Beyond EC2 instances, on-premises servers and servers on other clouds can be managed by installing the SSM Agent.

Key Features

Among Systems Manager's key features, Parameter Store securely stores and distributes application settings and database connection strings. Patch Manager automates OS patching for EC2 instances and maintains patch compliance. Session Manager provides browser-based instance access without SSH key management, eliminating the need to open port 22 in security groups. Run Command executes commands across multiple instances at once.

Automation and Runbooks

The Automation feature lets you define operational procedures as runbooks and execute them automatically. Codify routine tasks like AMI creation, instance restarts, and EBS snapshot creation for reproducibility. Use 100+ pre-built runbooks from AWS or write custom ones in YAML. Combined with EventBridge, you can trigger runbooks automatically on specific events. For practical knowledge on automation and runbooks, related books on Amazon are helpful.

Pricing

Many Systems Manager features are free. Standard parameters in Parameter Store, Session Manager, Run Command, and basic Patch Manager functionality are available at no additional cost. Some advanced features like advanced parameters (over 4KB, parameter policies), OpsCenter OpsItems, and Change Manager change requests incur pay-per-use charges.

Things to Watch Out For

  • SSM Agent is pre-installed on Amazon Linux 2 and Windows Server AMIs, but requires manual installation on other operating systems
  • Standard parameters in Parameter Store are free but lack automatic rotation compared to Secrets Manager - choose based on your secret management needs
共有するXB!