Hai All,
I wanted to use static ip address for connecting to Google IoT Core as the IoT devcies will be deployed under a network which has firewall. Firewall's IP list has to be updated every time has the IOT core IP address changes to allow the device connection.
How to use static ip and connect to Google IoT Core
Regards,
James A
According to the documents here and here it should be possible, since you can have all the devices registered to the gateway which communicates with Cloud IoT core as per this page.
You should be able to bind the devices to the gateway by following this document. The gateway should have an IP address so this would technically fit the criteria of 1
Please note that this suggestion and the documentation is provided from a very high level point of view.
For a more better solution, please provide a detailed description of your use case. which explains the precise architecture of the setup.
It is not possible to use a static IP address when connecting to Google IoT Core. IoT devices typically use dynamic IP addresses, which are assigned by the network's Internet Service Provider (ISP) when the device connects to the internet. This means that the IP address of an IoT device can change over time, which can make it difficult to whitelist specific IP addresses in a firewall.
One way to allow your IoT devices to connect to Google IoT Core through a firewall is to use a VPN (Virtual Private Network) or a reverse proxy. This will allow your devices to connect to the internet via a fixed IP address or domain name, which you can whitelist in your firewall. This can also help to secure the connection between your devices and Google IoT Core.
Another option is to use Cloud NAT (Network Address Translation) to allow your devices to connect to Google IoT Core. Cloud NAT allows you to use a static IP address or domain name to connect to the internet, while still using dynamic IP addresses for your devices. This can make it easier to whitelist specific IP addresses or domain names in your firewall, while still allowing your devices to use dynamic IP addresses.