
NanoVMs Let You Run Your Apps Faster and Safer with Unikernels
Running in Production
The Web Side Offering Is More Like a Sassapon
The nano ct platform is a monthly subscription. You can down load that application as a uniceral, and then you can deploy it to any of your inferstructure of choice. We don't look at, you know, we don't touch any of your data or tin. Those deployees take all of two minutes to do. Other clob providers are not so fast, u but i would imagine that tends to get fixed in the future.
In this episode of Running in Production, Ian Eyberg goes over creating a Unikernel with C as well as host a few sites supporting his tool with Go. Itâs hosted on Google Cloud and their own data center. Nanos has been available since 2020.
Ian talks about what a Unikernel is, their open source tools and how they manage their own services. This episode has a healthy mix between background knowledge on Unikernels and how they (as a company) set up their infrastructure.
Itâs worth pointing out you can run your existing applications in a Unikernel without having to change how itâs written and they support running them on most major hosting providers (AWS, GCP, Azure, DigitalOcean, your own hardware, etc.).
Topics Include
- 1:44 â What is a Unikernel? How is it different than a traditional VM or container?
- 7:58 â Thereâs a free and open source tool and an optional SAAS offering
- 10:07 â How itâs possible to build a new deployable golden image in 2 minutes
- 12:12 â Motivation to use Go for building the surrounding sites and services
- 16:51 â Certain organizations are pushing decent traffic through their Unikernel driven apps
- 19:02 â How you can run a multi-service app with Nanos (web + worker + db + cache, etc.)
- 22:59 â ops.city and nanos.org are a single Go binary / 1 Unikernel driven app
- 25:37 â The nanovms.com site is a bit more involved and has Stripe integration
- 28:08 â I never heard of the term Unikernel until today
- 30:20 â nginx isnât sitting in front of the Go app and how Unikernels can be so fast
- 40:29 â With a Unikernel approach you can easily move between hosting providers
- 44:23 â SSL certs are handled directly by the Go app for their sites
- 49:56 â nanos.org and ops.city use GCP and nanovms.com is on their own hardware
- 54:26 â Why they went with their own data center for hosting and their server specs / costs
- 1:02:02 â Terraform, Ansible and similar tools arenât being used to set up anything
- 1:04:21 â What the deployment process looks like for their services
- 1:10:40 â You can run all of this on a Raspberry Pi 4
- 1:13:15 â What does the development process look like with a Unikernel driven app?
- 1:16:21 â Dealing with secrets in production
- 1:17:55 â Databases are backed up regularly and how logs are handled
- 1:23:52 â Getting notified of errors and up-time reports from updown.io
- 1:25:52 â Mailgun is used for sending out transactional emails
- 1:26:45 â Best tips? Keep it simple (seriously)
- 1:30:05 â Thoughts on the Plan9 operating system
- 1:34:06 â You donât need to change how you write your apps to run them in a Unikernel
- 1:40:07 â The code for Nanos is open source on GitHub
Links
đ References
- https://ops.city/
- https://nanos.org/
- https://firecracker-microvm.github.io/
- https://deepdiscountservers.com/
- https://he.net/
- https://queue.acm.org/detail.cfm?id=2349257
âď¸ Tech Stack
đ Libraries Used
Support the Show
This episode does not have a sponsor and this podcast is a labor of love. If you want to support the show, the best way to do it is to purchase one of my courses or suggest one to a friend.
- Dive into Docker is a video course that takes you from not knowing what Docker is to being able to confidently use Docker and Docker Compose for your own apps. Long gone are the days of "but it works on my machine!". A bunch of follow along labs are included.
- Build a SAAS App with Flask is a video course where we build a real world SAAS app that accepts payments, has a custom admin, includes high test coverage and goes over how to implement and apply 50+ common web app features. There's over 20+ hours of video.