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:
Is this approach the better one? considering K8s as alternative? Is it easy to migrate to K8s in later stage ?
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!
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.
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:
If you have already dockerized your applications it would be very straightforward to deploy them to the App platform:
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:
For example, for one of my personal projects I have the following setup:
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:
Hope that this helps. Regards, Bobby