provider setup functions for infra and cloud