Making Sustainable Attainable: An Edge to Cloud Approach