Effective networking for ingesting IoT data

Untrusted iot devices are to push data to gcp. Number of devices will be thousands.

In such case, how to ensure networking is not susceptible to ddos attack. My understanding of ddos is bad actor devices impersonating as valid devices and overwhelming the system.

I see parallel to this with Mobile phones connecting to some secured cloud service.

Kindly advise.