Vault works in a client-server architecture, so you must have a dedicated cluster of Vault servers (usually 3 is suitable for small to medium installations) operating in the availability mode .
Vault servers should probably communicate with the internal private IP address, not 127.0.0.1, since they will not be available in your VPC. You definitely don't want to bind 0.0.0.0, as that could make Vault public if your instance has a public IP address.
You want to bind to the IP address that is advertised in the certificate, whether it is an IP address or a DNS name. You should only communicate with Vault over TLS in a production-class infrastructure.
Any and all requests go through these Vault servers. If other users need to contact Vault, they must connect to the VPC through a VPN or bastion host and cause requests against it.
When the computer on which the repository is running reboots, you must uninstall Vault. This is why you must run Vault in HA mode, so another server can accept requests. You can set up monitoring and alerts to notify you when the server needs to print (Vault returns a special status code).
You can also read the simplification guide for more tips.
source share