Add grants based on ip address of each infrastructure host.