Posts

Showing posts from August, 2022

Automatic Resizing EBS Volume with AWS Lambda

Image
An Amazon EC2 instance's Amazon EBS volume use may exceed permitted capacity when running active applications. This raises the possibility of a customer-impacting application outage when the provisioned capacity is used up, depending on the application in use.  Automatically resizing the EBS volume can go a long way to remedy the situation and save a lot of time. There is no longer a need to overprovision volumes. This method lowers your EBS cost by gradually increasing volume capacity as more space is required. Recently a client wanted a proactive way to manage EBS volumes to prevent outages due to increase in capacity. In this post, I will walk through the automatic EBS volume resizing process that developed for the client, see its architecture and learn some best practices.