AWS Security ChangesHomeSearch

AWS prescriptive-guidance documentation change

Service: prescriptive-guidance · 2026-07-10 · Documentation low

File: prescriptive-guidance/latest/load-balancer-stickiness/app-cookies-stickiness.md

Summary

Updated documentation on Application Load Balancer stickiness with application-based cookies. Changes include: corrected internal links, removed external hyperlinks for target group weights and routing algorithms, added emphasis to 'stick', simplified CloudFormation template reference, consolidated notes about costs, fixed template name in testing steps, corrected instance display examples, fixed typo in stickiness duration explanation, and clarified EC2 instance configuration details.

Security assessment

The changes are editorial improvements and documentation clarifications without any mention of security vulnerabilities, threats, or mitigations. No security-related content was added or modified beyond general technical accuracy improvements.

Diff

diff --git a/prescriptive-guidance/latest/load-balancer-stickiness/app-cookies-stickiness.md b/prescriptive-guidance/latest/load-balancer-stickiness/app-cookies-stickiness.md
index b9135a704..81fd6d340 100644
--- a//prescriptive-guidance/latest/load-balancer-stickiness/app-cookies-stickiness.md
+++ b//prescriptive-guidance/latest/load-balancer-stickiness/app-cookies-stickiness.md
@@ -5 +5 @@
-[Documentation](/index.html)[AWS Prescriptive Guidance](https://aws.amazon.com/prescriptive-guidance/)[Choosing a stickiness strategy for your load balancer](welcome.html)
+[Documentation](/index.html)[AWS Prescriptive Guidance](https://aws.amazon.com/prescriptive-guidance/)[Choosing a stickiness strategy for your load balancer](introduction.html)
@@ -13 +13 @@ When you use an Application Load Balancer with an application-based cookie:
-  * The Application Load Balancer uses the [target group weight](https://aws.amazon.com/premiumsupport/knowledge-center/elb-make-weighted-target-groups-for-alb/) to determine how to balance the incoming traffic between the target groups.
+  * The Application Load Balancer uses the target group weight to determine how to balance the incoming traffic between the target groups.
@@ -15 +15 @@ When you use an Application Load Balancer with an application-based cookie:
-  * By default, the Application Load Balancer uses the round robin method [to route requests to the EC2 instances](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#modify-routing-algorithm) in the destination target group.
+  * By default, the Application Load Balancer uses the round robin method to route requests to the EC2 instances in the destination target group.
@@ -19 +19 @@ When you use an Application Load Balancer with an application-based cookie:
-  * Subsequent traffic will stick to the EC2 instance if the client sends back the application cookie and the Application Load Balancer cookie.
+  * Subsequent traffic will _stick_ to the EC2 instance if the client sends back the application cookie and the Application Load Balancer cookie.
@@ -26 +26 @@ When you use an Application Load Balancer with an application-based cookie:
-**Template:** Use the CloudFormation template `stickysessionsapp.yml` (included in the [sample code .zip file](samples/stickiness.zip)) to try out sticky sessions with application-based cookies. 
+**Template** : Use the CloudFormation template `stickysessionsapp.yml` to try out sticky sessions with application-based cookies. 
@@ -43 +43 @@ The only code change is in the target group configuration. We added a stickiness
-**`basic.yml`** | **`stickysessionsapp.yml`**  
+basic.yml| stickysessionsapp.yml  
@@ -85,7 +85 @@ The only code change is in the target group configuration. We added a stickiness
-###### Notes
-
-  * NAT gateways incur a small cost.
-
-  * Multiple EC2 instances will use up your free tier hours faster than a single EC2 instance.
-
-
+###### Note
@@ -92,0 +87 @@ The only code change is in the target group configuration. We added a stickiness
+NAT gateways incur a small cost, and multiple Amazon EC2 instances use up your free tier hours faster than a single EC2 instance.
@@ -94 +89 @@ The only code change is in the target group configuration. We added a stickiness
-  1. Deploy the CloudFormation template `stickysessionslb.yml` in a lab environment.
+  1. Deploy the CloudFormation template `stickysessionsapp.yml` in a lab environment. 
@@ -102 +97 @@ For example: `http://alb-123456789.us-east-1.elb.amazonaws.com/`
-The webpage displays one of the following: **Instance 1 - TG1** , **Instance 2 - TG1** , **Instance 3 - TG2** , or **Instance 4 - TG2**.
+The webpage displays one of the following: **Instance 1 - TG1,** **Instance 2 - TG1**.
@@ -113 +108 @@ The webpage displays one of the following: **Instance 1 - TG1** , **Instance 2 -
-The CloudFormation template in this example has configured the stickiness to last 10 seconds. Valid stickiness duration configuration is between 1 second and 1 week.
+The CloudFormation template is this example has configured the stickiness to last 10 seconds. Valid stickiness duration configuration is between 1 second and 1 week.
@@ -125 +120 @@ The stickiness duration doesn't refresh, but is based on the expiration configur
-  * In this example the EC2 instances have an Apache web server (`httpd`) installed. The `httpd.conf` file is configured to return a static `Set-Cookie` value back to the client (your web browser). The `Set-Cookie` value is hardcoded to be `TESTCOOKIE=<somevalue>`. 
+  * In this example the EC2 instance has an Apache web server (`httpd`) installed. The `httpd.conf` file is configured to return a static `Set-Cookie` value back to the client (your web browser). The `Set-Cookie` value is hardcoded to be `TESTCOOKIE=<somevalue>`.