Report this

What is the reason for this report?

What is the limit of bandwidth if I want to use both DigitalOcean App Platform and DigitalOcean Spaces ?

Posted on May 4, 2021

Hello there!

Thank you in advance for you help.

I am currently hosting an app on AWS Amplify and store videos and other medium size files in S3 with CloudFront CDN.

I am working on a project with a small team and we are very excited to go live soon! However, I am shifting towards finding a new cloud solution for our project… we need to optimize our monthly costs.

That being said, our main motivation is how much bandwidth or data transfer we can get for the best price!

I heard good things about DO and even by looking at the price charts it seems like a good fit for our budget and vision! However I read that if I host my app in DO App, then the maximum outbound transfer would be 1GB (per app?)… however in DO Spaces it allows 1,024 GiB.

If I combine the two services, would I be charged on DO App Platform if I exceed the 1 Gig outbound transfer limit? Should we go with another service like Droplets to host our app (server side rendered PWA in Reactjs and Nextjs)

If you have better service recommendations I would appreciate that a lot! Looking forward to your answer.

Audrey



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.

Interesting question. also have same problem

Hi there,

Just came across this questions.

On the App Platform, each container instance comes with a specific amount of data transfer allowance based on its size. For example, as of the time of writing this, a dedicated container instance with 1 vCPU/0.5 GiB of RAM includes 100 GiB of outbound data transfer per month. If your app is using 5 instances of the 1 vCPU/0.5 GiB dedicated container size, your total data transfer allowance would be:

100 GiB × 5 instances = 500 GiB (or 0.488 TiB) per month, assuming all 5 instances were running continuously throughout the month.

For the most up to date information I could suggest the pricing page here:

https://www.digitalocean.com/pricing/app-platform#additional-pricing

Spaces, on the other hand, gives you 1,024 GiB (1 TB) of outbound data transfer per month. Beyond that, you’re also charged at a very affordable rate for additional data transfer. Spaces also comes with built-in CDN support which is great for serving static files like videos, images, and other media content.

When you use App Platform for hosting your app and Spaces for your storage:

  • App Platform bandwidth applies to traffic going in and out of your app (e.g., API responses, web page loads, etc.).
  • Spaces bandwidth applies to media files (like videos or images) served directly from Spaces to your users.

So, if you store media in Spaces and directly serve them from there, the data transfer for those files would be covered by the 1 TB limit of Spaces, and you wouldn’t be charged extra on App Platform. But any app traffic outside of Spaces (like rendering pages, API calls, etc.) will count toward your App Platform bandwidth.

If your app is heavy on media, it’s a good idea to store those files in Spaces to benefit from the larger data transfer limits.

However, if you expect the app itself to have high traffic or require more bandwidth, you may want to consider hosting it on Droplets instead of App Platform. With Droplets, they include free outbound data transfer, starting at 500 GiB/month for the smallest plan. Bandwidth allowances are determined by the Droplet’s size and type, the larger the Droplet the more bandwidth you get:

https://docs.digitalocean.com/platform/billing/bandwidth/

You can also check out this bandwidth calculator here:

https://www.digitalocean.com/community/tools/bandwidth

In addition to that, you can also calculate costs using the DigitalOcean pricing calculator to see how both services fit within your budget!

Let me know if you need further clarification!

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.