AWS Systems Manager - krdheeraj51/aws-labs GitHub Wiki

Overview:

AWS Systems Manager (SSM) is a unified interface that allows you to manage your AWS resources. It provides operational insights and helps automate operational tasks across your AWS infrastructure.

Key Features:

  1. Automation: Automate common maintenance and deployment tasks.
  2. Run Command: Execute commands on your managed instances.
  3. Patch Manager: Automate the process of patching managed instances.
  4. Parameter Store: Securely store and manage configuration data and secrets.
  5. Session Manager: Securely manage instances without needing to open inbound ports or manage SSH keys.
  6. Inventory: Collect and query configuration and inventory information about your instances and applications.
  7. Compliance: Track and report on the compliance status of your managed instances.

Use Cases:

  1. Configuration Management: Maintain consistent configuration across your instances.
  2. Security and Compliance: Ensure instances comply with security policies.
  3. Operational Efficiency: Reduce manual intervention by automating routine tasks.

Getting Started:

  1. Set Up Managed Instances: Install the SSM Agent on your instances.
  2. Create IAM Roles: Assign necessary permissions to your instances.
  3. Use the Console: Access Systems Manager through the AWS Management Console to start managing your resources.

Supported SSM Parameter Types in AWS CloudFormation: AWS CloudFormation supports several parameter types for SSM, allowing you to reference values stored in the Parameter Store. Here are the main types:

  1. AWS::SSM::Parameter::Value: Retrieves a parameter value of type String.
  2. AWS::SSM::Parameter::Value: Retrieves a parameter value of type List.
  3. AWS::SSM::Parameter::Value: Retrieves a parameter value of type CommaDelimitedList.
  4. AWS::SSM::Parameter::ValueAWS::EC2::Image::Id: Retrieves an Amazon Machine Image (AMI) ID stored in Parameter Store.
  5. AWS::SSM::Parameter::ValueAWS::EC2::KeyPair::KeyName: Retrieves an EC2 Key Pair name stored in Parameter Store.
  6. AWS::SSM::Parameter::ValueAWS::EC2::SecurityGroup::Id: Retrieves a Security Group ID stored in Parameter Store.
  7. AWS::SSM::Parameter::ValueAWS::EC2::Subnet::Id: Retrieves a Subnet ID stored in Parameter Store.
  8. AWS::SSM::Parameter::ValueAWS::EC2::VPC::Id: Retrieves a VPC ID stored in Parameter Store
⚠️ **GitHub.com Fallback** ⚠️