HA architecture Flashcards
What are the 3 types of load balancers?
1) Application –> layer 7 aware > intelligent routing decisions
2) Network –> Extreme performance and static IP
3) Classic –> low cost no intelligent routing
What is a 504 error?
Gateway has timed out… this means that the application is not responding within the idle timeout period.
How do you troubleshoot a 504 error?
There is an issue with the webserver/database.. Has it failed?
How would you access the IPv4 address of client attempting to access a web server?
Look for the x-forwarded for header
Can be used to generate location dependent content…
Does an ELB check health or EC2 instances?
Yes the ELB will assign in-service or out of service for EC2 instances it is managing
Does an ELB have an IP address?
No and ELB will never have an IP address it will have it’s own DNS name
What is a sticky session?
A sticky session enables a user to stick to the same EC2 instance. This can be useful if you are storing information locally to that instance
What is cross zone load balancing?
This enables you to load balance across multiple AZs
What is a path pattern?
A path pattern allows you to direct traffic to different EC2 instances based on their URLs contained in the request