That little AWS Browser built in VisualWorks, I just couldn't let it go.  I do need something more convenient to tell me things like where the target

Cincom VisualWorks Smalltalk: doing something useful part 3

submited by
Style Pass
2021-08-25 05:00:07

That little AWS Browser built in VisualWorks, I just couldn't let it go. I do need something more convenient to tell me things like where the target groups are in my load balancer, what the entries are in the dynamodb tables etc. without having to wade through the AWS website. It's painful (especially digging through the EC2 stuff to find the load balancer target groups). Maybe I dismissed this too early. Trialling the VisualWorks image on my debian box I realised I was constructing the command line arguments wrong, so I fixed that and got this far:

So, it enumerates all the elastic load balancers in that account, enumerates the target groups and then enumerates the target health of the targets within the target group. All by encapsulating the correct commands. Not only does it save me from remembering the commands, it's more convenient than the AWS website. I mean, who in developer land could possibly remember this:

aws elbv2 describe-target-health --target-group-arn "arn:aws:elasticloadbalancing:ap-my-region:555555555555:targetgroup/SmartShepherdDocker-tg/3b3b3b3b3b3b3b"

Leave a Comment