Question

Droplet's transfer limit with managed database

Hello,

question about a droplet’s transfer limit:

From what I understood, solely outbound transfer with a public network will count against the transfer limit, while transfers within its private network (i.e. with another droplet) is excluded.

If I use a managed database on the same account, is it possible to use it within a private network with my droplet, so that a communication between the two will not be counted against the transfer limit at any time?

Thanks


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.

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.

Ok great! So then no communication between the two would be counted against the transfer limit? And the transfer limit would only be counted against when data leaves my droplet outside the private network?

Say a user requests data from my db. He would call my droplet api, my droplet will process the request and query the db, my db will respond to the droplet and my droplet will forward the data to the user.

Since the droplet and the managed db are in a private network, the total transfer would only be counted against one single time, being the moment my droplet sends the data back to the user, correct?

Thanks

That’s correct (at least as I understand it), although technically the initial request coming in would count as well as the response. Just not the traffic between the database and the droplet.

https://www.digitalocean.com/docs/networking/private-networking/overview/

Anyone?:)