AWS的用户都知道,EC2虚机是最基本、最常用的云资源。AWS EC2是按小时或按秒计费的,如果系统需要7*24常年运行,购买RI包年可节省30%-50%成本。但是,有的系统只需要每天工作8小时,还有的系统只要每周工作5天、每天工作8小时,这时购买RI包年反而不划算。
组合使用AWS Lambda、CloudWatch等服务,可以实现虚机的定时启停。如果设置虚机7*8小时运行的话,成本节省66%;如果5*8小时运行,成本节省达76%!
但是,对于AWS普通用户来说,完整设置AWS Lambda、CloudWatch实现定时启停,并确保结果符合预期,还是有一定困难的。如果您有这样的需求、又不想费心费力研究这些服务,可以使用完全免费的"泰岳定时启停工具"。你只需为EC2设置特定的标签,就可一键式安装、傻瓜化设置方式,实现定时启停的功能。
工具介绍、手册和下载请看定时启停工具。
AWS users know that EC2 instances are the most basic and commonly used cloud resources. AWS EC2 is billed by the hour or second. If a system needs to run 24/7 year-round, purchasing Reserved Instances (RI) can save 30%-50% in costs. However, some systems only need to work 8 hours a day, while others only need to work 5 days a week, 8 hours a day. In these cases, purchasing RI is not cost-effective.
By combining AWS Lambda, CloudWatch, and other services, you can implement scheduled start/stop for instances. If you set instances to run 7 days * 8 hours, you can save 66% in costs; if running 5 days * 8 hours, cost savings reach 76%!
However, for ordinary AWS users, fully setting up AWS Lambda and CloudWatch to implement scheduled start/stop and ensuring results meet expectations can be challenging. If you have such needs but don't want to spend effort studying these services, you can use the completely free "Taiyue Scheduled Start/Stop Tool". You only need to set specific tags for EC2, and you can achieve one-click installation with simple setup to implement scheduled start/stop functionality.
For tool introduction, manual and download, please see the Scheduled Start/Stop Tool.