![]() When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop. end_time ( datetime.datetime) – The time for this action to end.start_time ( datetime.datetime) – The time for this action to start.max_size ( int) – The minimum size for the new auto scaling group.min_size ( int) – The minimum size for the new auto scaling group.desired_capacity ( int) – The number of EC2 instances that should.time ( datetime.datetime) – The time for this action to start. ![]() name ( string) – Scheduled action name.as_group ( string) – The auto scaling group to get activities on.Unchanged in the affected Auto Scaling group. Leave a parameter unspecified, the corresponding value remains Scaling_policy ( .ScalingPolicy) – ScalingPolicy object.Ĭreate_scheduled_group_action ( as_group, name, time=None, desired_capacity=None, min_size=None, max_size=None, start_time=None, end_time=None, recurrence=None ) ¶Ĭreates a scheduled scaling action for a Auto Scaling group. Tags (List of .Tag) – The new or updated tags.Ĭreate_scaling_policy ( scaling_policy ) ¶Ĭreates a new Scaling Policy. Launch_config ( .LaunchConfiguration) – LaunchConfiguration object.Ĭreates new tags or updates existing tags for an Auto Scaling group. create_launch_configuration ( launch_config ) ¶Ĭreates a new Launch Configuration. If we use 5 GP3 volumes of 200GB each, we have 3000*5 IOPs and 125*5 MiB/s throughput which is way more than traditional volumes.Create_auto_scaling_group ( as_group ) ¶Ĭreate auto scaling group.4.6% reduction in downtimes due to disk utilization issues.Paytm’s monitoring system (you can say India’s largest monitoring ecosystem), is using EBS auto-scaler on Terabytes of disks for the last 1 year. The complete process is automated with AWS Cloudwatch, SNS, and Lambda. It gives you the flexibility to increase and decrease volume size on the fly with 0 seconds of downtime. That’s the whole point of this blog, let’s see the proposed solution.ĮBS auto-scaler provides scale-in & scale-out functionalities, unlike AWS. How can you avoid the above-mentioned scenarios? ![]() The below image shows how a Prometheus alarm can wake you up even at midnight. Disk full alarms can be business destructive hence need full attention on production. When an alarm is triggered, Homo-sapiens are the ones who come into the picture. Minimize human intervention on every disk alarm ( even at night ) You do it by following the rsync way or any other Linux way which will end up causing production downtime. Hence, there is a need for a real-time automated EBS auto-scaler based on the Scale-In and Scale-out properties.Īlso, you know you have increased the volume size and you are asked to reduce the volume size to eliminate the extra storage to save cost. In some of the cases, EBS volumes are required for specific durations like ES cleanup or DB backups and there is the extra provisioned capacity for the rest of the day/week. Many times, large EBS volumes are provisioned and not used. This leads to emergency actions of manually increasing the disk space.Įliminate extra storage capacity allocated to machines to save cost If we don’t take any action on disk usage alarms, full-disk can cause downtimes to the applications. To avoid production downtimes (Scale-out) due to full diskĮvery application has tons of data being constantly added to the attached disk. Why do you need EBS scale-out & scale-in? ![]() Being India’s largest fintech company, by Indians and for Indians, we try to build the most innovative tech stack across the globe. Bye-bye to scheduled downtime while modifying the AWS EBS volume storage. Just like EC2 autoscaling, you can scale your EBS volumes as well. It allowed users to increase the volume size.īut, have you ever decreased EBS volumes (scale-in) without any volume replacement & scheduled downtime? Sounds impossible? At Paytm, we do this regularly. In 2017, AWS announced a feature to modify the EBS volumes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |