The job of the AMS node controller is to monitor a local LXD instance for started and stopped containers to establish a port forwarding if necessary from container onto a given port on the host.
Anbox Cloud - AMS Node Controller
Anbox Cloud offers a software stack that runs Android applications in any cloud enabling high-performance streaming of graphics to desktop and mobile client devices.
At its heart, it uses lightweight container technology instead of full virtual machines to achieve higher density and better performance per host while ensuring security and isolation of each container. Depending on the target platform, payload, and desired application performance (e.g. frame rate), more than 100 containers can be run on a single machine.
For containerization of Android, Anbox Cloud uses the well established and secure container hypervisor LXD. LXD is secure by design, scales to a large number of containers and provides advanced resource management for hosted containers.
Also have a look at the official Anbox Cloud website for more information.
NOTE: Anbox Cloud is a paid offering. You will need a Ubuntu Advantage subscription for this charm to work. You can learn more at https://anbox-cloud.io
AMS Node Controller
The AMS Node Controller is a charm deployed on every LXD worker AMS is connected to. It notifies AMS about container status, sets up network rules, and more.
$ juju deploy cs:~anbox-charmers/ams-node-controller $ juju config ams-node-controller ua_token=<your UA token> $ juju relate lxd ams-node-controller
For more information about the AMS Load Balancer, visit the official documentation on https://anbox-cloud.io/docs/installation/installation-quickstart
- (string) Space separated list of extra deb packages to install.
- (string) List of signing keys for install_sources package sources, per charmhelpers standard format (a yaml list of strings encoded as a string). The keys should be the full ASCII armoured GPG public keys. While GPG key ids are also supported and looked up on a keyserver, operators should be aware that this mechanism is insecure. null can be used if a standard package signing key is used that will already be installed on the machine, and for PPA sources where the package signing key is securely retrieved from Launchpad.
- (string) List of extra apt sources, per charm-helpers standard format (a yaml list of strings encoded as a string). Each source may be either a line that can be added directly to sources.list(5), or in the form ppa:<user>/<ppa-name> for adding Personal Package Archives, or a distribution component to enable.
- (string) DEPRECATED - KSM is disabled starting in 1.7 and will be removed in future releases. Enables Kernel Samepage Merging (KSM) kernel feature if set to 'enabled'. Any other value disables KSM. See https://www.kernel.org/doc/html/latest/admin-guide/mm/ksm.html) for more details on KSM.
- (string) Used by the nrpe subordinate charms. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.
- (string) A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup
- (string) The status of service-affecting packages will be set to this value in the dpkg database. Valid values are "install" and "hold".
- (string) Port or port range to be open for port forwarding. You can define a single port or a range, like '10000-11000'. If the field is empty no port is open
- (string) Network interface providing the public entry point
- (string) APT source to use instead of the automatic one generated from UA. Overrides UA source if both are set.
- (string) Key ID to import to the APT keyring in order to access the specified source archive. Required if ua_source is set.
- (string) Ubuntu Advantage token you have received with your license of Anbox Cloud
- (boolean) Use staging contracts API service