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.

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

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.