In response to the client’s challenges, Azilen undertook a comprehensive approach to optimize their AWS infrastructure and enhance security measures.
We utilized a multi-pronged approach to achieve significant cost reduction by incorporating Rightsizing Idle Instances, On-Demand Instance Control, Cloud Security Audit and Adjustments & efficient Resources management.
To achieve significant cloud cost optimization, a comprehensive strategy consisting of multiple initiatives was incorporated:
Rightsizing Idle Instances:
The Dev and Stage environments were reconfigured as on-demand instances when it was found that they were regularly underutilized, to prevent unnecessary expenditures.
Transferring these settings was necessary for this.
➡️ AWS Lambda Functions: For Dev and Stage, traditional EC2 instances were connected to Lambda functions. With Lambda functions executing only when required, it is now able to use resources more efficiently and save expenses by not running instances constantly.
➡️ Auto-Shutdown Scheduler: To further reduce expenses, an auto-shutdown scheduler was developed using Lambda functions. This scheduler saves expenses on unnecessary resources by automatically terminating any Dev or Stage EC2 instances that are still running beyond the predefined time every day at 11:00 AM CST.
In-Demand Instance Control:
➡️ API Gateway: To make instance management easier, an API Gateway was implemented on top of the Lambda function.
➡️ The URL Interface: For Auto Start-Up Any web browser can access the URL interface provided by the API gateway. Through this URL interface, users can easily start up Dev or Stage instances, simplifying the process and increasing user convenience.
➡️ Manually start and stop URLs: Moreover, users can manually start or stop instances by using particular “Start” and “Stop” URLs. Users can use this manual control to override the auto-shutdown timer if instances need to be started or stopped before they expire.