NotesAWS SAA

15 Nov

AWS Solutions Architect & Security · 1 min read · Updated 21 Nov 2026

On this page 5

Gateway Load Balancer

  • Load balancers do not communicate with the server/instances directly.
  • Traffic -> LB -> Target Group (contains servers for security checks) -> LB -> Application
  • Two Key Functions:
    • Provides single entry/exit for all traffic.
    • Distributes all traffic to virtual appliances in the background without impacting the application.
      Gateway Load Balancer
      Gateway Load Balancer

Sticky Sessions (also called Session Affinity):

  • Disabled by default.
  • Remembers which server user requests are diverted to for next time.
  • Users' requests are redirected to the same server (if Sticky Session is enabled).
  • Also depends on the cookies and if user requests during the time period.
  • Overrides even if Server is overloaded with requests, will still continue sending requests to same server due to sticky session.
  • Can be applied to all LBs.

Cross Zone Load Balancing (CZLB)

  • Application Load Balancer:
    • CZLB enabled by Default (can be disabled).
    • No extra charges for CZLB.
  • Network & Gateway Load Balancer:
    • CZLB disabled by Default (can be enabled).
    • Extra charge applies for CZLB.

No CZLB Formula

Requests per EC2 in AZ = Requests entering that AZ / Healthy EC2 Instances in that AZ

No Cross Zone Load Balancing
No Cross Zone Load Balancing

CZLB Formula

Traffic Per EC2 = Total Requests / Total Healthy EC2 Instances

Cross Zone Load Balancing
Cross Zone Load Balancing

Auto Scaling Group (ASG)

  • Scaling means to add or remove resources (instances).
  • Relies on a template (blueprint).
  • Two Types of Scaling:
    • Horizontal Scaling (Scaling Out)
      • Increasing number of machines.
    • Vertical Scaling (Scaling Up)
      • Increasing capacity of the same machine.
        Horizontal/Vertical Scaling
        Horizontal/Vertical Scaling

S3

  • Global service that is used to create, delete and manage buckets.
  • Security
  • Availability of the Data
  • Storage
  • Reduced Cost
  • Compliance