Help Center/ ServiceStage/ FAQs/ Application Management/ Which Directories Do I Use to Write Files for VM-Deployed Application Components?
Updated on 2023-07-14 GMT+08:00

Which Directories Do I Use to Write Files for VM-Deployed Application Components?

For such components, only their running directory is available for writing files. Such files include log files or zip packages.

This directory is the /opt/application/${appName}/${appVersion}/${instanceId} directory on the application ECS, where,

  • ${appName} indicates the component instance name.
  • ${appVersion} indicates the version number of the component instance.
  • ${instanceId} indicates the instance ID.

This rule takes effect only for new and upgraded component instances. Directories of component instances that have been deployed retain the original permissions.