Silver85
By:
Silver85

Networking and bandwith between services and or droplets

May 20, 2017 505 views
Networking DigitalOcean LAMP Stack Nginx Ubuntu

I have some questions regarding bandwith and how networking works on the Digitalocean VPS service. And I apologize in advance if it's hard to understand what i am asking about. I found it hard to formulate these questions.

I will describe two scenarios with the following questions.

Scenario 1:
5$ - Droplet A = LAMP stack with Wordpress(website)
5$ - Droplet B = Media hosting for audio files with Nginx or Apache.
Both hosted on same geographical region at Digitalocean
I will now only refer to these droplets as "A" and or "B".

If i use A to host a Wordpress website for a podcast, but use B as media host so that i can stream and or download audio files to A.

Question for Scenario 1:
1: Will i use A 1tb bandwith for the site, and B 1tb bandwith for audio file stream to A.?

2: Will both A tb and B tb use the same amount of network bandwith in and out?

3: Will B streaming audio files to A go as "private networking" meaning that the only network bandwith usage would be visitors that visit the website and stream or download audio files on A? Or maybe the visitors downloading and streaming from A website count as network bandwith on B?

Scenario 2:
5$ - Droplet A = LAMP stack with Wordpress
B: Soundcloud or Youtube = Media host

This scenario is the same as Scenario 1. But in this scenario the media file hosting is on a 3d party service.

Question for Scenario 2:
1: How will that affect Droplet A 1tb network bandwith? Will bandwith usage from streaming from a 3d party media host count as both in and out traffic? If so, that means that Scenario 1 question 3 is the best option for such a setup?

Or would it be more beneficial to just have 1 Droplet with LAMP-stack, Wordpress and host the files on that same Droplet for streaming and downloading?

1 Answer
Woet May 20, 2017
Accepted Answer

If you use the private network, it's unmetered. Everything else counts towards bandwidth.

Have another answer? Share your knowledge.