News for hackers. Stuff that matters.
Re:Firecracker: Secure and fast microVMs for serverless comp... by scarface74 on Saturday March 07, 2020 @03:14PM (#22513734)
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 need a better logging infrastructure.

Then again, if you are referring to how to initially install software, wouldn’t you usually just create an image for it to run?

Re:Firecracker: Secure and fast microVMs for serverless comp... by tofflos on Saturday March 07, 2020 @04:45PM (#22514346)
It's for initial installation.

I use it to figure out what the image and orchestration settings should be. Packaging an application for containers and container orchestration takes me many, many, attempts to get right. Personally I'm unable to divine the correct combination of settings by reading documentation alone so I try something, enter the container, and look at the outcome.

Re:Firecracker: Secure and fast microVMs for serverless comp... by xorcist on Saturday March 07, 2020 @05:36PM (#22514720)
It's nice to have ptrace once in a while.
Re:Firecracker: Secure and fast microVMs for serverless comp... by scarface74 on Saturday March 07, 2020 @05:47PM (#22514794)
The only time I can think of where copious logging wasn’t good enough for “remote debugging” is when I was writing C code trying to figure out why I was killing the call stack or overwriting memory.
Re:Firecracker: Secure and fast microVMs for serverless comp... by xorcist on Sunday March 08, 2020 @05:38AM (#22517195)
Having metrics and logging is a requirement to find out that there is a problem, but it doesn't help much to find out what the problem is.
Re:Firecracker: Secure and fast microVMs for serverless comp... by scarface74 on Sunday March 08, 2020 @09:19AM (#22517870)
It depends on the granularity of logging. What can local debugging tell you that copious logging at the “debug” level can’t?