This rule ensures that EC2 instances have EBS optimization enabled for improved performance.
Rule | EC2 instance should have EBS optimization enabled |
Framework | NIST 800-53 Revision 5 |
Severity | ✔ High |
Rule Description:
EC2 instances should have Elastic Block Store (EBS) optimization enabled to comply with NIST 800-53 Revision 5.
EBS optimization is a feature provided by Amazon Web Services (AWS) that delivers dedicated network capacity to the attached EBS volumes of an EC2 instance. Enabling EBS optimization ensures that the communication between the EC2 instance and its EBS volumes is optimized for better performance and throughput.
Remediation:
To enable EBS optimization for an EC2 instance, follow the steps below:
Troubleshooting:
If you encounter any issues or errors while enabling EBS optimization, consider the following troubleshooting steps:
If the issue persists, consider reaching out to AWS support for further assistance.
Additional Information:
You can also enable EBS optimization programmatically using AWS CLI. Here's an example command:
aws ec2 modify-instance-attribute --instance-id <instance-id> --ebs-optimized --ebs-optimized true
Replace
<instance-id>
with the actual instance ID for which you want to enable EBS optimization.Note: Before making any changes to your EC2 instances, it is recommended to review and understand the impact of the changes and also consider any additional requirements specific to your environment or application.