Resources and resource presets

Note: With the latest 1.23.0 release, the Anbox Cloud documentation is moved to https://documentation.ubuntu.com/anbox-cloud/en/latest/. Hence, the information in this discourse post may be obsolete. The documentation posts on discourse will be unlisted and archived shortly.
Discourse will still be used for user engagement and release announcements.

Resource presets denote the resources available to an instance. Anbox Cloud uses some default resource presets if there are no custom resource requirements specified.

For a container instance, the default resource preset is:

name: my-application
resources:
  cpus: 2
  memory: 3GB
  disk-size: 3GB

For a virtual machine instance, the default resource preset is:

name: my-application
resources:
  cpus: 2
  memory: 3GB
  disk-size: 15GB

If your application requires different resources than the default, specify the required resources in the application manifest to override some or all of default resource preset options.

In addition to the cpus, memory and the disk-size requirements, if your application requires a custom number of GPU slots, change the gpu-slots value for the resources attribute in the application manifest.

Related information