Managing storage usage
There are several strategies you can use to manage storage. Some strategies are based on how you configure your Aspera on Cloud organization. Some are based on how to configure the storage you attach to your organization.
To understand storage in your subscription and billing, see Manage storage in your subscription.
Bring your own storage
You can attach your own storage to your Aspera on Cloud organization.
If your existing storage is in a supported region in IBM Cloud, AWS S3, GCS, or Azure, you can access it through Aspera on Cloud.
Attach your storage using the procedures listed in this document: Attaching Cloud Storage to Your AoC Organization. Then, when you create a new workspace, select a location on your attached storage for the content in the workspace Files and Packages apps. These storage costs are then part of your normal cloud bill. In this scenario, you can also configure lifecycle policies from your cloud provider to remove files automatically. For more details and strategies, see the following section, "Configure Your Cloud Directory Structure".Configure your cloud directory structure
You can configure your directory structure to take maximum advantage of cloud provider lifecycle policies to manage your storage.
'''
.
/
<workspace_id>/
home/
<user_email_address + user_id>
foo/
bar
packages/
<package_id>/
foo/
bar
'''
'''
.
/<workspace_id>/
/<workspace_id>/home/
/<workspace_id>/home/<user_email_address + user_id>/
/<workspace_id>/home/<user_email_address + user_id>/foo/
/<workspace_id>/home/<user_email_address + user_id>/foo/bar
/<workspace_id>/packages/
/<workspace_id>/packages/<package_id>/
/<workspace_id>/packages/<package_id>/foo/
/<workspace_id>/packages/<package_id>/foo/bar
'''
In cloud object storage, directories are objects subject to deletion through lifecycle policies. It's vital to configure such policies so as not to delete folders that Aspera on Cloud requires for a workspace to function properly. For example, if you delete /<workspace_id>/packages/, package sending would be impossible. If you delete a user's home folder, /<workspace_id>/home/, that user would not have a working Files app.
A useful strategy is to centralize your files so that you can configure lifecycle policies with a prefix that will not disrupt the required folder structure.
'''
.
/
/Shared/
foo/
bar
<workspace_id>/
home/
<user_email_address + user_id>/
Shared.asp-link/
'''
Such a structure centralizes the content your users need in the /Shared/ directory, outside the workspace folder.
To centralize your workspace content in the /Shared/ directory, you can share folders with workspace members using the Admin app (rather than the Files app). This allows users to collaborate in folders that are not in the workspace structure. When you share from the Admin app, workspace members access shared content by means of symlinks that display in their Files app home folder. In your cloud storage, these symlinks appear as very small files with the suffix .asp-link.
When you set cloud lifecycle policies, apply deletion only to files with the prefix /Shared/; this configuration prevents deletion of directories that disrupt Aspera on Cloud workspace operations.
Prevent users from uploading content to any other workspace area by configuring the Files app home folder to be read-only; for details and a procedure, see the following section, "Centralize Storage in the Files App".
Configure file deletion policies
You can create policies to permanently delete files and folders when they reach a configured age. If the policy deletes all files in a given folder, the policy deletes the folder as well. Existing empty folders are not deleted. Shared folders and folders with public links are never deleted by a file deletion policy, though the content they contain may be deleted.
- For ATS nodes: If there are additional nodes in the same bucket, the same file deletion policy applies to those nodes as well.
- For tethered nodes: The policy applies only to the specific node that you are creating the policy for. Beware that if there are other nodes that share the same storage and bucket path, this policy is going to affect those as well. This could lead to content being deleted from other nodes that the policy was not intended to.
- Go to Nodes and storage > Nodes. Click the row of the intended node.
- Go to Profile > File deletion policy.
- Click the toggle to On.
- Set the deletion age in days. Valid values are 7 to 3650 days. The deletion job runs daily. A
timer is set to start 24 hours after the last run. It does not have a set start time, as it runs
depending on when it was last completed.Note: The time the job takes to run depends on how large the bucket is.
For example, if you configure the deletion age to be 90 days, the policy will:
- Permanently delete files in that bucket 90 days after their creation. This deletion age applies to existing files that are older than the deletion age, as well as to new files when they reach the configured deletion age.
- Permanently delete folders that are emptied by the deletion job.
- Not delete empty folders that were not affected by the policy.
- Not delete shared folders or folders with public links, even if they are emptied by the deletion job.
- Click Save to activate the file deletion policy.
Centralize storage in the Files app
By default, users can create folders and upload files in the root level of their Files app. Others cannot see that content until the user shares it with them.
This root level is also called the home folder. In the Aspera on Cloud interface, this area displays the label All files. The home folder includes folders created by the local user at the root level.
But in any given workspace, you can prevent members from uploading content to the root level of their Files app. This restriction ensures that:
- You can readily manage storage by applying cloud storage lifecycle policies to centralized storage in folders outside the workspace directory structure.
- The storage your organization pays for contains only the contents you intend.
- The transfer volume charged to your organization supports your corporate, team, or project mission, rather than being used for unrelated storage by individual members.
Whether or not you configure this restriction, you can share folders with members using the Admin app and grant them permission to view, upload to, or download from those folders. In this way, members can collaborate in centralized folders that you can readily monitor and manage, eliminating excess storage.
To restrict all users in a given workspace from uploading to and creating new folders in the root of their Files app, do the following:
- Go to Workspaces > workspace_name > Profile > Node.
- To restrict users of this workspace from creating new folders and from uploading content to the root level of their Files app, select the check box Workspace members cannot upload to workspace root level.
- Click Save.
To exempt specific users from the workspace restriction, do the following:
- Go to Workspaces > workspace_name >Member > memberName > Allow upload.
- Select the check box labeled Allow this user to upload to root level of workspace.
- Click Save.
Delete packages
You can manually delete package content when it is no longer required.
Deleting package content does not delete the package listing or package details -- only the assets in the package. You can still access details, including metadata, by clicking the package row and selecting More detail or Metadata.
- Through Organization > Activity.
- Through Nodes > Workspaces > Packages.
Through Organization > Activity
- Go to the Activity page:
- Go to Organization > Activity.
- Go to Workspaces > workspaceName > Activity.
- The table labeled Recent transfer activity displays recent package transfer event. Click View all in the lower left of the table to display an expanded, filterable list.
- To delete a package, do the following:
- Search or filter for the intended package, then click the package row to view details.
- Click the Actions (three dots) icon in the upper right of the package details panel, select Delete, then confirm Delete.
Through Nodes > Workspaces > Packages
- Go to Nodes > nodeName.
- In the Node access window, enter the node secret and click Log in.
- Click Workspaces, then click the row of the intended workspace.
- Click Packages.
- Browse, filter, or search for the intended package.
- To see package contents, click the package row to open the details panel.
- To delete package contents, click the Actions (three dots) menu at the top right of the details panel; select Delete, then confirm.
Manage folders on a node
You can browse the node to create new folders and to inspect, rename, and delete content as required.
To monitor and manage general storage usage for a given node, do the following:
- Go to Nodes > nodeName > Browse.
- In the Node access window, enter the node secret and click Log in.
- Click Storage.
- Click a folder row to drill into it.
- To delete a folder on the node, browse to the intended folder, right-click the folder row, and select Delete.
- To rename a folder on the node, browse to the intended folder, right-click the folder row, and select Rename.
- To create a new folder on the node, click Create folder, name the new folder, and click OK.
Manage user storage in the workspace
In a workspace with the Files app enabled, each standard user has their own root folder, containing the files and folders they upload and the folders shared with them by administrators or by other users.
In a workspace with the Packages app enabled, each standard user has their packages sent and received in this workspace.
As an administrator, you can do the following:
- Files app
- Delete the entire Files root folder of a deleted user.
- Browse, rename, or delete individual items within a user's Files app.
- Restrict users from uploading to the root level of their Files app.
- Packages app
- Delete all packages for a user in a workspace.
- Delete specific packages.
- Delete contents from within a package.
- Configure package expiration policies. See Content Expiration Policies for details and Configuring the Packages Application for procedures.
To manage user workspace storage, do the following: