Hacker News new | ask | show | jobs
by hnlmorg 13 days ago
OIDC generates a credential. That credential isn’t going to instantly expire for zero-trust clients. You’ll generally have anything from 8 hours to several days before needing to re-auth against your identity provider.

Just like with Windows logins against AD. Once you’ve had an initial login from your laptop, you can continue to log into your laptop for days without having a connection to AD.

1 comments

Yes, but if your AD DC somehow failed you can do things like recover from the backups. With the cloud you can only pray it would be restored before the credential expire.
I get engineers would rather be the ones fixing the problem rather than relaying messages that it’s in the process of being fixed, but what you’re describing is ostensibly the same thing.

Either way, the users of your platform are impacted the same way.

But from a business perspective, it makes more sense to have those engineers focused on building projects that earn the business revenue .

Infrastructure like identity management is generally a sunk cost. Customers don’t pay for a product because the company that sells it manages their own identity provider for internal systems. So unless your company is large enough that it becomes cheaper to self-host instead of paying for SaaS licences, it makes smarter business sense to have those engineers focused on more profitable projects.

And that’s the real reason people outsource these kinds of systems.

> on building projects that earn the business revenue .

And when the cloud is down there is no business revenue. And when there is 'sorry dataloss incident have $20 redeem" there is no more business revenue.

At least when you control the data and services - you can control how much you can invest in your resiliency. With the cloud you have no resiliency.

> Infrastructure like identity management is generally a sunk cost.

Security guard on the entrance is generally a sunk cost. Having a building for people to be miserab^W^W commute in everyday so they are miser^W under a pretense of being a team under a middle-management who knows nothing about how to 'build projects' and doing nothing except meetings and meetings about meetings is totally a sunk cost. Both are readily spent because that's a business decision which is made based on a custom. No reality check or engineering goes in it.

> At least when you control the data and services

Do you actually control the data and services? Do you really have plans when your colocation goes dark? Do you really have effective plans when your office catches fire? How many days do you have diesel contracted for to run those generators? Are your ISPs or network peers similarly ready to handle disasters? We pretty much all rely on third parties on some part of the stack.

It's often quite cheap to be multi-az, and having a pilot light setup in another region isn't always too expensive. Standing up an entire other datacenter (or two, or three, or five, or more) fully stocked is quite an investment.

> Do you really have plans when your colocation goes dark?

Do you really have plans when your cloud goes dark?

If you don't have an answer for that when your push for clouds is not going anywhere.

Because you suddenly have an urge to compare a cloud to the over-provisioned geo-resilient on-premise infrastructure supplied and supported by follow-the-sun IT team... because there is only this way you can somehow go on top with the cloud offering.

And no, somebody who can 'cheaply be multi-az' doesn't need 'entire other datacenter'.

Answering the GPs question with a question doesn’t work here because you’re the one arguing that self-hosting is better for resilience.

I’ve been in the industry for 30 years, so long before SaaS was a thing. And our approach back then for things like email outages, outages in identity providers, and such like, is exactly the same as it is for orgs that uses SaaS now: tell the company staff to be patient and that the service will be back up as soon as possible.

The only material difference was back then, I’d have to stop working on customer projects and now i don’t.

Working in DevSecOps, I’ve had to define disaster recovery systems before SaaS. And 99% of the time the board of directors would say “that’s far too expensive. We will just accept that risk”, just like what happens now when people talk about multi-cloud now.

There is no material difference. It’s just the egos of engineers who think they’re better in a crisis (and they might be, but that doesn’t mean their time isn’t better spent elsewhere).