What’s the root password for an App on the App platform? There are a lot of directions in this forum for the root password of a droplet, but they don’t apply to an App since there’s no “Access” section for an App.

I’ve tried by DigitalOcean account password and it doesn’t work.

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.

×
Submit an Answer
1 answer

Hey there,

App platform is a managed way to host applications – you give the location of your git repository or container image, and it deploys the app for you. You can configure features like custom domain names through the console after deploying your app. It’s unlike a droplet (https://cloud.digitalocean.com/droplets) which give you your own virtual machine. There isn’t a way to log into app platform, since it’s not a VM.

  • it does give you shell access though, through the “Console” page. So I can access the machine. Why wouldn’t it also give root access since Droplets do?

    • Sorry, I believe my original answer was confusing. You do have console access to services/workers on app platform, but cannot escalate to root access in app platform.

      • I do have access to the os file system though. Why wouldn’t DO give root access? Since they already allow for droplets

        (btw ty for the help)

        • The short answer is because it’s a security concern. The slightly longer answer is because app platform runs on containers which have less isolation than virtual machines do. Given root access to a VM might not enable you to jump to other VMs attached to the same hypervisor. However, given root access to a container, you can trivially escape to the node that container is running in and exec into other containers running on a shared node. I hope that clarifies. Is there a workload that you are trying to run that you’re not able to in app platform?

          • Gotchya. I have an app with a deployed Postgres DB, and I’m trying to get into the postgres shell to be able to look inside and play around.

            I can probably think of a workaround, thanks for the explanation.