Skip to content

[prebuild] Run inside user's region #9872

Closed
@geropl

Description

@geropl

Currently prebuild are mainly executed in the US cluster because it's closed to GitHub exit nodes. This means all prebuild's snapshots are stored in us-west1. This is bad because for all EU workspaces based on a prebuild we have to pay egress traffic on a) when the prebuild is run and b) on every workspace start.

We know which region:

  • a user first connected with (user bucket region) is in when registering
  • a user is currently connected (not necessarily when they trigger the prebuild)

We should try to leverage that knowledge to run the prebuild closer the where it's most likely going to be used.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions