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

Submit an answer
Answer a question...

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.

Bojan D
DigitalOcean Employee
DigitalOcean Employee badge
May 30, 2022

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.

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.