Git repositories must never exceed 2 GB in size.
Code in a single branch must not exceed 500 MB to avoid the risk of code deployment failures.
Keep Git repositories and associated branches as small as practical to ensure optimal performance during code deployment, site scaling, and diagnostic operations. Avoid including large files or unnecessary media files, such as non-theme images and any video files, prune unnecessary versions from your branch periodically, and tag history to keep your repository small and manageable.
Drupal pods are limited to 4 GB of active ephemeral storage. This is typically used by the platform for code or log management activities and shouldn't be expected to persist for more than a few minutes. Excess utilization can reduce uptime and site stability and may cause workloads to be evicted, leading to immediate loss of ephemeral storage.
Do not use temporary directories to store the files that are required to persist for more than a few minutes. These directories and the files within them are not shared between executions and at most should only be assumed present within the same PHP request, SSH session, cloud hook, or cron job during which the directory was populated with data.
You can review your disk storage utilization from the command line by connecting to your Cloud Platform environment using SSH.
To assess disk utilization in your public files directory:
ncdu /shared/sites/default/files/To assess disk utilization in your private files directory:
$ ncdu /shared/sites/default/files-privateTo assess disk utilization in the shared private files directory:
$ ncdu /shared/files-privateTo assess disk utilization in the legacy files directory:
$ ncdu /shared/filesTo obtain an accurate total that matches Acquia Cloud UI, ensure that you include all directories listed previously. The /shared/files-private directory is separate from /shared/sites/default/files-private and can contain additional data that contributes to reported use.
Alternatively, run a full recursive scan of /shared to capture all storage in one pass:
for nom in `find -L /shared -maxdepth 3 -user $USER -type d`; do echo -n "$nom => "; du -hs `realpath $nom` |cut -f1; doneThe directories listed in /shared are symlinked to their respective locations in /var/www/html/docroot. The necessary directories may differ depending on your specific Drupal configuration to account for multisites or other non-standard locations.
Your home directory /home/clouduser can contribute to total reported storage use.
du -sh $(readlink -f /home/clouduser)This command resolves the symbolic link to the actual path before calculating size, which prevents reporting a size of 0.
The Cloud Platform user interface displays four storage usage cards for each subscription:
Each card shows current usage in GB, your utilization percentage, and the entitled limit for that environment type. The non-production card reflects the usage of the single highest-usage non-production environment — not the combined total of all non-production environments.
For detailed storage reporting, navigate to Manage > [Your
Cloud Platform environments on Cloud Platform technologies use different filesystems, as described in the following table:
| Directories | Type/Scope | Drupal Setting | Description |
|---|---|---|---|
| Persistent/Shared | This is the login home folder, equivalent to the $HOME environment variable. | |
| Persistent/Shared | This is where Drupal places public files for Cloud Platform. | |
| Persistent/Shared |
| This is where Drupal places private files for Cloud Platform. |
| Persistent/Shared | This location is used primarily by cron-wrapper.sh for persistent log storage, but can also be utilized by custom log files. Subscribers should prune outdated logs here on a routine basis to avoid them exceeding 1 GB in size. | |
| Ephemeral/Per Pod |
| |
| All other paths | Ephemeral |
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Git repositories must never exceed 2 GB in size.
Code in a single branch must not exceed 500 MB to avoid the risk of code deployment failures.
Keep Git repositories and associated branches as small as practical to ensure optimal performance during code deployment, site scaling, and diagnostic operations. Avoid including large files or unnecessary media files, such as non-theme images and any video files, prune unnecessary versions from your branch periodically, and tag history to keep your repository small and manageable.
Drupal pods are limited to 4 GB of active ephemeral storage. This is typically used by the platform for code or log management activities and shouldn't be expected to persist for more than a few minutes. Excess utilization can reduce uptime and site stability and may cause workloads to be evicted, leading to immediate loss of ephemeral storage.
Do not use temporary directories to store the files that are required to persist for more than a few minutes. These directories and the files within them are not shared between executions and at most should only be assumed present within the same PHP request, SSH session, cloud hook, or cron job during which the directory was populated with data.
You can review your disk storage utilization from the command line by connecting to your Cloud Platform environment using SSH.
To assess disk utilization in your public files directory:
ncdu /shared/sites/default/files/To assess disk utilization in your private files directory:
$ ncdu /shared/sites/default/files-privateTo assess disk utilization in the shared private files directory:
$ ncdu /shared/files-privateTo assess disk utilization in the legacy files directory:
$ ncdu /shared/filesTo obtain an accurate total that matches Acquia Cloud UI, ensure that you include all directories listed previously. The /shared/files-private directory is separate from /shared/sites/default/files-private and can contain additional data that contributes to reported use.
Alternatively, run a full recursive scan of /shared to capture all storage in one pass:
for nom in `find -L /shared -maxdepth 3 -user $USER -type d`; do echo -n "$nom => "; du -hs `realpath $nom` |cut -f1; doneThe directories listed in /shared are symlinked to their respective locations in /var/www/html/docroot. The necessary directories may differ depending on your specific Drupal configuration to account for multisites or other non-standard locations.
Your home directory /home/clouduser can contribute to total reported storage use.
du -sh $(readlink -f /home/clouduser)This command resolves the symbolic link to the actual path before calculating size, which prevents reporting a size of 0.
The Cloud Platform user interface displays four storage usage cards for each subscription:
Each card shows current usage in GB, your utilization percentage, and the entitled limit for that environment type. The non-production card reflects the usage of the single highest-usage non-production environment — not the combined total of all non-production environments.
For detailed storage reporting, navigate to Manage > [Your
Cloud Platform environments on Cloud Platform technologies use different filesystems, as described in the following table:
| Directories | Type/Scope | Drupal Setting | Description |
|---|---|---|---|
| Persistent/Shared | This is the login home folder, equivalent to the $HOME environment variable. | |
| Persistent/Shared | This is where Drupal places public files for Cloud Platform. | |
| Persistent/Shared |
| This is where Drupal places private files for Cloud Platform. |
| Persistent/Shared | This location is used primarily by cron-wrapper.sh for persistent log storage, but can also be utilized by custom log files. Subscribers should prune outdated logs here on a routine basis to avoid them exceeding 1 GB in size. | |
| Ephemeral/Per Pod |
| |
| All other paths | Ephemeral |
$settings['file_temp_path']$conf['file_temporary_path']| Drupal and other processes may write temporary files here. This is local to the web infrastructure and is not shared across webs. |
$settings['file_temp_path']$conf['file_temporary_path']| Drupal and other processes may write temporary files here. This is local to the web infrastructure and is not shared across webs. |
If this content did not answer your questions, try searching or contacting our support team for further assistance.