Get started with Anbox Cloud (web dashboard)
This tutorial guides you through the first steps of using Anbox Cloud. You will learn how to create and access a virtual Android device or an application using the web dashboard.
The web dashboard provides an easy-to use interface to Anbox Cloud. However, it currently supports a limited set of functionality, which means that it might not be sufficient for all use cases. If you want to learn how to manage Anbox Cloud from the command line, see the Get started with Anbox Cloud (CLI) tutorial.
If you haven’t installed Anbox Cloud or the Anbox Cloud Appliance yet, you must do so before you can continue with this tutorial. See the following documentation for installation instructions:
- How to install the Anbox Cloud Appliance
- How to install Anbox Cloud (note that you must install the streaming stack for the web dashboard to be available)
1. Create a virtual device
Let’s start exploring what Anbox Cloud can do by launching a virtual device that runs a specific Android version.
With “virtual device” we mean a simulated device that runs a plain Android operating system without any special apps installed. Technically speaking, Anbox Cloud treats such a virtual device as an “empty” application, thus an application that is not running a specific APK.
Complete the following steps to create a virtual device:
https://<your-machine-address>/applicationsin your browser. By default, the Anbox Cloud Appliance uses self-signed certificates, which might cause a security warning in your browser. Use the mechanism provided by your browser to proceed to the web page.
Click Add Application.
Enter a name for the application, for example,
Keep the preselected instance type.
Select the Android image that you want to use, for example,
Do not upload an APK file.
Click Add Application.
You are redirected to the application view. Wait until the application status changes to
2. Launch and test the virtual device
When the application has been initialised and its status changes to
ready, complete the following steps to launch and test the virtual device:
In the list of applications, click the play button (labelled New session) in the Actions column for the application to start a new session.
Accept the default settings and click New Session.
When the stream has loaded, you can interact with your virtual device.
3. Create an application from an APK
To create an application for a specific Android app, follow the steps in 1. Create a virtual device, but upload the APK of the Android app.
Not all Android apps are compatible with Anbox Cloud. See How to port Android apps for more information.
Choose an instance type that is suitable for your application. If your instance is equipped with a GPU and your application requires the use of the GPU for rendering and video encoding, select an instance type with GPU support like
g4.3. For other instance types, the container will use a GPU if available or software encoding otherwise.
You can launch and test the application in the same way as you did for the virtual device.
4. Update an application
You can have several versions of an application. See How to update an application for detailed information.
Complete the following steps to add a new version to your application:
https://<your-machine-address>/applicationsin your browser.
Click the Edit application button in the Actions column next to the application for which you want to add a new version.
Upload a new APK, or do other changes to the configuration.
Click Update application.
5. Delete an application
While following this tutorial, you created several applications. You can see them in the application view at
To delete an application, click the Delete application button in the Actions column and confirm the deletion.
To skip the confirmation window, hold Shift when clicking the Delete application button.
6. Inspect containers
Every time you start a session for an application, Anbox Cloud creates a container. The container keeps running even if you exit the stream, until you either stop the session by clicking Stop session or delete the container.
You can see all containers in the container view at
Complete the following steps to inspect a container:
Click on the ID of one of the running containers to see detailed information for the container.
Switch to the Terminal tab. You will see a terminal for the Linux container that runs the Android container.
You can run commands in the Linux container, or you can enter
anbox-shellto access the nested Android container (enter
exitto go back to the Linux container).
Switch to the Logs tab. You will not see any logs, because log files are available only for containers that are in an error state, not for running containers.
To simulate a failure for the container, switch to the Terminal tab and enter the following command:
amsctl notify-status error --message="My error message"
Go back to the container overview, and when the container status changes to error, click on the container ID and switch to the Logs tab. You can now see the error logs for the container.
You now know how to use the web dashboard to create, launch and test applications in Anbox Cloud.
If you are interested in more advanced use cases, check out the Get started with Anbox Cloud (CLI) tutorial to learn how to use Anbox Cloud from the command line.
Last updated 3 months ago.