AWS Security ChangesHomeSearch

AWS AWSEC2 documentation change

Service: AWSEC2 · 2025-04-11 · Documentation low

File: AWSEC2/latest/UserGuide/modify-ebs-optimized-attribute.md

Summary

Restructured EBS optimization documentation with added prerequisites, warnings about instance store data loss, and updated CLI/PowerShell commands

Security assessment

While the change adds warnings about data loss when stopping instances, this is standard operational guidance rather than addressing a specific security vulnerability

Diff

diff --git a/AWSEC2/latest/UserGuide/modify-ebs-optimized-attribute.md b/AWSEC2/latest/UserGuide/modify-ebs-optimized-attribute.md
index 06b6bd71a..82c0537e5 100644
--- a//AWSEC2/latest/UserGuide/modify-ebs-optimized-attribute.md
+++ b//AWSEC2/latest/UserGuide/modify-ebs-optimized-attribute.md
@@ -5 +5,15 @@
-# Enable Amazon EBS optimization for an Amazon EC2 instance
+# Enable EBS optimization for an Amazon EC2 instance
+
+You can manually enable EBS optimization only for previous generation instances types that optionally support EBS optimization. If you enable EBS optimization for these instance types, there is [additional hourly fee](https://aws.amazon.com/ec2/previous-generation/#EBS-optimized_instances)
+
+###### Prerequisites
+
+  * Verify that the instance type requires that you enable EBS optimization. For more information, see [EBS optimization supported](./ebs-optimized.html#previous).
+
+  * To you enable EBS optimization after launch, you must stop the instance.
+
+###### Warning
+
+When you stop an instance, the data on any instance store volumes is erased. To keep data from instance store volumes, be sure to back it up to persistent storage.
+
+
@@ -7 +20,0 @@
-You can manually enable Amazon EBS optimization only for instances types that optionally support Amazon EBS optimization, but are not Amazon EBS-optimized by default. For these instance types you can enable Amazon EBS optimization during or after launch for an [additional hourly fee](https://aws.amazon.com/ec2/previous-generation/#EBS-optimized_instances).
@@ -26,4 +38,0 @@ If the selected instance type does not support Amazon EBS optimization, the drop
-###### Warning
-
-When you stop an instance, the data on any instance store volumes is erased. To keep data from instance store volumes, be sure to back it up to persistent storage.
-
@@ -52,3 +61 @@ Use the [run-instances](https://awscli.amazonaws.com/v2/documentation/api/latest
-###### Warning
-
-When you stop an instance, the data on any instance store volumes is erased. To keep data from instance store volumes, be sure to back it up to persistent storage.
+        aws ec2 stop-instances --instance-ids i-1234567890abcdef0
@@ -57,0 +65,4 @@ When you stop an instance, the data on any instance store volumes is erased. To
+        aws ec2 modify-instance-attribute \
+        --instance-id i-1234567890abcdef0 \
+        --ebs-optimized
+
@@ -72,3 +83 @@ Use the [New-EC2Instance](https://docs.aws.amazon.com/powershell/latest/referenc
-###### Warning
-
-When you stop an instance, the data on any instance store volumes is erased. To keep data from instance store volumes, be sure to back it up to persistent storage.
+        Stop-EC2Instance -InstanceId i-1234567890abcdef0
@@ -77,0 +87,4 @@ When you stop an instance, the data on any instance store volumes is erased. To
+        Edit-EC2InstanceAttribute `
+        -InstanceId i-1234567890abcdef0 `
+        -EbsOptimized $true
+