Cost Terminator for AWS EC2

Selçuk KUBUR
2 min readDec 18, 2019

--

if you are part of an organisation and want to make some improvements for your cloud workloads like cost optimization there is many option to do that by closing unneeded resources hosted on Amazon Web Services , So you came right place. Cheers!!

it’s time to terminate Unneeded Dev/Test Environment.

https://github.com/selcukkubur/costerminator

go to my git repo and use lambda scheduler python script and Permission policy json to create a trigger function.

Here is a few easy steps and you are done.

  • Create a policy on Identify and Access Management (IAM Console) with Json file I already shared on github.
  • Now Create a lambda function and be sure you choice Python 3.8 Stack and paste the script.

Before you run lambda function make tagging on instances you want to stop or start by scheduling them.

Do not forget to configure script as your needs.

Astalavista baby…

--

--

No responses yet