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. |
|
APT mirror to use within the containers. This configuration item is deprecated since 1.20, use |
|
The name of the platform that Anbox Cloud uses by default to launch containers. This configuration item is deprecated since 1.20, use |
|
Comma-separated list of features to enable (see list below). This configuration item is deprecated since 1.20, use |
|
Network proxy to use inside the containers. This configuration item is deprecated since 1.20, use |
|
If set to |
|
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. |
|
The AMS trust password. |
|
The mode AMS uses to limit CPU access for an instance. See Performance for details. 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 (see list below). |
|
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 the Anbox Application Registry. If empty, no filter is applied. |
|
Fingerprint of the certificate that the Anbox Application Registry uses to TLS-secure its HTTPS endpoint. This is used by AMS for mutual TLS authentication with the registry. |
|
Mode in which the Anbox Application Registry client in AMS operates: |
|
Frequency of Anbox Application Registry updates (for example: 1h, 30m). |
|
URL of the Anbox Application Registry to use. |
|
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. |
|
Number of GPU slots available on the node. See GPU slots. |
|
Memory dedicated to instances. |
|
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. |
|
Tags to identify the node. |
|
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.