Question

Is there a way to pause an app in the app platform?

I just deployed a static website on the app platform, and I would need to temporarily disable/pause it without destroying the app. Is there a way to do that? Thanks!

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@ariroffe 👋

We don’t currently support pausing an app, but your feedback on it is definitely helpful. We may support this in the future, so stay tuned.

In the meantime, you could grab your app spec YAML from Settings -> View Spec, destroy your app, and then recreate it with the same app spec using doctl later when you want to revive your app. The doctl command would look like this:

doctl apps create --spec app.yaml

Would love to be able to do this too, here’s the use case:

I’m migrating from droplets to the app platform and I’m running Sidekiq in a worker process. Sidekiq is a queuing library but you can also do scheduled jobs(crons) in it as well. I want to bring up everything properly in the app platform including the workers while the existing droplet is running but because I can’t pause the worker in the app platform I’ll have duplicate crons running which isn’t good.

In order to make this work I basically have to wait until I’m ready to switch and then create the worker services at the time of migration. It’s fine but just another thing to remember to do when you’re already paying attention to a bunch of other things when migrating a service.