AWS Security ChangesHomeSearch

AWS codedeploy: CodeDeploy agent: macOS support and minimum version 2.1.x

Service: codedeploy · 2026-10-15 · Documentation low

File: codedeploy/latest/userguide/codedeploy-agent.md

Summary

Adds macOS 15/26/27 (Apple silicon) to the tested EC2 and on-premises platform lists, documents launchd/launchctl management of the agent on macOS, extends log rotation and deployment-root paths to macOS, adds release notes for agent 2.1.2 and 2.1.1, and raises the minimum supported agent version from 1.8.x to 2.1.x.

Security assessment

The change is primarily platform-support documentation (macOS/Apple silicon) plus a support-policy bump of the minimum agent version from 1.8.x to 2.1.x. Raising the floor on supported agent versions can indirectly reduce exposure to bugs in old agents, but the diff cites no vulnerability, CVE, or incident, and the 2.1.1 note (correct CodeDeploy endpoint in the AWS European Sovereign Cloud) is a functional fix, not a security fix.

Evidence

+Your instances must be running a supported version of the CodeDeploy agent. The current minimum supported version is 2.1.x.

Diff

diff --git a/codedeploy/latest/userguide/codedeploy-agent.md b/codedeploy/latest/userguide/codedeploy-agent.md
index ed34098..a01c4aa 100644
--- a//codedeploy/latest/userguide/codedeploy-agent.md
+++ b//codedeploy/latest/userguide/codedeploy-agent.md
@@ -67,0 +68,2 @@ The CodeDeploy agent has been tested on the following Amazon EC2 AMI operating s
+  * macOS 15, 26, 27 on EC2 Mac instances with Apple silicon (aarch64)
+
@@ -74,0 +77,2 @@ The following platforms have been tested on the CodeDeploy agent version 2.0.x a
+macOS is supported on the CodeDeploy agent version 2.1.2 and later only. The agent supports macOS 15, 26, 27 with Apple silicon.
+
@@ -96,0 +101,2 @@ The CodeDeploy agent has been tested on the following on-premises operating syst
+  * macOS 15, 26, 27 with Apple silicon (aarch64)
+
@@ -103,0 +110,2 @@ The following platforms have been tested on the CodeDeploy agent version 2.0.x a
+macOS is supported on the CodeDeploy agent version 2.1.2 and later only. The agent supports macOS 15, 26, 27 with Apple silicon.
+
@@ -114 +122 @@ When the CodeDeploy agent runs on an EC2 instance, it will use the [EC2 metadata
-Your instances must be running a supported version of the CodeDeploy agent. The current minimum supported version is 1.8.x.
+Your instances must be running a supported version of the CodeDeploy agent. The current minimum supported version is 2.1.x.
@@ -127,0 +136,2 @@ Version | Release date | Details
+2.1.2 |  October 13, 2026 |  **Added** : Support for macOS 15, 26, 27 with Apple silicon. For instructions, see [Install the CodeDeploy agent for macOS](./codedeploy-agent-operations-install-macos.html). **Added** : Parallel range downloads of application revisions from Amazon S3, turned off by default. For more information, see [CodeDeploy agent configuration reference](./reference-agent-configuration.html). **Fixed** : Lifecycle event script output is written to `codedeploy-agent-deployments.log` line by line, prefixed with the deployment ID.  
+2.1.1 |  October 2, 2026 |  **Fixed** : The agent now connects to the correct CodeDeploy endpoint in the AWS European Sovereign Cloud.  
@@ -207,0 +218,10 @@ To manage the CodeDeploy agent, use the `systemctl` utility:
+On macOS, the agent runs as the launchd daemon `com.amazon.aws.codedeploy-agent`, defined in `/Library/LaunchDaemons/com.amazon.aws.codedeploy-agent.plist`. launchd starts the agent at boot and restarts it if it crashes. To manage the agent on macOS, use the `launchctl` utility:
+    
+    
+    sudo launchctl bootstrap system /Library/LaunchDaemons/com.amazon.aws.codedeploy-agent.plist
+    sudo launchctl bootout system/com.amazon.aws.codedeploy-agent
+    sudo launchctl kickstart -k system/com.amazon.aws.codedeploy-agent
+    sudo launchctl print system/com.amazon.aws.codedeploy-agent
+
+These commands start, stop, restart, and show the status of the agent, respectively.
+
@@ -214 +234 @@ The CodeDeploy agent archives revisions and log files on instances. The CodeDepl
-**CodeDeploy logs** : For Amazon Linux, Ubuntu Server, and RHEL instances, the CodeDeploy agent rotates the log files under the `/var/log/aws/codedeploy-agent` folder. The log file is rotated at 00:00:00 (instance time) daily, or when the file reaches 64 MB, whichever comes first. If a second rotation occurs on the same day, the agent appends a numeric suffix (for example, `codedeploy-agent.20260715.1.log`). The agent deletes log files after seven days. The naming pattern for rotated log files is `codedeploy-agent.`YYYYMMDD`.log`.
+**CodeDeploy logs** : For Amazon Linux, Ubuntu Server, RHEL, and macOS instances, the CodeDeploy agent rotates the log files under the `/var/log/aws/codedeploy-agent` folder. The log file is rotated at 00:00:00 (instance time) daily, or when the file reaches 64 MB, whichever comes first. If a second rotation occurs on the same day, the agent appends a numeric suffix (for example, `codedeploy-agent.20260715.1.log`). The agent deletes log files after seven days. The naming pattern for rotated log files is `codedeploy-agent.`YYYYMMDD`.log`.
@@ -220 +240 @@ The CodeDeploy agent stores revisions, deployment history, and deployment script
-`'/opt/codedeploy-agent/deployment-root'` for Amazon Linux, Ubuntu Server, and RHEL instances.
+`'/opt/codedeploy-agent/deployment-root'` for Amazon Linux, Ubuntu Server, RHEL, and macOS instances.