Elasticity & Agility
Last updated
Last updated
EC2 in aws is highly available service which provides the agility and elasticity to support the ever changing requirements and load of any organisation makes it a highly durable and reliable service on AWS.
Scaling
Scaling refers to adjusting compute resources to match workload demands.
Scale In
Reducing the number of compute resources (e.g., instances) when demand decreases.
Saves costs by releasing unneeded resources.
Scale Out
Adding more compute resources (e.g., instances) when demand increases.
Ensures applications can handle higher workloads effectively.
There are mainly two types of Scaling techniques used in the cloud :
Horizontal Scaling
Horizontal scaling refers to scale by adding additional resources (ex: Adding more EC2 instances to meet the organsational traffic surge)
Vertical Scaling
Vertical Scaling refers to scale by altering the exiting infrastructure (ex: Adding more RAM, Memory, CPUs in the existing EC2 virtual machine to meet the organisational need)
This feature in AWS is called and the AWS Auto Scaling Group
Scaling in EC2 is managed by the Auto Scaling policy which defines the scaling policies to control the scaling process and deployment restrictions over cloud to ensure smooth and automatic scaling on EC2 and reduce the resource to prevent overuse of the resource and optimize costs.