AWS Security ChangesHomeSearch

AWS codedeploy: CodeDeploy Windows agent install: latestv2 vs latest S3 prefixes

Service: codedeploy · 2026-09-27 · Documentation low

File: codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md

Summary

Clarifies that the latestv2/ S3 prefix serves the 2.x agent installer while latest/ serves the 1.8.x installer, updating PowerShell, browser, and AWS CLI install commands accordingly.

Security assessment

The change only documents which S3 key prefix maps to which agent major version for installation; it does not address a vulnerability or add security guidance.

Evidence

+To install the latest version of the CodeDeploy agent. The `latestv2/` prefix serves the version 2.x (2.0.x and later) installer, and the `latest/` prefix serves the version 1.8.x installer.

Diff

diff --git a/codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md b/codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md
index 704251492..d28fc904a 100644
--- a//codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md
+++ b//codedeploy/latest/userguide/codedeploy-agent-operations-install-windows.md
@@ -69 +69 @@ For the latest released version, see [Version history of the CodeDeploy agent](.
-To install the latest version of the CodeDeploy agent:
+To install the latest version of the CodeDeploy agent. The `latestv2/` prefix serves the version 2.x (2.0.x and later) installer, and the `latest/` prefix serves the version 1.8.x installer.
@@ -71 +71,7 @@ To install the latest version of the CodeDeploy agent:
-     *         powershell.exe -Command Read-S3Object -BucketName bucket-name -Key latest/codedeploy-agent.msi -File c:\temp\codedeploy-agent.msi
+     * For version 2.0.x and later:
+        
+                powershell.exe -Command Read-S3Object -BucketName bucket-name -Key latestv2/codedeploy-agent.msi -File c:\temp\codedeploy-agent.msi
+
+For version 1.8.x and earlier:
+        
+                powershell.exe -Command Read-S3Object -BucketName bucket-name -Key latest/codedeploy-agent.msi -File c:\temp\codedeploy-agent.msi
@@ -109 +115,8 @@ If the browser security settings on the Windows Server instance provide the perm
-The link is:
+The `latestv2/` prefix serves the version 2.x (2.0.x and later) installer, and the `latest/` prefix serves the version 1.8.x installer.
+
+For version 2.0.x and later, the link is:
+    
+    
+    https://s3.region.amazonaws.com/aws-codedeploy-region/latestv2/codedeploy-agent.msi
+
+For version 1.8.x and earlier:
@@ -116 +129 @@ The link is:
-For example:
+For example, for version 2.0.x and later:
@@ -119 +132 @@ For example:
-    https://s3.af-south-1.amazonaws.com/aws-codedeploy-af-south-1/latest/codedeploy-agent.msi
+    https://s3.af-south-1.amazonaws.com/aws-codedeploy-af-south-1/latestv2/codedeploy-agent.msi
@@ -129 +142,8 @@ If the AWS CLI is installed on the instance, you can use the Amazon S3 [cp](http
-The Amazon S3 command is:
+The `latestv2/` prefix serves the version 2.x (2.0.x and later) installer, and the `latest/` prefix serves the version 1.8.x installer.
+
+For version 2.0.x and later, the Amazon S3 command is:
+    
+    
+    aws s3 cp s3://aws-codedeploy-region/latestv2/codedeploy-agent.msi codedeploy-agent.msi --region region
+
+For version 1.8.x and earlier:
@@ -136 +156 @@ The Amazon S3 command is:
-For example:
+For example, for version 2.0.x and later:
@@ -139 +159 @@ For example:
-    aws s3 cp s3://aws-codedeploy-af-south-1/latest/codedeploy-agent.msi codedeploy-agent.msi --region af-south-1
+    aws s3 cp s3://aws-codedeploy-af-south-1/latestv2/codedeploy-agent.msi codedeploy-agent.msi --region af-south-1