# Scale and Load Balance Your Architecture https://hackmd.io/@marcsaez/elb [TOC] ## Creating a Load Balancer #### Load Balancer: ![](https://i.imgur.com/Letv1Tm.png) #### Target group: ![](https://i.imgur.com/V04NjGW.png) ## Auto scaling groups - Minimum 2 instances - Maxiimum 6 instances - When cpu is above 50% it creates another instance ![](https://i.imgur.com/pRP6XWX.png) ## Additional Instances: ![](https://i.imgur.com/8SQLDWC.png) ## Cloud Watch Alarm: - If the cpu is above 50%, the alarm will warn us ![](https://i.imgur.com/S0VZoPm.png) ## SNS email notification I have created the notification so that when the alarm is above 50% it sends an email to my email, but this lab does not allow editing or creating alarms, so I cannot attach it to it ![](https://i.imgur.com/H8We1qQ.png)