Question

Is App Platform transfer to Spaces counting as outbounding transfer?

App Platform has very little basic transfer 40 GB and relatively expensive price per gb.

So in case of building a social media platform with an option to post photos and camera videos may not be enough, even with a small number of users.

Media to user can be provided directly from S3, but it must be handled first by application and sent to Space.

So, the question: Is App Platform transfer to Spaces counting as an outbound transfer?


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.

Moises Eskinazi
DigitalOcean Employee
DigitalOcean Employee badge
September 9, 2021
Accepted Answer

Hi Legoland,

Outgoing bandwidth counts if it’s being served to a customer. In your example:

  1. Photo upload from the user to your service hosted on App Platform does not accrue bandwidth
  2. Sending the photo uploaded by the user from App Platform to Spaces, doesn’t count for your bandwidth.
  3. Downloading the photo from Spaces to your service in App Platform, counts as Spaces bandwidth.
  4. Sending the photo from your service in App Platform to the user, counts as App Platform bandwidth.

One thing you can do to reduce your bandwidth spend is to serve the photos directly from Spaces. You can make your app prepare the URLs pointing to their Spaces URL and even use the Spaces CDN if you require caching. If you do this, then you only pay for Spaces bandwidth when serving images and reduce the bandwidth used by your app.

Best, Moises

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel