Files in Anyscale workspaces
Anyscale workspaces persist files and folders within your project directory across restarts. When you restart an Anyscale workspace, Anyscale injects the files using the working_dir
option and makes them visible to your Ray application using the path /home/ray/default
. This capability maintains project state between workspace sessions.
Anyscale workspaces use containers to launch clusters, which isolates your files at the workspace level. See Container-driven development on Anyscale.
When you launch a job or service from an Anyscale workspace, Anyscale injects your files into the Ray cluster. See Local files, code, and directories in workspaces.
You shouldn't store large amounts of data in workspace files. For data exceeding the 10 GB limit, Anyscale recommends using object storage in your cloud provider account, such as S3 or GCS. See Storage.