3 ms·
I want something like a --follow option which acts like tail's follow option. aws ec2 get-console-output --instance-id xx --follow When debugging why an EC2 i
by paranoidrobot 5y ago
I want something like a --follow option which acts like tail's follow option.
aws ec2 get-console-output --instance-id xx --follow
When debugging why an EC2 instance is having weirdness on boot, it's a pain to sit there refreshing logs constantly to see if it's got to that point yet.
- mdaniel 5y agoStrangely, at least from an outside observer's point of view, one would think the user's interests and AWS's interests would overlap for that one -- it doesn't square with my mental model that answering repeated polling requests to an endpoint which surely knows the last emitted text are cheaper than leaving the connection open and using any number of fancy http push mechanisms to send down updated content Or, if we really wanted to get crazy: use the new SSM protocol and push down the console log that way, since they have obviously already invested a ton of engineering into the protocol and its scaling concerns, extra bonus++ that it then would work from the EC2 Console, too