Text this: Topology-Aware Resource Allocation for IoT Services in Clouds