How scaling works in traditional data center?
> Scaling is reactive and manual.
What is Autoscaling?
> Autoscaling is a feature of cloud computing that automatically adds and removes compute resources depending on actual uses and demand.
> It provides flexibility and elasticity to compute demand.
> It enables consistent application performance at a low cost.
> AWS Auto scaling is a service that monitors your application and automatically adjusts the capacity to maintain steady, predictable application performance at the lowest cost.
> AWS Scaling uses CloudWatch to monitor the application demand and raise alarms to scale up or down resources depending upon your application needs.
> CloudWatch is a monitoring service, and it monitors application metrics like CPU, memory, network and many more.
AWS Auto Scaling Benefits :
> Automate the process to scale up or down quickly.
> Only pay for what you use.
> Application performance is maintained during the peak hours.
EC2 Auto Scaling Group :
What is EC2 Auto Scaling Group?
> An Auto Scaling Group is a collection of Amazon EC2 instances grouped logically for the purpose of automatic scaling and management.
> An Auto Scaling group also enables you to use Amazon EC2 Auto Scaling features such as health check replacements and scaling policies.
EC2 Auto Scaling Policies :
Minimum Size of Auto Scaling Group (1)
Desire Capacity Size (2) Resizable between minimum and maximum size
Maximum Size of the EC2 Instance is (4)
1) Manual Scaling :
> You can manually change the size of an existing Auto Scaling group.
2) Dynamic Scaling :
> Scale the capacity of the Auto Scaling group in response to changing demand.
* Simple / Step Scaling :
> Step and simple Scaling allow you to choose the scaling based on metrics and thresholds.
* Target Tracking Scaling :
> You select a scaling metric and set a target value in target tracking scaling policies.
3) Schedule Scaling :
> Schedule Scaling helps to set up your scaling schedule according to predictable load changes.
4) Predictive Scaling :
> Predictive scaling help scale faster by launching capacity in advance of forecasted load.
Launch Configuration & Launch Template :
> The launch configuration and launch template define the characteristics of the EC2 instances.
> AWS introduced Launch Configuration in 2014.
> Launch Template has extra features and capabilities.
Launch Configuration :
> Launch Configuration is the Instance configuration template in which we define configurations of our EC2 instance.
> Launch configuration consists of AMI Instance type, Security Group, Block Device, Key Pair, User Data, and IAM Role.
> Launch Configuration is not editable.
Launch Template :
> The launch Template is similar to the Launch Configuration.
> Launch template can also be used to launch EC2 instances or Fleet of EC2 instances directly from the AWS Management Console or AWS CLI (Command Line Tool).
> You can create multiple versions of the Launch Template.
> We can specify multiple instance types.
> It has the capability to use both on-demand and spot instances.
> It also covers T2/T3 unlimited features.
> It support other features like Placement groups, capacity reservations, elastic graphics, dedicated host, Volume tagging & Elastic interface.
Load Balancer :
What is Elastic Load Balancer :
> This is an AWS Load Balancer Service.
> It's designed to address the undifferentiated heavy lifting of load balancing.
> The Elastic Load Balancer routes incoming application traffic across instances automatically.
Post a Comment