SERVER-ERROR: 413 Request Entity Too Large

Can you reduce the resolution of the buffer operation? In Python’s shapely package for example you have a resolution of 16 by default, which indeed will blow up your file massively. I would try with resolution 1 or 2.

It doesn’t have to be github, any file storage (e.g. Dropbox, Google drive, OneDrive, S3, …) that allows you to generate a public URL will do

Yes but I think that your server needs a direct link. Most of those online cloud storage works with some kind of aliases (don’t know the exact name for that) which are not directly pointing to the file. The terrascope jupyter notebook could be a solution? From the backend point of view, that doesn’t change anything right?

if you are familiar with the Terrascope user VM usage, you can also put the file under your Public folder and use an absolute path like /data/users/Public/{username}/{filename} as geometries argument in aggregate_spatial.