AWS Security ChangesHomeSearch

AWS autoscaling documentation change

Service: autoscaling · 2025-11-22 · Documentation low

File: autoscaling/ec2/userguide/tutorial-lifecycle-hook-instance-metadata.md

Summary

Updated terminology from 'Auto Scaling group' to 'Amazon EC2 Auto Scaling group' throughout the document for consistency and full service name clarity

Security assessment

The changes are purely terminological updates to use the full service name ('Amazon EC2 Auto Scaling group') rather than the abbreviated form. No security vulnerabilities, mitigations, or new security features are mentioned or implied in the diff. The modifications relate to branding consistency rather than security content.

Diff

diff --git a/autoscaling/ec2/userguide/tutorial-lifecycle-hook-instance-metadata.md b/autoscaling/ec2/userguide/tutorial-lifecycle-hook-instance-metadata.md
index 363726388..8e87b4b28 100644
--- a//autoscaling/ec2/userguide/tutorial-lifecycle-hook-instance-metadata.md
+++ b//autoscaling/ec2/userguide/tutorial-lifecycle-hook-instance-metadata.md
@@ -5 +5 @@
-Step 1: Create an IAM role with permissions to complete lifecycle actionsStep 2: Create a launch template and include the IAM role and a user data scriptStep 3: Create an Auto Scaling groupStep 4: Add a lifecycle hookStep 5: Test and verify the functionalityStep 6: Clean upRelated resources
+Step 1: Create an IAM role with permissions to complete lifecycle actionsStep 2: Create a launch template and include the IAM role and a user data scriptStep 3: Create an Amazon EC2 Auto Scaling groupStep 4: Add a lifecycle hookStep 5: Test and verify the functionalityStep 6: Clean upRelated resources
@@ -11 +11 @@ A common way to create custom actions for lifecycle hooks is to use notification
-The following tutorial shows you how to get started using a user data script and instance metadata. You create a basic Auto Scaling group configuration with a user data script that reads the [target lifecycle state](./retrieving-target-lifecycle-state-through-imds.html) of the instances in your group and performs a callback action at a specific phase of an instance's lifecycle to continue the launch process.
+The following tutorial shows you how to get started using a user data script and instance metadata. You create a basic Amazon EC2 Auto Scaling group configuration with a user data script that reads the [target lifecycle state](./retrieving-target-lifecycle-state-through-imds.html) of the instances in your group and performs a callback action at a specific phase of an instance's lifecycle to continue the launch process.
@@ -23 +23 @@ The following illustration summarizes the flow for a scale-out event when you us
-  * Step 3: Create an Auto Scaling group
+  * Step 3: Create an Amazon EC2 Auto Scaling group
@@ -46 +46 @@ When you use the AWS CLI or an AWS SDK to send a callback to complete lifecycle
-  3. In the **Policy Document** box, copy and paste the following policy document into the box. Replace the _`sample text`_ with your account number and the name of the Auto Scaling group that you want to create (`TestAutoScalingEvent-group`).
+  3. In the **Policy Document** box, copy and paste the following policy document into the box. Replace the _`sample text`_ with your account number and the name of the Amazon EC2 Auto Scaling group that you want to create (`TestAutoScalingEvent-group`).
@@ -96 +96 @@ When you finish creating the policy, you can create a role that uses it.
-Create a launch template to use with your Auto Scaling group. Include the IAM role you created and the provided sample user data script.
+Create a launch template to use with your Amazon EC2 Auto Scaling group. Include the IAM role you created and the provided sample user data script.
@@ -118 +118 @@ When you used the IAM console to create an IAM role, the console automatically c
-  9. For **User data** , copy and paste the following sample user data script into the field. Replace the sample text for `group_name` with the name of the Auto Scaling group that you want to create and `region` with the AWS Region you want your Auto Scaling group to use.
+  9. For **User data** , copy and paste the following sample user data script into the field. Replace the sample text for `group_name` with the name of the Amazon EC2 Auto Scaling group that you want to create and `region` with the AWS Region you want your Amazon EC2 Auto Scaling group to use.
@@ -174 +174 @@ This simple user data script does the following:
-     * Changes the hostname of the instance to the instance ID prepended with the name of the Auto Scaling group, if the target lifecycle state is `InService`
+     * Changes the hostname of the instance to the instance ID prepended with the name of the Amazon EC2 Auto Scaling group, if the target lifecycle state is `InService`
@@ -180 +180 @@ This simple user data script does the following:
-  11. On the confirmation page, choose **Create Auto Scaling group**.
+  11. On the confirmation page, choose **Create Amazon EC2 Auto Scaling group**.
@@ -189 +189 @@ For other examples that you can use as a reference for developing your user data
-## Step 3: Create an Auto Scaling group
+## Step 3: Create an Amazon EC2 Auto Scaling group
@@ -191 +191 @@ For other examples that you can use as a reference for developing your user data
-After you create your launch template, create an Auto Scaling group.
+After you create your launch template, create an Amazon EC2 Auto Scaling group.
@@ -193 +193 @@ After you create your launch template, create an Auto Scaling group.
-###### To create an Auto Scaling group
+###### To create an Amazon EC2 Auto Scaling group
@@ -195 +195 @@ After you create your launch template, create an Auto Scaling group.
-  1. On the **Choose launch template or configuration** page, for **Auto Scaling group name** , enter a name for your Auto Scaling group (`TestAutoScalingEvent-group`).
+  1. On the **Choose launch template or configuration** page, for **Amazon EC2 Auto Scaling group name** , enter a name for your Amazon EC2 Auto Scaling group (`TestAutoScalingEvent-group`).
@@ -207 +207 @@ After you create your launch template, create an Auto Scaling group.
-  7. On the **Review** page, review the details of your Auto Scaling group, and then choose **Create Auto Scaling group**.
+  7. On the **Review** page, review the details of your Amazon EC2 Auto Scaling group, and then choose **Create Amazon EC2 Auto Scaling group**.
@@ -218 +218 @@ Add a lifecycle hook to hold the instance in a wait state until your lifecycle a
-  1. Open the [Auto Scaling groups page](https://console.aws.amazon.com/ec2/v2/home?#AutoScalingGroups) of the Amazon EC2 console.
+  1. Open the [Amazon EC2 Auto Scaling groups page](https://console.aws.amazon.com/ec2/v2/home?#AutoScalingGroups) of the Amazon EC2 console.
@@ -220 +220 @@ Add a lifecycle hook to hold the instance in a wait state until your lifecycle a
-  2. Select the check box next to your Auto Scaling group. A split pane opens up in the bottom of the page. 
+  2. Select the check box next to your Amazon EC2 Auto Scaling group. A split pane opens up in the bottom of the page. 
@@ -232 +232 @@ Add a lifecycle hook to hold the instance in a wait state until your lifecycle a
-    4. For **Default result** , choose **ABANDON**. If the hook times out without receiving a callback from your user data script, the Auto Scaling group terminates the new instance.
+    4. For **Default result** , choose **ABANDON**. If the hook times out without receiving a callback from your user data script, the Amazon EC2 Auto Scaling group terminates the new instance.
@@ -243 +243 @@ Add a lifecycle hook to hold the instance in a wait state until your lifecycle a
-To test the functionality, update the Auto Scaling group by increasing the desired capacity of the Auto Scaling group by 1. The user data script runs and starts to check the instance's target lifecycle state soon after the instance launches. The script changes the hostname and sends a callback action when the target lifecycle state is `InService`. This usually takes only a few seconds to finish.
+To test the functionality, update the Amazon EC2 Auto Scaling group by increasing the desired capacity of the Amazon EC2 Auto Scaling group by 1. The user data script runs and starts to check the instance's target lifecycle state soon after the instance launches. The script changes the hostname and sends a callback action when the target lifecycle state is `InService`. This usually takes only a few seconds to finish.
@@ -245 +245 @@ To test the functionality, update the Auto Scaling group by increasing the desir
-###### To increase the size of the Auto Scaling group
+###### To increase the size of the Amazon EC2 Auto Scaling group
@@ -247 +247 @@ To test the functionality, update the Auto Scaling group by increasing the desir
-  1. Open the [Auto Scaling groups page](https://console.aws.amazon.com/ec2/v2/home?#AutoScalingGroups) of the Amazon EC2 console.
+  1. Open the [Amazon EC2 Auto Scaling groups page](https://console.aws.amazon.com/ec2/v2/home?#AutoScalingGroups) of the Amazon EC2 console.
@@ -249 +249 @@ To test the functionality, update the Auto Scaling group by increasing the desir
-  2. Select the check box next to your Auto Scaling group. View details in a lower pane while still seeing the top rows of the upper pane. 
+  2. Select the check box next to your Amazon EC2 Auto Scaling group. View details in a lower pane while still seeing the top rows of the upper pane. 
@@ -264 +264 @@ After increasing the desired capacity, you can verify that your instance has suc
-  1. Return to the **Auto Scaling groups** page and select your group.
+  1. Return to the **Amazon EC2 Auto Scaling groups** page and select your group.
@@ -266 +266 @@ After increasing the desired capacity, you can verify that your instance has suc
-  2. On the **Activity** tab, under **Activity history** , the **Status** column shows whether your Auto Scaling group has successfully launched an instance. 
+  2. On the **Activity** tab, under **Activity history** , the **Status** column shows whether your Amazon EC2 Auto Scaling group has successfully launched an instance. 
@@ -279 +279 @@ If you are done working with the resources that you created for this tutorial, u
-  1. Open the [Auto Scaling groups page](https://console.aws.amazon.com/ec2/v2/home?#AutoScalingGroups) of the Amazon EC2 console.
+  1. Open the [Amazon EC2 Auto Scaling groups page](https://console.aws.amazon.com/ec2/v2/home?#AutoScalingGroups) of the Amazon EC2 console.
@@ -281 +281 @@ If you are done working with the resources that you created for this tutorial, u
-  2. Select the check box next to your Auto Scaling group.
+  2. Select the check box next to your Amazon EC2 Auto Scaling group.
@@ -303 +303 @@ If you are done working with the resources that you created for this tutorial, u
-If you are done working with the example Auto Scaling group, delete it. You can also delete the IAM role and permissions policy that you created.
+If you are done working with the example Amazon EC2 Auto Scaling group, delete it. You can also delete the IAM role and permissions policy that you created.
@@ -305 +305 @@ If you are done working with the example Auto Scaling group, delete it. You can
-###### To delete the Auto Scaling group
+###### To delete the Amazon EC2 Auto Scaling group
@@ -307 +307 @@ If you are done working with the example Auto Scaling group, delete it. You can
-  1. Open the [Auto Scaling groups page](https://console.aws.amazon.com/ec2/v2/home?#AutoScalingGroups) of the Amazon EC2 console.
+  1. Open the [Amazon EC2 Auto Scaling groups page](https://console.aws.amazon.com/ec2/v2/home?#AutoScalingGroups) of the Amazon EC2 console.
@@ -309 +309 @@ If you are done working with the example Auto Scaling group, delete it. You can
-  2. Select the check box next to your Auto Scaling group (`TestAutoScalingEvent-group`) and choose **Delete**. 
+  2. Select the check box next to your Amazon EC2 Auto Scaling group (`TestAutoScalingEvent-group`) and choose **Delete**. 
@@ -311 +311 @@ If you are done working with the example Auto Scaling group, delete it. You can
-  3. When prompted for confirmation, type `delete` to confirm deleting the specified Auto Scaling group and then choose **Delete**.
+  3. When prompted for confirmation, type `delete` to confirm deleting the specified Amazon EC2 Auto Scaling group and then choose **Delete**.
@@ -313 +313 @@ If you are done working with the example Auto Scaling group, delete it. You can
-A loading icon in the **Name** column indicates that the Auto Scaling group is being deleted. It takes a few minutes to terminate the instances and delete the group. 
+A loading icon in the **Name** column indicates that the Amazon EC2 Auto Scaling group is being deleted. It takes a few minutes to terminate the instances and delete the group. 
@@ -357 +357 @@ The following related topics can be helpful as you develop code that invokes act
-For a tutorial that shows you how to use Amazon EventBridge to create rules that invoke Lambda functions based on events that happen to the instances in your Auto Scaling group, see [Tutorial: Configure a lifecycle hook that invokes a Lambda function](./tutorial-lifecycle-hook-lambda.html).
+For a tutorial that shows you how to use Amazon EventBridge to create rules that invoke Lambda functions based on events that happen to the instances in your Amazon EC2 Auto Scaling group, see [Tutorial: Configure a lifecycle hook that invokes a Lambda function](./tutorial-lifecycle-hook-lambda.html).
@@ -365 +365 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please
-Complete a lifecycle action in an Auto Scaling group
+Complete a lifecycle action in an Amazon EC2 Auto Scaling group