Questions:
- Why is it not advisable to run the entire backend on only one server?
- How does Docker simplify your installation process?
- How should you store your credentials to your database?
- What role does the load balancer play?
Answers:
- Because if one server crashes or shuts down, the entire backend would be offline.
- It has pre-compiled images that are quick to boot and already set up.
- In environment variables that are passed to the instances at runtime.
- A load balancer balances traffic and routes traffic to the appropriate service. It's helpful as we can rely on a load balancer to only send us the traffic we can handle.