AWS elasticbeanstalk documentation change
Summary
Updated log file naming pattern for self-startup deployments and added S3 path details for self-startup deployment logs.
Security assessment
The change updates log file naming conventions and clarifies S3 upload behavior for self-startup deployments. This improves operational clarity and log management but does not directly address a security vulnerability or add security documentation.
Diff
diff --git a/elasticbeanstalk/latest/dg/environments-deployment-logs.md b/elasticbeanstalk/latest/dg/environments-deployment-logs.md index 7fc91ddfc..1d25cec4a 100644 --- a//elasticbeanstalk/latest/dg/environments-deployment-logs.md +++ b//elasticbeanstalk/latest/dg/environments-deployment-logs.md @@ -0,0 +1,2 @@ +[View a markdown version of this page](environments-deployment-logs.md) + @@ -131 +133 @@ Deployment logs are written to the `/var/log/deployments/` directory on each ins - * **Self-startup deployments** (instance launch or restart app server) – `eb-deployment-`unix-timestamp`.log`. + * **Self-startup deployments** (instance launch) – `eb-deployment-`timestamp`-`instance-id`.log`, where `timestamp` is in UTC format (for example, `20260317T151315Z`) and `instance-id` is the Amazon EC2 instance ID. @@ -143 +145,6 @@ For workflow-controlled deployments, the log is uploaded to Amazon S3 at the fol -In multi-instance environments, the first instance to begin uploading claims the role for the entire deployment. That instance uploads its log to Amazon S3 for the duration of the deployment. All instances still write deployment logs locally. +For self-startup deployments, the log is uploaded to Amazon S3 under a `selfstartup/` subdirectory: + + + s3://elasticbeanstalk-region-account-id/resources/environments/logs/deployments/environment-id/selfstartup/log-filename + +For workflow-controlled deployments, the first instance to begin uploading claims the role for the entire deployment. That instance uploads its log to Amazon S3 for the duration of the deployment. For self-startup deployments, each instance uploads its own log independently. All instances still write deployment logs locally.