Cost Optimization on AWS EC2 and Database Instances Using AWS Lambda and Amazon EventBridge - 2

We know very well that “The Cloud = Pay for what you use”. Thus, it can be expensive to run Amazon EC2 instances continuously. By scheduling your instances’ start and stop times, you can ensure that you only pay for the computing resources you need. This solution helps reduce operational costs by stopping resources that are not in use and starting resources when their capacity is needed. For example, if you want to automatically stop instances outside of business hours every day and turn them on automatically at the start of work at work. This solution can result in up to 70% cost savings for those instances that are only necessary during regular business hours (weekly utilization reduced from 168 hours to 50 hours) (1). Or you are doing research and want your EC2 to shut down automatically when you are not working, Or there is a website that announces the exam results of a school, you want the…

Cumhur Akkaya
9 min readOct 5, 2023

--

--

Cumhur Akkaya

✦ Multi-Cloud & DevOps Engineer, ✦Technical Writer, ✦AWS Community Builder, ✦LinkedInTop Voice, ✦Believes in learning by doing, ✦Linkedin: linkedin.com/in/cumh