Sometimes, the Platform.sh bot pauses an environment, requiring me to resume it manually. Why does he do it?
A full description is available here: Pause preview environments now available | Platform.sh
But the short summary is:
To prevent unnecessary consumption of resources, Platform.sh automatically pauses preview environments of both development and staging types that haven’t been redeployed in 14 days.
Pushing new code or redeploying a paused environment automatically resumes it. You can also resume it manually at any time using the cli command:
platform environment:resume --project PROJECT_ID --environment ENVIRONMENT_NAME
If this is an environment you never want to pause, you can also ask Support to disable the automatic pausing of your environments if you are in one of the following situations:
- You are using the default environment of your Development plan to build an app/demo and sharing the URL with users for feedback
- Business staff testing your development branch and don’t have permission to resume it
- You are using your staging environment to run integration or penetration tests
Let me know if you need more info!