AWS ELB&ASG

  • Scaling
    • Scaling means that an application/system can handle greater loads by adopting.
    • There are two kinds of scaling
      • Vertical scaling
        • Vertical scalability means increasing the size of the instance.
        • For example, our application runs in T2.micro and we need to increase it to T2.large.
        • Verticals Scalability is very common for non-distributed systems, such as a database.
        • RDS and Elastic cache scale vertically.
        • We can scale vertically by upgrading the instance type.
          • There is usually a limit to how much we can vertical scale, which is the hardware limit.
        • Vertical Scale is increasing, the instance size for EC2 That is scale up or down in instance types
          • From T2.nano 0.5G of Ram and 1vCPU
          • To U-12 TB1.metal-12.3TB of Ram,448 vCPU’s
      • Horizontal scaling also called as elasticity.
        • Horizontal scalability Means increasing the number of instances/systems for your application.
        • Horizontal Scaling implies distributed systems.
        • This is very common for web applications/modern applications.
        • It is easy to horizontally scale with cloud offering such as EC2.
        • Horizontal Scaling is increasing the number of instances that is scale out/in in an EC2 instance.
          • Out is when we increase the number of instances.
          • In is when we decrease the number of instances
          • Used for Auto Scaling groups or Load balancers.
  • Availability
    • High availability goes parallel with horizontal scaling.
    • Higher availability means running your application/system in at least 2 Data centres/availability zones.
    • The goal of high availability is to survive a Data Center loss.
    • High availability can be passive For vertical Scaling(For RDS multi Availability zone, for example)
    • The high availability can be active for horizontal scaling.
    • High availability runs instances for same application across multiple availability zone.
      • Autoscaling Group with multi availability zone enabled.
      • Load Balancer With multi availability zone.

Comments

Popular posts from this blog

Infrastructure Setup using Cloud Formation Templates

VPC,Cloud Front,EC2,RDS in AWS

High Availability Architecture