Hi all, Great project team! I am creating an API application which I want to deploy in the aksh cloud and my application is made up of the following containers:
- Nginx Container: API Gateway
- API container
- SQL Server Database Container
I am using Nginx as a gateway to route all network traffic to the API container and I also have a dns which is https://www.example.com and points to the Nginx container endpoint.
In my production environment, nginx container can be used as a load balancing server. Then, in the case of a single node, nginx or this server may fail. In order to ensure high availability, the first thing to think about is to deploy another nginx server. But the IP addresses of two nginx servers are different. So how to ensure that when one server fails, the other server will be used automatically?
I know that Nginx HA (High availability) exists but it is for Onpremise environment. How could I use Nginx HA in my production environment in the akash cloud and without using kubernetes, AWS Network Load Balancer, Azure Standard Load Balancer or Google Cloud Platform?
Any documentation, example or idea will be greatly appreciated.