MultiCloud Classroom notes 21/Sep/2024

Scaling

  • Scaling refers to increasing machine sizes or machines
  • Scaling is of two types
    • Vertical Scaling
    • Horizontal Scaling
  • Vertical Scaling: This refers to increase in Size of CPU/RAM or even instance families in cloud

Vertical Scaling in AWS/Azure

  • refer classroom video for screen shots
  • AWS => Change instance type
  • Scaling is used in the Context of increasing only in traditional on-premises
  • So in cloud since we do increase and decrease instance sizes we refer this property as elasticity
  • Scale up or down is used in the context of vertical scaling

Horizontal scaling

  • Horizontal scaling refers to increase/decrease in the number of servers
  • We use scale in (decrease) and scale out (increase)
  • In the context of cloud we can do two things
    • fixed scaling: always maintain count
    • auto scaling: increase or decrease number of servers based on factors like cpu utilizations, schedules etc
  • Horizontal scaling in AWS is acheived with Autoscaling groups and in azure with virtual machine scale sets

Autoscaling in AWS

  • Two major configurations
    • launch template: we set on what should be executed in ec2, which subnets, sizes etc
    • Autoscaling group: how many, when to increase and when to decrease
  • Refer Here for official docs
  • EC2 Autoscaling options
    • Simple/Step Scaling
    • Target Tracking
    • Predictive scaling
  • During autoscaling
    • min: minimum number of instances
    • max: maximum number of instances
    • desired: the current count
  • Watch classroom video for guided creations
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%