In IoT, there are are two components – Embedded device (edge) and application on cloud. Normally server components are hosted in cloud to have better performance as explained