Blog / 23 November 2026
Deep dive · 23 November 2026 · 3 min read
Run kosa8 on your own AWS servers
kosa8 has not yet been tested by the kosa8 team on AWS. This post is a guide to how it is expected to work, based on what kosa8 needs from any Linux host, so you can try it on your own account and tell us how it goes.
01What kosa8 needs from a server
Each kosa8 sandbox is a microVM, so the host must expose KVM. On Linux, kosa8 runs sandboxes on KVM with Cloud Hypervisor, on x86-64. kosa8's guide asks for bare metal or a VM with nested virtualization.
On AWS that means a bare-metal instance type (names ending in .metal), or an instance type AWS documents as supporting nested virtualization. Check AWS's own instance type documentation for the current list before you choose.
02Two ways to run it
Pick the one that fits how you want to manage the host:
- Self-hosted. Install kosa8 on the instance with
curl -fsSL https://kosa8.com/install.sh | sh. The installer says what else to add (cloud-hypervisor, virtiofsd and access to /dev/kvm), andkosa8 doctorchecks it all. - Joined to kosa8 Cloud (bring your own cloud, next release). The
byoc.shscript registers the instance as one of your organization's own hosts, so sandboxes created through the kosa8 API run on it. Itscheckmode is a preflight that changes nothing and says whether the machine has KVM.
03What stays on your instance
With bring your own cloud, the sandboxes, their disks and memory, the code and data in them and their traffic to your network stay on your host. kosa8's control plane sees metadata, metering, host health and the audit log of what ran (never its output). Commands and files sent through api.kosa8.com pass through in transit unless you use the direct URLs the API returns.
04Status
Not yet tested by kosa8 on AWS. Bring your own cloud is in the next release. If you run kosa8 on EC2, we would like to hear what worked.
Amazon Web Services is a trademark of its owner; kosa8 is not affiliated with or endorsed by Amazon Web Services.
Takeaways
- kosa8 needs an x86-64 Linux host with KVM.
- On AWS that points to a .metal instance, or one AWS documents for nested virtualization.
- Self-host with the installer, or join the host to kosa8 Cloud with bring your own cloud (next release).
- Not yet tested by kosa8 on AWS.
Where kosa8 fits · Zero Trust cybersecurity infrastructure for AI agents
kosa8 is Zero Trust cybersecurity infrastructure for AI agents. It runs on kosa8 Cloud, on servers you own, or air-gapped, with the same microVM per agent, egress allow-list, secrets broker and audit log.
Read next: AI security for the enterprise · AI for cybersecurity · Cybersecurity for AI agents, topic by topic
Check yourself · +100 XP
What does a host need before it can run kosa8 sandboxes?
Each sandbox is a microVM, so the Linux host must expose KVM.
Questions people ask
Has kosa8 been tested on AWS?
Not yet by the kosa8 team. This guide describes how it is expected to work.
Can I use a regular EC2 instance?
Only if it exposes KVM. Bare-metal instance types do; for others, check AWS's documentation on nested virtualization.
Sources
- Amazon EC2 instance types — AWS
- Bring your own cloud — kosa8 docs
Written by the kosa8 team. Every kosa8 command was checked against the CLI, and every claim about another product links to that product's own documentation. Spotted a mistake? Tell us.
Try it on your own machine
Give your next agent its own sealed machine.
One line installs kosa8 on your own machine. Start free with no card; plans from $29 a month.