All technological notes.
Solution Architect:
Cloud Architect
High Availability usually goes hand in hand with horizontal scaling
High availability means running your application / system in at least 2 Availability Zones
The goal of high availability is to survive a data center loss (disaster)
Services:
Example: Multiple Availability Zones

Use Case: Beanstalk


Elastic Load Balancer (ELB)Load Balancing
servers that forward internet traffic to multiple servers (EC2 Instances) downstream.
Advantages
Elastic Load Balancer (ELB)
Application Load Balancer (HTTP / HTTPS only) – Layer 7Network Load Balancer (ultra-high performance, allows for TCP) – Layer 4Gateway Load Balancer – Layer 3| Application Load Balancer | Network Load Balancer | Gateway Load Balancer |
|---|---|---|
| HTTP / HTTPS / gRPC protocols | TCP / UDP protocols | GENEVE Protocol on IP Packets |
| Application Layer 7 | Transport Layer 4 | Network Layer 3 |
| HTTP Routing features | High Performance: millions of request per seconds | Route Traffic to Firewalls that you manage on EC2 Instances |
| Static DNS (URL) | Static IP through Elastic IP | ntrusion detection |
The ablity to increase the capacity based on the increasing demand of traffic, memory and computing power.
ability to accommodate a larger load by making the hardware stronger (scale up), or by adding nodes (scale out)
2 Kinds of Scalability:
Vertical Scaling:
Scaling Up / DownHorizonal Scaling: elasticity
Scaling Out / In:The ability to automatically increase or decrease the capacity based on the current demand of traffic, memory and computing power.
“auto-scaling” so that the system can scale based on the load.
Horizonal Scaling
Scaling Out: Add more servers of the same size.Scaling In: Removing underutilized servers of the same size.Vertical Scaling is generally hard for traditional architecture so user will usually only see horizontal scaling described with Elasticity.
Auto Scaling Groups (ASG)Auto Scaling Groups (ASG)
Scaling Strategies
CloudWatch alarm is triggered (example CPU > 70%), then add 2 unitsCloudWatch alarm is triggered (example CPU < 30%), then remove 1Agility: (not related to scalability - distractor)
The ability for the service to ensure there is no single point of failure, preventing the chance of failure.
Fail-overs
Example: RDS Multi-AZ

The ability to recover from a disaster and to prevent the loss of data.
Disaster Revocery (DR)
CloudEndure Disaster Recovery
Business Continuity Plan (BCP)

Disaster Recovery Option
Backup & Restore: backup data and restore them to new infrastructure.
Pilot Light: data is replicated to another region with the minimal services running
Warm Standby: scaled down copy of user’s infrastructure running ready to scale up.
Multi-site: Scaled up copy of user’s infrastructure in another region.

Recoery Time Objective (RTO)

Recoery Point Objective (RPO)

Elastic Load Balancers (ELB)
Auto Scaling Groups (ASG)