News for hackers. Stuff that matters.
Re:Netlify was down by culturestate on Tuesday September 15, 2020 @07:13AM (#24479889)
I spent about 10 minutes trying to work out why `netlify dev` was hanging on my local machine, thinking I'd accidentally nerfed something in npm, before I tried to check the docs and discovered they were down. I forgot that `netlify dev` even needed an internet connection.

Not sure how I feel about this "connected local development" concept at the moment...

Re:Netlify was down by bruh_moment on Tuesday September 15, 2020 @07:16AM (#24479912)
i think the connection's for getting the environment vars from netlify
Re:Netlify was down by culturestate on Tuesday September 15, 2020 @07:36AM (#24480041)
It also does some magic with node modules in lambda functions, so that you can import them without packaging them locally. Any functions using that...I don't know what to call it, module proxy I guess...break in offline mode.
Re:Netlify was down by EE84M3i on Tuesday September 15, 2020 @07:30AM (#24480009)
>Investigating - We are currently investigating outages and latencies from our origin server.

This seems strange. Is the netlify origin hosted in a single region or something?

Re:Netlify was down by Nextgrid on Tuesday September 15, 2020 @10:12AM (#24481369)
If Netlify is completely static I could see there being a single server being the master copy and every edge server being just a caching proxy in front of that.
Re:Netlify was down by dddw on Tuesday September 15, 2020 @08:21AM (#24480373)
maybe authentication goes through 1 region?
Re:Netlify was down by vienarr on Tuesday September 15, 2020 @07:18AM (#24479936)
is this related with Level3/CenturyLink/Lumen outages two weeks ago
Re:Netlify was down by tiborsaas on Tuesday September 15, 2020 @07:40AM (#24480074)
How do you imagine that to be possible?
Re:Netlify was down by bdcravens on Tuesday September 15, 2020 @07:40AM (#24480076)
I think this was meant to be satire.
Re:Netlify was down by dddw on Tuesday September 15, 2020 @08:20AM (#24480364)
I get triggered when I hear Level3
Re:Netlify was down by dddw on Tuesday September 15, 2020 @07:18AM (#24479935)
I understand it's nice to have easy CI/CD with a simple git push to your repo. But there is something to be said for roll your own hosting IMHO.
Re:Netlify was down by StavrosK on Tuesday September 15, 2020 @07:31AM (#24480012)
When I rolled my own hosting, not only did it go down more frequently than Netlify, but I was on the hook for fixing it. I'm glad to let rolling my own hosting on static sites die.
Re:Netlify was down by dddw on Tuesday September 15, 2020 @08:19AM (#24480354)
I'd like to clarify a little... With hosting your own, I don't necessarily mean running your own physical server, although that is surely possible. Heck some people run their blog on their raspberry pi. Netlify is a pretty great service. But if your use case is merely a simple static website, and nothing fancy. Your hosting doesn't need to be either.

Merely pointing out having websites distributed, and not freely at one huge vendor leaves me thinking I'm glad I don't put all my eggs in the same basket.

Re:Netlify was down by bdcravens on Tuesday September 15, 2020 @10:15AM (#24481404)
Sure, you could easily use Github Actions paired with an s3 bucket if all you're doing is CI/CD to push to static hosting. That said, Netlify does offer value adds beyond just production hosting.
Re:Netlify was down by dddw on Tuesday September 15, 2020 @08:28AM (#24480439)
disclosure: I work as Sysops, so I might be more inclined to running it myself.
Re:Netlify was down by onion2k on Tuesday September 15, 2020 @07:22AM (#24479955)
But there is something to be said for roll your own hosting IMHO.

In my experience sites go down far more often when I'm in charge of the hosting.

Re:Netlify was down by nexuist on Tuesday September 15, 2020 @07:44AM (#24480104)
And also considering that Netlify is marketed towards beginners just dipping their toes into web development as well as industry professionals, is it really a good idea to encourage beginners to roll their own anything in any conditions other than training exercises? We already tried this experiment with cPanel in the early 2000s; so many sites got pwned due to bad configurations and injection-prone PHP that we spawned entire industries and standards boards to deal with that problem. From a cybersecurity perspective it makes no sense to give beginners this responsibility and from a general productivity standpoint it makes no sense to ask beginners to become sysadmins + DBAs + SREs before they can get a single page up.
Re:Netlify was down by nexuist on Tuesday September 15, 2020 @07:46AM (#24480127)
I should add, this does not mean we shouldn't encourage beginners to explore all of these fields, but it should be done in training conditions (i.e. I don't care if this gets pwned) rather than for any serious application. That way there is no risk in messing up.
Re:Netlify was down by dddw on Tuesday September 15, 2020 @08:27AM (#24480420)
Thanks for your insightfull comments, indeed running your own hosting is a special skill, which some people like to explore, and I guess quite a lot don't. Having broken cPanels around isn't a very good scenario indeed.
Re:Netlify was down by bdcravens on Tuesday September 15, 2020 @07:44AM (#24480106)
Rolling your own hosting is prohibitively expensive for most but the largest companies. Most instead will opt for running their infrastructure on a cloud provider, which perhaps gives you more control over things, but you will succumb to some of the same downtime Netlify and the like will experience.
Re:Netlify was down by unityByFreedom on Tuesday September 15, 2020 @09:42AM (#24481079)
Huh? Cloudflare is free so all you need for a static site is a $5 VPS.
Re:Netlify was down by bdcravens on Tuesday September 15, 2020 @10:13AM (#24481381)
That's not rolling your own; that's depending on 2 cloud providers. (the comment was clarified to not mean actual infrastructure, but still, you've really only shifted dependencies in almost every case)
Re:Netlify was down by unityByFreedom on Wednesday September 16, 2020 @02:35AM (#24490113)
It is in this context. The first step in moving away from something like Netlify is to have your own server with a free CDN backing it. After that I guess you can buy your own hardware and internet connection. But nobody here is suggesting we all create our own CDNs.
Re:Netlify was down by interrupt_ on Tuesday September 15, 2020 @07:25AM (#24479974)
There is something to be said about letting experts do what they do best.
Re:Netlify was down by qeternity on Tuesday September 15, 2020 @07:33AM (#24480024)
It’s not that: a single expert is still a single point of failure. Everyone goes down, it’s all just shades of gray.

The sad thing here is that front end (or stateless for that matter) is actually fairly easy to run across two CDNs

Re:Netlify was down by bdcravens on Tuesday September 15, 2020 @09:03AM (#24480720)
Doing it yourself qualifies as "a single expert is still a single point of failure". A single vendor at least has some levels of staffing and redundancy that I nor my company can match.
Re:Netlify was down by qeternity on Tuesday September 15, 2020 @11:00AM (#24481935)
I’m not suggesting doing it yourself...I’m suggesting the exact opposite. What I am advocating for is redundancy.

But thanks for playing.

Re:Netlify was down by striking on Tuesday September 15, 2020 @07:41AM (#24480083)
Do you really need to spend the time (and maybe money) for a second host just because your current one might go down for an hour? There's probably a point at which you might rightly consider it, but I doubt many people are legitimately at that threshold. Especially given I don't even remember the last time Netlify had this issue.
Re:Netlify was down by qeternity on Tuesday September 15, 2020 @11:02AM (#24481952)
When did I ever say most people have this issue? Of course most don’t. But there are many that do: an hour of lost sales a few times a year can easily justify the very easy efforts of running two CDNs. You’re vastly overestimating the cost (human and financial).

In my business, being down for an hour would be a very big deal.

Re:Netlify was down by bdcravens on Tuesday September 15, 2020 @09:05AM (#24480738)
The total downtime was less than an hour and a half. Many spend more time each day on HN.
Re:Netlify was down by interactivecode on Tuesday September 15, 2020 @10:43AM (#24481731)
If there is an way to plug and play a netlify / heroku deployment flow on my own server I would. I'm a developer to build websites, not a sys admin or dev ops.
Re:Netlify was down by symkat on Tuesday September 15, 2020 @11:05AM (#24481997)
I'm working on this as an open source project for the last couple of weeks.

https://github.com/greehost has most of the code, it's hosting http://greehost.org/en/design/components/ currently.

I'm working on the user panel now, but most of the "Run a builder of some sort, move assets to locations to serve" for static stuff is done; containers for application hosting itself hasn't been started yet.

Re:Netlify was down by iCarrot on Tuesday September 15, 2020 @10:59PM (#24489138)
You may want to see dokku: https://github.com/dokku/dokku