AWS codedeploy: CodeDeploy agent 2.1.3 release notes and Amazon Linux 2027 support
Summary
Adds Amazon Linux 2027 to the tested platform list and publishes the 2.1.3 release notes, which include two security changes: improved file system permissions on the Windows Server agent installation folder and Authenticode signing of the agent binaries (codedeploy-agent.exe, codedeploy-local.exe) in addition to the MSI installer. Also documents symlink handling fixes, retry behavior, and a GitHub token 401 fix.
Security assessment
The release notes explicitly flag two security changes: tightened filesystem permissions on the Windows agent install folder and Authenticode code signing of the agent executables, which strengthens binary integrity/trust. These are hardening improvements rather than a documented CVE or specific disclosed vulnerability, so it is security documentation at medium severity.
Evidence
+2.1.3 | November 1, 2026 | **Added** : Agent self-update on macOS. The `UpdateDeploymentAgent` command and the `codedeploy-agent update` command now install the latest `.pkg` file, as they do on Linux. For more information, see [Update the CodeDeploy agent on macOS](./codedeploy-agent-operations-update-macos.html). **Added** : The `:preserve_directory_symlinks:` setting, which installs a symbolic link to a directory as a symbolic link instead of copying the directory's contents. Turned off by default. Linux and macOS only. For more information, see [CodeDeploy agent configuration reference](./reference-agent-configuration.html). **Fixed** : Concurrent deployments that create the same missing parent directory no longer fail the `Install` lifecycle event. **Fixed** : A symbolic link in the revision now replaces an existing file or symbolic link at the destination. Dangling symbolic links are removed during cleanup. **Fixed** : File names that are not valid UTF-8 no longer cause the `Install` lifecycle event to stop responding. A destination path that contains a line break now fails the deployment before any files are copied. **Fixed** : Deployments of an application revision from GitHub that use a GitHub access token no longer fail with an HTTP 401 (Unauthorized) error. This issue affected agent versions 2.0.0 through 2.1.2. **Fixed** : The agent now retries reporting the result of a lifecycle event to CodeDeploy when the request fails with a server error (HTTP 5xx) or a network error. Retries use exponential backoff and continue for up to 65 minutes after the agent receives the lifecycle event. If the agent is stopped while it is retrying, the stop can take as long as the retry period, bounded by `:kill_agent_max_wait_time_seconds:`. **Changed (security)** : Improved file system permissions on the agent installation folder on Windows Server. **Changed (security)** : The agent binaries (`codedeploy-agent.exe` and `codedeploy-local.exe`) are now Authenticode-signed, in addition to the MSI installer.
Diff
diff --git a/codedeploy/latest/userguide/codedeploy-agent.md b/codedeploy/latest/userguide/codedeploy-agent.md index a01c4aa..3866ac0 100644 --- a//codedeploy/latest/userguide/codedeploy-agent.md +++ b//codedeploy/latest/userguide/codedeploy-agent.md @@ -47,0 +48,2 @@ The CodeDeploy agent has been tested on the following Amazon EC2 AMI operating s + * Amazon Linux 2027 (x86_64, aarch64) + @@ -75 +77 @@ The CodeDeploy agent has been tested on the following Amazon EC2 AMI operating s -The following platforms have been tested on the CodeDeploy agent version 2.0.x and later only: Windows Server 2025, RHEL 10, Oracle Linux 8, 9, 10, Rocky Linux 9, 10, CentOS Stream 9, 10, SLES 15, Debian 11, 12, 13, and Ubuntu Server 24.04, 25.04, 26.04. +The following platforms have been tested on the CodeDeploy agent version 2.0.x and later only: Amazon Linux 2027, Windows Server 2025, RHEL 10, Oracle Linux 8, 9, 10, Rocky Linux 9, 10, CentOS Stream 9, 10, SLES 15, Debian 11, 12, 13, and Ubuntu Server 24.04, 25.04, 26.04. @@ -135,0 +138 @@ Version | Release date | Details +2.1.3 | November 1, 2026 | **Added** : Agent self-update on macOS. The `UpdateDeploymentAgent` command and the `codedeploy-agent update` command now install the latest `.pkg` file, as they do on Linux. For more information, see [Update the CodeDeploy agent on macOS](./codedeploy-agent-operations-update-macos.html). **Added** : The `:preserve_directory_symlinks:` setting, which installs a symbolic link to a directory as a symbolic link instead of copying the directory's contents. Turned off by default. Linux and macOS only. For more information, see [CodeDeploy agent configuration reference](./reference-agent-configuration.html). **Fixed** : Concurrent deployments that create the same missing parent directory no longer fail the `Install` lifecycle event. **Fixed** : A symbolic link in the revision now replaces an existing file or symbolic link at the destination. Dangling symbolic links are removed during cleanup. **Fixed** : File names that are not valid UTF-8 no longer cause the `Install` lifecycle event to stop responding. A destination path that contains a line break now fails the deployment before any files are copied. **Fixed** : Deployments of an application revision from GitHub that use a GitHub access token no longer fail with an HTTP 401 (Unauthorized) error. This issue affected agent versions 2.0.0 through 2.1.2. **Fixed** : The agent now retries reporting the result of a lifecycle event to CodeDeploy when the request fails with a server error (HTTP 5xx) or a network error. Retries use exponential backoff and continue for up to 65 minutes after the agent receives the lifecycle event. If the agent is stopped while it is retrying, the stop can take as long as the retry period, bounded by `:kill_agent_max_wait_time_seconds:`. **Changed (security)** : Improved file system permissions on the agent installation folder on Windows Server. **Changed (security)** : The agent binaries (`codedeploy-agent.exe` and `codedeploy-local.exe`) are now Authenticode-signed, in addition to the MSI installer.