I am a bit surprised to realize that Fly app names are global, like Heroku. It undermines the purpose of organizations in my mind . Today for example given an app name of mammoth we would get the URL of https://mammoth.fly.dev. Yet, we have secured an organization name on the Fly platform, so, why is that not reflected in the URL? For example my organization is prisma so I would expect mammoth.prisma.fly.dev.
On the one hand this is a micro issue easily solved with some convention that other teams wonāt use, on the the other its a product gap and paper cut that is inconsistent with how thoughtful and nice the rest of the platform typically is to use (big fan so far!).
Yeah. This is a thing we tried before we became successful, and now itās very hard to change.
The most likely fix for this is going to be picking a ābaseā app domain separately from picking the organization. Organization slugs wonāt work well for this because you canāt change them and are at the mercy of the name generator.
Ditto to this. A sister issue is that if I drop a fly.toml into an open source project, the app name is a gotcha in plain site. If someone were to naively run flyctl deploy in the project, they would slam into the name being used already.
Is there a suggested pattern for a fly.toml that gets distributed to others? Do I wrap it in scripts to somehow create a stable unique name for other users?
or something that impacts pricing or some aspect of authorized user state in the calling application⦠What if someone deletes that service but itās still referenced somewhere in their application in some edge case path⦠Now Iām a malicious actor and very quickly reserve that app name rewards-app and create their own endpoint that returns a malicious response⦠Is it really that far-fetched something like this could happen?
Seems like doing something like
[app-name].[username].fly.dev
or [app-name].[org name].fly.dev
Thatās a pretty edge case scenario imo. Iād argue that people would be using their own domain instead of using fly.dev, but that would still be an issue if the owner of the previous appās domain also expired and is taken over by the bad actor.
I guess this is a hole Fly dug themselves in and canāt get out.
I mean they could get out of it⦠or start to get out of it by introducing a new domain nameā¦
instead of fly.dev⦠maybe another TLD instead of .dev⦠like .app or other generic TLD or with the .iopayments-service.wedoapp.fly.io (though Iām sure that might be difficult because fly.io already hosts the documentation/community/marketing website)ā¦
All new apps should default to the new domain and tld⦠existing ones can continue to use fly.dev⦠with a deprecation warning and encouragement to move to the new pattern on deploy⦠WIth some timeline for deprecation.