Re:Show HN: Tiny CLI to save AWS costs in dev environments w...
by aramalipoor on Saturday August 22, 2020 @01:52PM
(#24245828)
Thanks. Agree with you, having it in a Lambda with a scheduled trigger or even manual trigger will be really useful.
Re:Show HN: Tiny CLI to save AWS costs in dev environments w...
by banana_giraffe on Saturday August 22, 2020 @06:14PM
(#24247703)
Or an API gateway. I have something similar (though very bespoke for me) that has a simple API Gateway web page as it's front-end. It also opens up a firewall entry for my IP so I can connect to the machine.
Depending on my mood I either use the web page or some simple curl aliases to start and stop an instance.
Re:Show HN: Tiny CLI to save AWS costs in dev environments w...
by redacted3212 on Saturday August 22, 2020 @02:18PM
(#24246049)
CloudCustodian has offered this for quite some time. We use it at our company in all our accounts.
Edit: I wonder if you could put this inside of a lambda with just a role.