"microcontroller" is not enough - it is a long way from "microcontroller" to "Internet connected
system" (more hardware and certainly more software). Describe your
system. If the question is (or becomes) "
what hardware do I need?", then SO is not the place to ask that - you can ask about the software, but your broad question can only get broad answers, and that may not be what you need. —
Clifford 1 min ago