News for hackers. Stuff that matters.
Re:Cloudflare Pub/Sub: Programmable MQTT Message Brokers by shikivi on Thursday May 12, 2022 @12:39PM (#31356511)
Pub/Sub, Workers, KV, Durable Objects, R2... yes, these all sounds promising. Awesome tool for developers. But there is one huge obstacle in the middle that prevents most to actually try this stack.

Logs and Account Access control.

Cloudflare is a very powerful platform, you can't let everyone be Admin. If you run anything, you need to be able to see logs it to ship it somewhere.

For some reason, Cloudflare thinks that these are enterprise feature. I got news for you, these are basic features for anyone who wants to build more than just a simple script for individual use.

You work so hard to build these features but let only a small subset of users really do anything meaningful with it

Re:Cloudflare Pub/Sub: Programmable MQTT Message Brokers by jplevine on Thursday May 12, 2022 @01:17PM (#31357010)
We just announced something called the Workers Analytics Engine today: https://blog.cloudflare.com/workers-analytics-engine/

More coming soon!

Happy to chat more - jpl at cloudflare dot com

Re:Cloudflare Pub/Sub: Programmable MQTT Message Brokers by okaybuy on Thursday May 12, 2022 @09:08PM (#31362044)
Yes, fully agree, just to give Fred access to develop a worker in dev environment we have to grant them access to the whole account, it's batshit insane. We created acmecorpx.com for dev and put this on a seperate CF account but it still sucks
Re:Cloudflare Pub/Sub: Programmable MQTT Message Brokers by sitkack on Thursday May 12, 2022 @12:45PM (#31356565)
Honest question, not a snark attack. But would it be possible to build those things on top of Cloudflare itself, esp the logging? For access control, you would have to have a separate process controlling the CF api for configuration.
Re:Cloudflare Pub/Sub: Programmable MQTT Message Brokers by okaybuy on Thursday May 12, 2022 @09:10PM (#31362064)
Not so simple when a lot of the tooling that facilitates easy development is tied to CF API, are you meant to build your own cloudflared and wrangler just so you dont have to grant everyone in the org super admin?

This is where AWS wins, AWS gives you everything from $0/month, IAM in the above case, but you don't stay at $0 for long, where as CF gives you partial bits but you remain at $0-low/pm for longer

Its actually really ironic the same company that says SAML for all for free, can't even get basic RAC on their own admin controls

Re:Cloudflare Pub/Sub: Programmable MQTT Message Brokers by imobbscf on Thursday May 12, 2022 @12:56PM (#31356735)
What would you like to see?

Disclaimer: Engineer on the IAM team at Cloudflare

Re:Cloudflare Pub/Sub: Programmable MQTT Message Brokers by sieabahlpark on Friday May 13, 2022 @04:25AM (#31364757)
Just provide an Aws IAM type interface and everyone would be happy. Also don't charge for it, because that just states your systems literally were not designed with authorization in mind.
Re:Cloudflare Pub/Sub: Programmable MQTT Message Brokers by manigandham on Thursday May 12, 2022 @07:49PM (#31361488)
IAM/RBAC for members of an organization to control who can change settings, deploy scripts, add domains, etc.