What is Anka?
Veertu’s Anka software is a collection of software built on top of the macOS virtualization platform that allows you to run single or multi-use macOS VMs like you would with Docker. It is designed for DevOps and CI/CD teams who want to build and test their native macOS or iOS applications. Because Anka is built on top of the official Apple hypervisor/virtualization, it benefits from greater performance and security.
It provides a simple, intuitive, and easy-to-use solution for virtualizing macOS at scale. You can create Anka macOS VMs using infrastructure as code tools, push or pull VM tags with your specific dependencies and state using the Anka Registry, and run Anka macOS VMs on any connected nodes.
The Anka Build Cloud also provides a central dashboard for management of Anka Build Nodes, VMs instances, VM Templates/Tags, and logs. It has built-in intelligent queueing and load balancing for many simultaneous CI/CD job macOS VM requests. There are also integrations with popular CI/CD servers and tools like Jenkins, Github Actions, Buildkite, TeamCity, GitLab, and if needed has an API you can write your own integration in.
Anka is a powerful and flexible macOS virtualization platform that can help you improve your DevOps and iOS CI/CD workflows. It is easy to use and configure, and provides a wide range of features and capabilities.
- Easy to install.
- Built on the native Apple hypervisor, utilizing macOS resource scheduling, power management, and flexibility.
- Optimized VM network and disk performance using para-virtual drivers.
- VM management through the Anka Virtualization CLI, UI app, or web based Build Cloud Controller UI.
- Ability to suspended and then instantly start VMs from a specific state.
- Nested Virtualization for running Docker, Android Emulators, and others inside of the VM (intel only).
- Attach physical USB devices (like an iPhone) to VMs for on-device testing.
- Compatibility with T2 enabled Apple hardware.
- Can be installed on any Apple supported macOS versions.
- Anka VMs can install and run any modern and Apple supported macOS version.
DevOps teams implementing Anka can expect flexibility, allowing them to plug into existing infrastructure and automation – whether it’s cloud providers like AWS or on-premises! We have many examples of use cases and also provide packages like our Build Cloud Controller & Registry Helm Chart for Kubernetes users.
You can find several CI/CD plugins or integrations we maintain for our users that abstract the lower level work of pulling and starting VMs for jobs. Whether it’s on-demand/ephemeral, long-running, and single-use macOS VMs for your developers, iOS, or native app building/testing/CI/CD, Anka will be a good fit for you.
Anka also enables a docker-like experience for teams to create and store project specific VM templates (a.k.a “images”) and tags, including commands to interact with the VM like start, stop, clone, suspend, modify the VM configuration (like cpu or ram), and execution of VM level shell commands.
- Easily create Anka VM Templates for different versions of macOS, Xcode, etc.
- Store your VM Templates with a specific Tag in the Anka Build Cloud Registry so you can distribute or pull them to different machines and ensure the same VM state for every single CI/CD job that runs a VM. You can clone all VMs from a single base VM and they will re-use layers, optimizing disk space on both the Registry and Anka Nodes/hosts.
Using Anka
Anka Virtualization CLI
There are many ways in which our customers utilize the Anka Virtualization CLI to automate the VM creation and preparation process:
- Through the
anka create
command on the host machine:❯ anka create -a 13.1 13.1-arm
- By executing your project installation commands and scripts inside of VMs from the host terminal with
anka run
and also directly inside the VM withanka cp
&anka run
. - Any manual steps you need to perform in the GUI can be done through VNC or automated with Anka Click Scripts.
- Create Packer Templates and run them to perform the steps for VM creation and preparation with our packer builders and post-provisioner..
Check out the Getting Started installing and using Anka CLI Guide.
Anka Build Cloud
Accompanying the Anka Virtualization package which runs on macOS hardware, we provide the Build Cloud Controller & Registry. Below are two of the most popular examples of how our customers set up Anka Virtualization with the Build Cloud.
Check out the Getting Started setting up and using the Anka Build Cloud guide.
Controller-less (Registry Only)
This setup requires:
- At least one Anka Node (macOS host running the Anka Virtualization software).
- A linux container running the Anka Build Cloud Registry.
- Your CI/CD’s runner/agent installed and able to execute
anka
CLI commands to prepare and use the Anka VM. For example, install the github actions runner and then use our action.
Controller + Registry
This setup requires:
- At least one Anka Node (macOS host running the Anka Virtualization software).
- A linux container running the Anka Build Cloud Controller & Registry.
- Our plugin installed in your CI/CD tool (like the Anka Jenkins Plugin). See a full list of plugins available on our CI Plugins and Integrations page.