Energy, QoS and Security Aware Edge Services