This rule highlights the requirement for managing EC2 instances exclusively through AWS Systems Manager.
Rule | EC2 instances should be managed by AWS Systems Manager |
Framework | RBI Cyber Security Framework |
Severity | ✔ High |
Rule Description: EC2 instances should be managed by AWS Systems Manager for RBI Cyber Security Framework
Rule Summary:
This rule ensures that all EC2 instances within an AWS account are managed by AWS Systems Manager, in compliance with the Reserve Bank of India (RBI) Cyber Security Framework. AWS Systems Manager provides a secure and centralized way to manage EC2 instances, facilitating improved security control, visibility, and compliance.
Rule Details:
EC2 instances within the AWS account must be managed by AWS Systems Manager. This ensures that the RBI Cyber Security Framework is adhered to and helps to strengthen security controls for the instances. AWS Systems Manager simplifies the management process by automating tasks such as patch management, compliance monitoring, and software inventory management.
Troubleshooting Steps:
If an EC2 instance is not managed by AWS Systems Manager, the following troubleshooting steps can be followed:
Verify EC2 instance association: Check if the EC2 instance is associated with any AWS Systems Manager documents or parameter store values. To do this:
Verify AWS Systems Manager Agent (SSM Agent) installation: Confirm if the SSM Agent is installed and running properly on the EC2 instance. To do this:
If the agent is not running, follow the appropriate AWS documentation to install and configure the agent.systemctl status amazon-ssm-agent # For Amazon Linux 2 and Ubuntu instances sc query amazon-ssm-agent # For Windows instances
Troubleshoot agent connectivity issues: If the SSM Agent is running but there are connectivity issues, follow these steps:
Necessary Codes:
No specific codes are required for this rule. However, the AWS Systems Manager agent (SSM Agent) needs to be installed and running on the EC2 instances.
Step-by-Step Guide for Remediation:
To remediate the non-compliant EC2 instances and make sure they are managed by AWS Systems Manager, follow these steps:
Install and configure the AWS Systems Manager agent (SSM Agent) on the EC2 instances that are not managed.
Check if the EC2 instance is associated with the necessary Systems Manager documents or parameter store values.
Validate that the EC2 instance is now being managed by AWS Systems Manager.
Ensure that these steps are performed for all non-compliant EC2 instances within the AWS account to meet the RBI Cyber Security Framework requirements and ensure comprehensive management of EC2 instances.