Tech News
← Back to articles

Show HN: A 10KiB kernel for cloud apps

read original related products more articles

Important This has only been tested with Digital Ocean and Proxmox. Support for other hypervisor/cloud providers (AWS, Azure, and Google Cloud) is coming soon.

BareMetal Cloud is a minimal version of the BareMetal exokernel specifically geared for running in public/private cloud instances. This minimal version of BareMetal contains only the relevant drivers, is 10,240 bytes in size, and only uses 4 MiB of memory. All other memory is allocated to the payload.

An instance of BareMetal is running in Digital Ocean at http://baremetal.returninfinity.com and will respond to HTTP and ICMP.

Prerequisites

The script in this repo depends on a Debian-based Linux system. macOS is also supported to build and test if you are using Homebrew.

NASM - Assembler to build the loader and kernel.

QEMU - Computer emulator if you plan on running a virtual machine for quick testing.

Git - Version control software for pulling the source code from GitHub.

In Linux this can be completed with the following command:

sudo apt install nasm qemu-system-x86 git

... continue reading