Dynamic Service Provisioning in the Edge-cloud Continuum with Bounded Resources