---
title: Running Android in the Cloud with Amazon EC2 A1 instances
description: Running Android inside LXD containers allows running Android-based applications
  at high density and at an unparalleled  scale.
url: https://canonical.com/blog/running-android-in-the-cloud-with-amazon-ec2-a1-instances
---

1. [Blog](https://canonical.com/blog)
2. Article

---

[Simon Fels](https://canonical.com/blog/author/morphis "More about Simon Fels")

29 November 2018

# Running Android in the Cloud with Amazon EC2 A1 instances

[Amazon Web Services](https://canonical.com/blog/tag/amazon-web-services)
[cloud](https://canonical.com/blog/tag/cloud)
[containers](https://canonical.com/blog/tag/containers)
[Juju](https://canonical.com/blog/tag/juju)
[juju resource](https://canonical.com/blog/tag/juju-resource)
[LXD](https://canonical.com/blog/tag/lxd)
[Ubuntu](https://canonical.com/blog/tag/ubuntu)

---

Share the article

Amazon Web Services ([AWS](https://aws.amazon.com/)) announced the availability of their new [Amazon EC2 A1 instances](https://aws.amazon.com/en/about-aws/whats-new/2018/11/introducing-amazon-ec2-a1-instances/) powered by custom AWS Graviton processors based on the Arm architecture, which brings Arm to the public cloud as a first class citizen. Arm based processors provide a number of benefits in terms of density and power-consumption which ultimately result in lower ‘per processor cycle’ costs for cloud compute. They also unlock the possibility for optimized execution of workloads which target this architecture directly.

When Amazon approached us to discuss ways in which we could help demonstrate the capabilities of their new instance type, we saw a unique opportunity to bring together our strengths in running workloads both in containerized cloud instances  and on devices.

By combining our tools for application modeling and high-density Linux container management we were able to quickly spin up a large number of machines on Amazon EC2 A1 instances running native Android applications. This could have a number of interesting applications in mobile application testing and distribution.

Specifically, at  AWS [re:Invent](https://reinvent.awsevents.com/), we demonstrated a fully automated solution deployed by [Juju](https://jujucharms.com) to run Android within [LXD](https://linuxcontainers.org/) containers in the cloud and stream out the display of a  gaming app from an Amazon EC2 A1 instance to a mobile phone over the internet. We ran 10 containers each providing an individual Android system on the same EC2 instance. As Ubuntu natively supports a wide range of server architectures including x86-64, Arm, POWER and S390X we used the very same technology our users are familiar with.

Running Android inside [LXD](https://linuxcontainers.org/) containers allows running Android-based applications at high density and at an unparalleled  scale. A range of Canonical products help deliver an easy, automated setup and clean operations experience. [Juju](https://jujucharms.com) provides all the necessary functionality to get the software stack deployed on AWS with a single command. The machine container hypervisor [LXD](https://linuxcontainers.org/) brings all necessary features to isolate the individual Android systems from each other, manage and distribute containers in a cluster of multiple machines. [Snaps](https://snapcraft.io/) provide the underlying packaging format for all the software being deployed via [Juju](https://jujucharms.com/). They provide a secure and easy way to deliver software and keep it up to date.

Streaming a display output is just one of many exciting use cases this technology can support. Ranging from secure application access to fully fledged CI/CD testing pipelines for new application builds running on variety of Android releases, we believe this unique technology will provide value to wide range of customers.

If you’re interested in discussing this amazing new technology do not hesitate to [contact us](https://www.ubuntu.com/contact-us/form?product=generic-contact-us).

## Sign up for our newsletter

Get the latest Canonical news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

In submitting this form, I confirm that I have read and agree to
[Canonical's Privacy Notice](https://canonical.com/legal/data-privacy/contact)
and [Privacy Policy](https://canonical.com/legal/data-privacy).

Sign up

## Share on

---

## Related posts

[### Bringing private, local inference to your desk with Lenovo, CIX Tech, and Canonical](https://canonical.com/blog/bringing-private-local-inference-to-your-desk-with-lenovo-cix-tech-and-canonical)

As people increasingly use AI to summarize personal documents, draft emails, and generate code, one of the key problems that has emerged is data privacy. Relying on cloud-based...

[Canonical](https://canonical.com/blog/author/canonical)

27 November 2026

[### Canonical and Huawei Kunpeng announce collaboration to deliver optimized Ubuntu and Ubuntu Pro on Kunpeng hardware](https://canonical.com/blog/canonical-huawei-kunpeng-announce-collaboration-optimized-ubuntu)

The collaboration combines Huawei Kunpeng’s advanced computing architecture with Canonical’s enterprise-grade open source software to accelerate cloud modernization, AI...

[Canonical](https://canonical.com/blog/author/canonical)

18 November 2026

[### Ubuntu Summit 26.10: Less than a week away!](https://canonical.com/blog/ubuntu-summit-26-10-less-than-a-week-away)

Ubuntu Summit 26.10: Less than a week away! Here in London, the long summer has stepped aside for cooler nights and damp, misty mornings. The trees are turning amber and the...

[Graham Morrison](https://canonical.com/blog/author/morrisong)

6 November 2026

[### Ubuntu Pro is now available on AWS Deep Learning Amazon Machine Images (DLAMI)](https://canonical.com/blog/ubuntu-pro-available-on-dlami)

In September 2026, Amazon Web Services (AWS) published its first DLAMIs built on Ubuntu Pro in the Base GPU family. By choosing Ubuntu Pro, enterprises launching DLAMIs gain a...

[Carlos Bravo](https://canonical.com/blog/author/carlos-bravo)

5 November 2026
