<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-we-designed-android-emulator-infrastructure-to-run-any-combination-reliably-52semobrb" -->

---
title: How We Designed Android Emulator Infrastructure to Run...
description: QA Wolf describes how it built infrastructure to run Android E2E tests across any combination of device and OS version without pre-provisioning a dedicated...
canonical: https://daily.dev/posts/how-we-designed-android-emulator-infrastructure-to-run-any-combination-reliably-52semobrb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How We Designed Android Emulator Infrastructure to Run Any Combination, Reliably | daily.dev
og:description: QA Wolf describes how it built infrastructure to run Android E2E tests across any combination of device and OS version without pre-provisioning a dedicated...
og:url: https://daily.dev/posts/how-we-designed-android-emulator-infrastructure-to-run-any-combination-reliably-52semobrb
og:image: https://api.daily.dev/og/posts/52seMOBRB.png
og:image:alt: How We Designed Android Emulator Infrastructure to Run Any Combination, Reliably
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How We Designed Android Emulator Infrastructure to Run Any Combination, Reliably

**[QA Wolf](https://daily.dev/sources/qawolf)** · 8 min read · 0 upvotes · 0 comments

## Summary

QA Wolf describes how it built infrastructure to run Android E2E tests across any combination of device and OS version without pre-provisioning a dedicated environment for each matrix entry. Instead of building an Android Virtual Device per combination, the system treats OS version and device profile as independent inputs resolved at runtime, mirroring how Android Studio's emulator separates OS images from device profiles. Each test session runs in its own isolated container with dedicated CPU, GPU, and memory. The company moved from Google Cloud (GCP) to on-premises bare-metal hardware in a colocation facility to eliminate cloud virtualization overhead, cutting startup latency from image pulls (previously needed at ~120,000 runs/day), avoiding spot-instance terminations, and using local NVMe storage instead of network-attached disks. A hypervisor partitions physical machines into smaller virtual nodes to manage GPU overhead and allows overprovisioning (e.g., scheduling 768 cores on a 512-core machine). The system runs on Kubernetes with custom controllers and scheduling for concurrent emulator sessions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.qawolf.com/blog/how-we-designed-android-emulator-infrastructure-to-run-any-combination-reliably>

## Questions this post answers

### Why is running Android end-to-end tests at scale harder than web testing?

Android E2E tests run full OS instances rather than lightweight browser sessions, so each session needs dedicated CPU, GPU, and memory plus full isolation from every other concurrent session. Combined with Android's fragmentation across six or more major OS versions and thousands of hardware configurations, this makes reliable execution at volume a much harder infrastructure problem than web testing.

_Explore how teams scale test infrastructure decisions like this one on daily.dev._

### Why did moving Android emulator infrastructure from Google Cloud to on-premises bare metal improve test performance?

On-prem bare metal eliminates GCP's proprietary virtualization layer, giving direct hardware access and removing image-pull latency that previously slowed startup at roughly 120,000 runs per day. Local NVMe storage replaces network-attached disks for lower I/O latency, nodes never terminate mid-run like GCP spot instances could, and a hypervisor partitions machines to manage GPU overhead while allowing overprovisioning of CPU cores.

_Developers weighing cloud versus on-prem infrastructure tradeoffs can follow this kind of analysis on daily.dev._

### How can I support every Android device and OS version combination in test automation without pre-provisioning a separate environment for each one?

Treat OS version and device type as independent inputs resolved at runtime rather than building a dedicated Android Virtual Device for every combination in advance. This mirrors how Android Studio's emulator separates OS images from device profiles, so a test simply specifies a device and OS version and the system resolves them into an isolated, dedicated-resource container on demand.

_Engineers designing scalable test matrices can track infrastructure patterns like this on daily.dev._

## Similar posts on daily.dev

- [E2exe: How we solved Windows desktop automation for enterprise scale](https://daily.dev/posts/e2exe-how-we-solved-windows-desktop-automation-for-enterprise-scale-4wxrj6zi4) · QA Wolf · 0 upvotes · 0 comments
- [Test Multi-Device Interactions with the Android Emulator](https://daily.dev/posts/test-multi-device-interactions-with-the-android-emulator-ermv4s8dw) · Android Developers Blog · 6 upvotes · 0 comments
- [Android virtualization](https://daily.dev/posts/android-virtualization-prpwdg7qo) · Quartex Pascal · 18 upvotes · 1 comments
- [Building full virtual vehicles on Google Cloud: From AAOS to the smallest MCU](https://daily.dev/posts/building-full-virtual-vehicles-on-google-cloud-from-aaos-to-the-smallest-mcu-2ffwzua2p) · Google Cloud · 0 upvotes · 0 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#kubernetes](https://daily.dev/tags/kubernetes), [#infrastructure](https://daily.dev/tags/infrastructure), [#android](https://daily.dev/tags/android), [#gpu](https://daily.dev/tags/gpu)

[View this post on daily.dev](https://daily.dev/posts/how-we-designed-android-emulator-infrastructure-to-run-any-combination-reliably-52semobrb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How We Designed Android Emulator Infrastructure to Run Any Combination, Reliably","url":"https://daily.dev/posts/how-we-designed-android-emulator-infrastructure-to-run-any-combination-reliably-52semobrb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-we-designed-android-emulator-infrastructure-to-run-any-combination-reliably-52semobrb"},"datePublished":"2026-09-06T08:56:30.104Z","dateModified":"2026-09-06T12:17:04.560Z","description":"QA Wolf describes how it built infrastructure to run Android E2E tests across any combination of device and OS version without pre-provisioning a dedicated...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/29c3141a2b4fdae784ef6e822f9bb9ff?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/29c3141a2b4fdae784ef6e822f9bb9ff?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"QA Wolf","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"QA Wolf","logo":"https://media.daily.dev/image/upload/s--B9OvVIWd--/f_auto,q_auto/v1788684983/logos/qawolf?_a=BAMAMicg0","url":"https://daily.dev/sources/qawolf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-we-designed-android-emulator-infrastructure-to-run-any-combination-reliably-52semobrb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"testing,kubernetes,infrastructure,android,gpu","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"QA Wolf","item":"https://daily.dev/sources/qawolf"},{"@type":"ListItem","position":3,"name":"How We Designed Android Emulator Infrastructure to Run Any Combination, Reliably"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-we-designed-android-emulator-infrastructure-to-run-any-combination-reliably-52semobrb#faq","mainEntity":[{"@type":"Question","name":"Why is running Android end-to-end tests at scale harder than web testing?","acceptedAnswer":{"@type":"Answer","text":"Android E2E tests run full OS instances rather than lightweight browser sessions, so each session needs dedicated CPU, GPU, and memory plus full isolation from every other concurrent session. Combined with Android's fragmentation across six or more major OS versions and thousands of hardware configurations, this makes reliable execution at volume a much harder infrastructure problem than web testing. Explore how teams scale test infrastructure decisions like this one on daily.dev."}},{"@type":"Question","name":"Why did moving Android emulator infrastructure from Google Cloud to on-premises bare metal improve test performance?","acceptedAnswer":{"@type":"Answer","text":"On-prem bare metal eliminates GCP's proprietary virtualization layer, giving direct hardware access and removing image-pull latency that previously slowed startup at roughly 120,000 runs per day. Local NVMe storage replaces network-attached disks for lower I/O latency, nodes never terminate mid-run like GCP spot instances could, and a hypervisor partitions machines to manage GPU overhead while allowing overprovisioning of CPU cores. Developers weighing cloud versus on-prem infrastructure tradeoffs can follow this kind of analysis on daily.dev."}},{"@type":"Question","name":"How can I support every Android device and OS version combination in test automation without pre-provisioning a separate environment for each one?","acceptedAnswer":{"@type":"Answer","text":"Treat OS version and device type as independent inputs resolved at runtime rather than building a dedicated Android Virtual Device for every combination in advance. This mirrors how Android Studio's emulator separates OS images from device profiles, so a test simply specifies a device and OS version and the system resolves them into an isolated, dedicated-resource container on demand. Engineers designing scalable test matrices can track infrastructure patterns like this on daily.dev."}}]}
```

