Question

Private network between resources

Hi all. I just started using App Plaftform. I have an app with 3 services but I only need one to be exposed to the outside world. I successfully deployed the components but all of them are accessible which is not convenient. How can I setup my infrastructure so the the main api consumes the others via a “local” network and not over the internet? Cheers

Subscribe
Share

Submit an 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.

Hello, thanks for trying out DigitalOcean App Platform.

You should be able to accomplish this using the concept of internal services. See additional documentation on how to manage internal services.

Here is a sample app that consist of 2 Node.js services. There is a public HTTP gateway service which takes HTTP requests and proxies to an internal gRPC service.

Hope this helps.

I think you need to wait till Digitalocean supports VPS for App platform.