modi ecs configuration