Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What is an elastic ip address in nginx?


Asked by Leia Richards on Dec 08, 2021 Nginx Getting started



An Elastic IP address is a single static IP address assigned to an active‑passive pair of NGINX Plus instances. If the master NGINX Plus instance goes out of service, keeaplived automatically promotes the backup instance to master and transfers the Elastic IP address to it as shown in the figure.
Next,
When you associate an Elastic IP address with a network interface that is attached to an instance, it is also associated with the instance. When you associate an Elastic IP address with an instance or its primary network interface, the instance's public IPv4 address (if it had one) is released back into Amazon's pool of public IPv4 addresses.
Similarly, The Nginx server on Docker proxies the request to UWSGI. The application hosted by UWSGI handles the request. In all, the parts that you need to configure to forward the Client IP Address are the TCP passthrough on ELB and each of the two Nginx servers.
Keeping this in consideration,
We currently do not support Elastic IP addresses for IPv6. To ensure efficient use of Elastic IP addresses, we impose a small hourly charge if an Elastic IP address is not associated with a running instance, or if it is associated with a stopped instance or an unattached network interface.
And,
AWS Elastic Network Interface is simply a virtual interface that can be attached to an instance in a Virtual Private Cloud (VPC). Followings are the attributes of a network interface: A primary private IPv4 address. One Elastic IP address (IPv4) per private IPv4 address. One or more secondary private IPv4 addresses.