code: def conn_ali(cred, crid):
      
      driver = get_driver(Provider.ALIYUN_ECS)
      try:
          ali_obj = driver(cred['ali_access_key_id'],
                           cred['ali_access_key_secret'],
                           region=cred['ali_region'])
      except SSLError as e:
          abort_err("\r SSL Error with AliCloud: {}".format(e))
      except InvalidCredsError as e:
          abort_err("\r Error with AliCloud Credentials: {}".format(e))
      return {crid: ali_obj}
docs: Establish connection to AliCloud service.