Earlier quoted context omitted.
> If I’m troubleshooting by logging into EC2 instances, there is something wrong with my logging infrastructure. I suppose it's possible to build enough logging to account for an interactive SSH session for debugging problems...but that would be massive. I ran out of disk space. Why?
If you’re logging to a local disk on ephemeral VMs, that doesn’t make the situation any better. That’s why you need a central logging facility. If you’re using AWS, you could store your structured JSON logs in S3 and query them with Athena. ( https://medium.com/quiq-blog/store-json-logs-on-s3-for-searc... ) Of course there are other ways both using AWS and third party services. Centralized logging is a solved problem…
> how pray tell will I troubleshoot my programs running on Lambda or Fargate?
That is indeed a big problem running on Lambda and Fargate.
In my experience, Fargate isn't very commonly used and Lambda is used for only relatively simple things.