Question

Costs estimation from App Platform Service to Managed Kubernetes

I need to evaluate where does my project can start and as complete as possible initial costs, as well as later upgradings. Having 3 Nginx-PHP Docker images that connect to a Postgresql DB. I am evaluating App Platform (I understand they are docker based deployments… ?) Is it better to consider Managed Database provided by Digital Ocean and if it can be integrated with the App Platform or better a docker from my repo? Are extra services needed to be considered ? as:

  • Domain Name
  • Networking services
  • Firewall How can I estimate more precise costs and consider all needed features.

Is this approach the better one? considering K8s as alternative? Is it easy to migrate to K8s in later stage ?


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.

Accepted Answer

Hello,

The App platform integrates with the Managed Databases, so it is best to consider using a Managed Cluster.

You should not really run a database on the App platform itself as the storage is ephemeral:

https://docs.digitalocean.com/products/app-platform/how-to/store-data/

If you have already dockerized your applications it would be very straightforward to deploy them to the App platform:

https://docs.digitalocean.com/products/app-platform/languages-frameworks/docker/

The costs would really be specific to your website size, complexity, and traffic.

You could use this Pricing table here to check all of the available sizes and pricing:

https://www.digitalocean.com/pricing/#app-platform

For example, for one of my personal projects I have the following setup:

  • Managed PostgreSQL service $15/mo
  • Basic tier App with 2GB of RAM $20/mo
  • Object Storage for my static files at $5.00/mo

Regarding Kubernetes, I would personally suggest moving from the App platform to a Kubernetes cluster, only if you have experience with Kubernetes in general. Otherwise, I would recommend first learning more about Kubernetes and then planning the move.

Here is a link to a free eBook that would help you get started:

https://www.digitalocean.com/community/tutorials/from-containers-to-kubernetes-with-node-js-ebook

Hope that this helps. Regards, Bobby

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.