AMS configuration¶
The Anbox Management Service (AMS) provides various configuration items to customise its behaviour. The following table lists the available configuration items and their meaning.
Name |
Description |
---|---|
|
Fingerprint of certificate in the AMS trust store which is trusted when communicating with the stream agent |
|
Token to be used for API authentication with stream agent |
|
URL for stream agent API endpoint. |
|
Comma-separated list of addons that every application managed by AMS will use. See How to enable an addon globally. |
|
If set to |
|
If set to |
|
Default Android ABI that applications should use. See Android ABIs for a list of available ABIs. |
|
Maximum number of published versions per application. If the number of versions of an application exceeds this configuration, AMS will automatically clean up older versions. |
|
(Deprecated) APT mirror to use within the containers. This configuration item is deprecated since 1.20, use |
|
(Deprecated) The name of the platform that Anbox Cloud uses by default to launch containers. This configuration item is deprecated since 1.20, use |
|
“(Deprecated) Comma-separated list of features to enable. This configuration item is deprecated since 1.20, use |
|
(Deprecated) If set to |
|
Address used to expose debug information on |
|
HTTP proxy to use for HTTP requests that AMS performs. |
|
HTTPS proxy to use for HTTPS requests that AMS performs. |
|
Comma-separated list that defines the hosts for which a configured proxy is not used. |
|
Trust password used to add remote clients. AMS does not expose the actual password but only the fact that it is set or not. |
|
The mode AMS uses to limit CPU access for an instance. Possible values are: |
|
Method of allocating GPUs: |
|
Type of GPU: |
|
If set to |
|
Authentication details for AMS to access the image server. When reading this configuration, a Boolean value that indicates whether the item is set is returned, to avoid exposing credentials. |
|
Frequency of image updates (for example: 1h, 30m). |
|
URL of the image server to use. |
|
Whether to put the version of the latest pulled image and the AMS version in a lockstep. This ensures that a deployment is not automatically updated to newer image versions if AMS is still at an older version. This only applies for new major and minor but not patch version updates. |
|
APT mirror to use within the instances. |
|
The name of the platform that Anbox Cloud uses by default to launch instances. |
|
Comma-separated list of features to enable. |
|
Network proxy to use inside the instances. This value must have the format |
|
If set to |
|
URL of the load balancer behind which AMS sits. The URL is handed to instances started by AMS to allow them to contact AMS through the load balancer and not via the address of an individual AMS instance. |
|
Maximum size of the queue containing requests to start and stop instances per LXD node. Changing the value requires a restart of AMS. |
|
Number of workers processing instance start and stop requests. Changing the value requires a restart of AMS. |
|
Comma-separated list of tags to filter for when applications are fetched from aar. If empty, no filter is applied. See Anbox Application Registry. |
|
Fingerprint of the certificate that the AAR uses to TLS-secure its HTTPS endpoint. This is used by AMS for mutual TLS authentication with the registry. See Anbox Application Registry. |
|
Mode in which the AAR client in AMS operates: |
|
Frequency of AAR updates (for example: 1h, 30m). See Anbox Application Registry. |
|
URL of the AAR to use. See Anbox Application Registry. |
|
Strategy that the internal instance scheduler in AMS uses to distribute instances across available LXD nodes: |
Node-specific configuration¶
In a cluster setup, there are configuration items that can be customised for each node. The following table lists the available configuration items and their meaning.
Name |
Description |
---|---|
|
CPU allocation rate used for over-committing resources See Over-committing resources. |
|
Number of CPUs dedicated to instances. |
|
Number of GPU encoder slots available on the node. |
|
Update the number of GPU slots to configure on the node |
|
Update the number of GPU encoder slots |
|
Update the number of the GPU slots available on the Node |
|
Update the memory (in GB) for the node |
|
Memory allocation rate used for over-committing resources. See Over-committing resources. |
|
The public, reachable address of the node. |
|
The network subnet of the machine where the node runs. |
|
DEPRECATED Flag in favour of |
|
When set to |
See How to configure cluster nodes for instructions on how to set these configuration items.
Objects managed by AMS¶
AMS manages various objects such as applications, images, instances, nodes and addons.
The object names must adhere to the following criteria:
Minimum character limit: 3
Maximum character limit: 255
Can contain:
Alphabets (a-z, A-Z)
Numbers (0-9)
Allowed special characters:
-
(hyphen),_
(underscore),:
(colon),.
(period).
When you create an instance, the same criteria apply to the following options as well:
boot_activity
platform
boot_package
The object ids are generated by AMS and have a length of 20 characters.