Question

Costs estimation from App Platform Service to Managed Kubernetes

Posted November 24, 2021 114 views
CentOSPostgreSQLDigitalOcean Managed KubernetesDigitalOcean Managed PostgreSQL DatabaseDigitalOcean App Platform

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 ?

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

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

by Kathleen Juell
This book is designed to introduce you to using containers and Kubernetes for full-stack development. You'll use Node.js to build a sample application and then containerize it. From there you will learn how to incorporate an external database and manage development using Docker Compose. After that you'll learn how to deploy the application on Kubernetes and scale it using Helm.