Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component: Cloud Runtime #5261

Open
22 tasks
StachuDotNet opened this issue Jan 14, 2024 · 0 comments
Open
22 tasks

Component: Cloud Runtime #5261

StachuDotNet opened this issue Jan 14, 2024 · 0 comments
Labels
needs-review I plan on going through each of the issues and clarifying them -- this is to mark remaining issues

Comments

@StachuDotNet
Copy link
Member

StachuDotNet commented Jan 14, 2024

The "Cloud" runtime is a collection of cloud-hosted services that Dark supports, including Http Handlers, Crons, Queues, cloud-run Scripts (previously known as REPLs). Your code is stored on the cloud, and we take care of everything else.

Enough for our usage by internal folks

  • general pre-work to get it better hooked up to editor, etc (rough)
  • baseline -- bring back the "Dark Cloud" in dark-next

Enough for users to start trying it

  • isInternalFn doesn't work (There are now nested modules and it doesn't check that)
  • support User HTTP Handlers
  • "figure out tunnel2 settings/replacement", "iptables"... from old issue Get BwdServer into production #4911
    • we need production testing to prevent users from figuring out IP addresses
    • try to get IP addresses -> error
    • extra level of protection: iptables?
      • or: provide a proxy (like how we used to do things in k8s -- everything would go through proxy, which had firewall rules)
    • with cloud run...
      • we could provide another cloud run project that just does proxy
      • that one doesn't have permissions
    • this is a blocker for letting users running their code on dark-cloud
    • if we don't do this and/or we get it wrong, then an attacker may be able to get access to our entire cloud acct, etc.
    • (note to self (stachu)) I need to study up here and reflect on our current setup
    • pay attention to 169.254.0.0/16 - provides token that has auth as us
  • general pre-work to get it better hooked up to editor, etc

Enough to get -classic canvases migrated over

  • bring Function execution back to the cloud
  • bring Script execution back to the cloud
  • bring User DBs in the cloud
  • bring Crons back in the cloud
  • bring Workers back to the cloud
  • bring Secrets back in the cloud
  • bring back some minimal support for static assets
  • back-fill a lot of tests (see backfill more http handler testing #4763)
  • provide (semi-)automated ways of migrating user code from -classic

Stuff that can wait

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-review I plan on going through each of the issues and clarifying them -- this is to mark remaining issues
Projects
None yet
Development

No branches or pull requests

1 participant