Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

deploy Attributes - AWS OpsWorks

deploy Attributes

Important

The AWS OpsWorks Stacks service reached end of life on May 26, 2024 and has been disabled for both new and existing customers. We strongly recommend customers migrate their workloads to other solutions as soon as possible. If you have questions about migration, reach out to the AWS Support Team on AWS re:Post or through AWS Premium Support.

The built-in deploy cookbook's deploy.rb attributes file defines the following attributes in the opsworks namespace. For more information on deploy directories, see Deploy Recipes. For more information on how to override built-in attributes to specify custom values, see Overriding Attributes.

deploy_keep_releases

A global setting for the number of app deployments that AWS OpsWorks Stacks will store (number). The default value is 5. This value controls the number of times you can roll back an app.

node[:opsworks][:deploy_keep_releases]
group

(Linux only) The group setting for the app's deploy directory (string). The default value depends on the instance's operating system:

  • For Ubuntu instances, the default value is www-data.

  • For Amazon Linux or RHEL instances that are members of a Rails App Server layer that uses Nginx and Unicorn, the default value is nginx.

  • For all other Amazon Linux or RHEL instances, the default value is apache.

node[:opsworks][:deploy_user][:group]
user

(Linux only) The user setting for the app's deploy directory (string). The default value is deploy.

node[:opsworks][:deploy_user][:user]
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.