AWS AWSEC2 low security documentation change
Summary
Updated example titles for clarity and standardized IAM role ARN patterns (replaced specific account IDs with placeholder 123456789012)
Security assessment
The change replaces real AWS account IDs in IAM ARNs with a generic placeholder (123456789012). This prevents accidental exposure of valid account identifiers in documentation examples, reducing potential attack surface if copied without modification.
Diff
diff --git a/AWSEC2/latest/UserGuide/spot-fleet-examples.md b/AWSEC2/latest/UserGuide/spot-fleet-examples.md index 4def06390..f5670abb0 100644 --- a//AWSEC2/latest/UserGuide/spot-fleet-examples.md +++ b//AWSEC2/latest/UserGuide/spot-fleet-examples.md @@ -5 +5 @@ -Example 1: Launch Spot Instances using the lowest-priced Availability Zone or subnet in the RegionExample 2: Launch Spot Instances using the lowest-priced Availability Zone or subnet in a specified listExample 3: Launch Spot Instances using the lowest-priced instance type in a specified listExample 4. Override the price for the requestExample 5: Launch a Spot Fleet using the diversified allocation strategyExample 6: Launch a Spot Fleet using instance weightingExample 7: Launch a Spot Fleet with On-Demand capacityExample 8: Configure Capacity Rebalancing to launch replacement Spot InstancesExample 9: Launch Spot Instances in a capacity-optimized fleetExample 10: Launch Spot Instances in a capacity-optimized fleet with prioritiesExample 11: Launch Spot Instances in a priceCapacityOptimized fleetExample 12: Configure attribute-based instance type selection +Example 1: Lowest-priced Availability ZoneExample 2: Lowest-priced Availability Zone from a listExample 3: Lowest-priced instance type from a listExample 4. Override the price for the requestExample 5: Use the diversified allocation strategyExample 6: Use instance weightingExample 7: Use On-Demand capacityExample 8: Configure Capacity RebalancingExample 9: Use a capacity-optimized fleetExample 10: Use a capacity-optimized fleet with prioritiesExample 11: Use a priceCapacityOptimized fleetExample 12: Configure attribute-based instance type selection @@ -22 +22 @@ For Spot Fleet, you can't specify a network interface ID in a launch template or - * Example 1: Launch Spot Instances using the lowest-priced Availability Zone or subnet in the Region + * Example 1: Launch Spot Instances using the lowest-priced Availability Zone in the Region @@ -24 +24 @@ For Spot Fleet, you can't specify a network interface ID in a launch template or - * Example 2: Launch Spot Instances using the lowest-priced Availability Zone or subnet in a specified list + * Example 2: Launch Spot Instances using the lowest-priced Availability Zone from a list @@ -26 +26 @@ For Spot Fleet, you can't specify a network interface ID in a launch template or - * Example 3: Launch Spot Instances using the lowest-priced instance type in a specified list + * Example 3: Launch Spot Instances using the lowest-priced instance type from a list @@ -34 +34 @@ For Spot Fleet, you can't specify a network interface ID in a launch template or - * Example 7: Launch a Spot Fleet with On-Demand capacity + * Example 7: Launch a Spot Fleet using On-Demand capacity @@ -49 +49 @@ For Spot Fleet, you can't specify a network interface ID in a launch template or -## Example 1: Launch Spot Instances using the lowest-priced Availability Zone or subnet in the Region +## Example 1: Launch Spot Instances using the lowest-priced Availability Zone in the Region @@ -74 +74 @@ The following example specifies a single launch specification without an Availab -## Example 2: Launch Spot Instances using the lowest-priced Availability Zone or subnet in a specified list +## Example 2: Launch Spot Instances using the lowest-priced Availability Zone from a list @@ -151 +151 @@ If the instances are launched in a default VPC, they receive a public IPv4 addre - "Arn": "arn:aws:iam::880185128111:instance-profile/my-iam-role" + "Arn": "arn:aws:iam::123456789012:instance-profile/my-iam-role" @@ -156 +156 @@ If the instances are launched in a default VPC, they receive a public IPv4 addre -## Example 3: Launch Spot Instances using the lowest-priced instance type in a specified list +## Example 3: Launch Spot Instances using the lowest-priced instance type from a list @@ -478 +478 @@ For more information, see [Use instance weighting to manage cost and performance -## Example 7: Launch a Spot Fleet with On-Demand capacity +## Example 7: Launch a Spot Fleet using On-Demand capacity @@ -486 +486 @@ The following example specifies the desired target capacity as 10, of which 5 mu - "IamFleetRole": "arn:aws:iam::781603563322:role/aws-ec2-spot-fleet-tagging-role", + "IamFleetRole": "arn:aws:iam::123456789012:role/aws-ec2-spot-fleet-tagging-role", @@ -527 +527 @@ The effectiveness of the Capacity Rebalancing strategy depends on the number of - "IamFleetRole": "arn:aws:iam::000000000000:role/aws-ec2-spot-fleet-tagging-role", + "IamFleetRole": "arn:aws:iam::123456789012:role/aws-ec2-spot-fleet-tagging-role",