Load Balancer

  1. Application LB: Para HTTP y HTTPS, en Layer 7 y son application aware e inteligentes (puedes poner reglas if-then)
  2. Network LB: TCP balancer in Layer 4. For Extreme performance
  3. Classic LB: They do both but are not high performance

504 Gateway Timeout server error
X-forwared-for: The external IP
Tienen DNS y no IP

Sticky sessions: Todas las request de un usuario van a la misma EC2
Cross Zone LB: Poder mandar a otras zonas.
Path Patters: Depende del path mandas a una EC2. Por ejemplo mexicanpentester.com/images va al servidor de imágenes

Auto Scaling

  1. Components
    1. Groups (que va a escalar)
    2. Configuration Templates
    3. Scaling Options (métricas o schedules)
  2. Scaling options
    1. Maintain current state (si una falla, AWS deploys otra)
    2. Scale manually
    3. Based on schedule
    4. Based on demand (la normal con reglas)
    5.  Predictive scaling

Planning for failure https://netflixtechblog.com/the-netflix-simian-army-16e57fbab116

HA AWS que puedes corren On-site

  1. Database migration service (DMS)
  2. Server migration service (SMS)
  3. AWS application discovery: es un agent que se instala como VM y va a mapear tu data center para saber que se necesita en la nube.
  4. VM export/import: local applications a EC2
  5. Amazon EC2 images (las puedes bajar y usar)