Earlier quoted context omitted.
I’ve personally never needed to ssh into my “cattle” even when I could (EC2 instances in an autoscaling group, Docker containers run with Fargate) and I haven’t missed it when I couldn’t (lambda). For Fargate/Lambda all console output goes to CloudWatch, for EC2 tasks (legacy Windows), we use Serilog with a CloudWatch sink. But more generically, if you have to log into your cattle for troubleshooting, you probably ne…
It's nice to have ptrace once in a while.
Firecracker: Secure and fast microVMs for serverless computing
71–80 of 107 posts
Re: Firecracker: Secure and fast microVMs for serverless computing
#72Can I run a single process in a Firecracker microVM, or do I need to bring a full distro?
Re: Firecracker: Secure and fast microVMs for serverless computing
#73Earlier quoted context omitted.
Snapshot / suspend isn't doable yet, but it sure would be nice. We've booted some apps in Firecracker in <20ms, so if you build the app properly you can absolutely do a new VM per request or TCP connection even.
Yeah, this is what AWS does....
Re: Firecracker: Secure and fast microVMs for serverless computing
#74Re: Firecracker: Secure and fast microVMs for serverless computing
#75I'm curious about restarts and snapshotting: would it be feasible to reset a microVM for each incoming request?
And if I'd read farther down the chain, someone said that Amazon already does this.
Re: Firecracker: Secure and fast microVMs for serverless computing
#76Or is this intended to be separate, a competitor?
Re: Firecracker: Secure and fast microVMs for serverless computing
#77Does anyone know if any integration with Kubernetes is on the cards? Something like an operator with CRDs? Or is this intended to be separate, a competitor?
Re: Firecracker: Secure and fast microVMs for serverless computing
#78Does anyone know if any integration with Kubernetes is on the cards? Something like an operator with CRDs? Or is this intended to be separate, a competitor?
Firecracker can be used in kubernetes through containerd+kata containers integration. (Containerd from docker is a key tech behind both docker and K8s, kata containers from Intel enables containerd to run vms)
I don't think the experience is great yet, but it's on the way.
Re: Firecracker: Secure and fast microVMs for serverless computing
#79Does anyone know if any integration with Kubernetes is on the cards? Something like an operator with CRDs? Or is this intended to be separate, a competitor?
Re: Firecracker: Secure and fast microVMs for serverless computing
#80"Firecracker provides a rate limiter built into every microVM. This enables optimized sharing of network and storage resources, even across thousands of microVMs." Probably the most interesting feature.
You get a VM with user space networking and a one button keyboard. This allows the kernel too aggressively swap out unused resources and ultimately increase the total concurrency supported.