TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Zero-Downtime Hetzner Deploys with Ansible

164 点作者 memset超过 1 年前

15 条评论

rawoke083600超过 1 年前
Everytime Hetzner comes up I tried to make the comment hoping it reaches the right ppl !<p>Hetzner has THE BEST UX for their cloud-vps stuff. Please don&#x27;t change a thing, just for the sake of changing something. Looking at &quot;YOU Spotify !&quot; Compared to most of the other cloud vendors, its refreshingly simple and elegant ! Good job whoever did it, now the job is to KEEP it like that.<p>Happy customer for about 1.5 years now.
评论 #37299739 未加载
评论 #37305856 未加载
评论 #37299572 未加载
评论 #37300108 未加载
memset超过 1 年前
Didn&#x27;t expect to see this on the front page!<p>Basically, I&#x27;m working on building the kind of company that I&#x27;ve always wanted to: simple technology (not k8s!) to do cool things (ingest tons of data into a database.) I can run the software on a single server, but my customers didn&#x27;t want downtime when I deployed (who would&#x27;ve thought?) so I implemented a rolling deploy.<p>I&#x27;ve recently started hosting on Hetzner (ran out of AWS credits!) and have found the experience to be pretty good, and by far the best value of compute per dollar. If you don&#x27;t want anything in the container world - I worked at huge companies that IPOed without containers - then consider their server offerings.
评论 #37297557 未加载
评论 #37317457 未加载
wrapperup超过 1 年前
Hetzner is fantastic. We switched from Linode to Hetzner over a year ago for our website and backend, and have been running with zero downtime. The pricing is also pretty darn cheap. Hoing they expand their US locations!
评论 #37300066 未加载
bluehatbrit超过 1 年前
Great writeup and thanks for providing the code as well!<p>I think if I were to do this I&#x27;d probably do it the other way around. I&#x27;d introduce the new code first on a new node, add it to the load balancer, check it&#x27;s healthy, and then remove the old node.<p>It allows a bit more growth for new functionality should it be needed. For example you can run a canary for an hour and check the error rates before promoting the deployment. Or you can rollback if the new code fails to start for some reason without needing to reload the previous application version first.<p>On the other hand, this works great if you want to keep the VPS more long lived by recycling it.
评论 #37305804 未加载
speq超过 1 年前
Hetzner looks so good and I wanted to move my storage there, but as I tried to create an account I was requested to upload the picture of an ID. I said OK, I mean, they&#x27;re just trying to guard against some edge cases. However, then they just sent an email that my account is closed and this is final. No answer to my mails either.<p>As a result, I&#x27;m obviously very reluctant to believe the praise about them as I found this incredibly rude. There ought to be a better way to do this. I realize that this is only tangentially related to their technology, but still.
freewizard超过 1 年前
Running a small fleet in Hetzner, simply great.<p>I really hope they can offer arm servers in the US.
nickspacek超过 1 年前
Hetzner is great, but recently ran into an issue where their (newly introduced?) cloud security just spins instead of ever progressing to the login prompt on Mull and Librewolf. I assume because it&#x27;s detecting something it doesn&#x27;t like.<p>When I reported it to the support, I was first told to visit the account login screen at the provided URL. To which I responded that, yes, that was what I was trying to do but could not reach. Next I was asked to reset my password; I did so, as that page is not protected by the same security challenge. Alas no change. Finally, it was suggested that I reset my router. Since it was the middle of the day with many other users on my network, I asked whether this was to see if IP blocking was in place. They said yes. Rebooting the router didn&#x27;t change anything. I switched browsers, and it immediately worked.<p>So if anyone at Hetzner is listening, maybe have a look at your login protection and consider whether there is an alternative way to block bots (or whatever) without impacting legitimate customers.
pbarnes_1超过 1 年前
Absolutely love Hetzner -- we use a tonne of the RX220&#x27;s.<p>Good to see tools and scripts around their offerings.<p>Hoping for that US DC at some point.
评论 #37297749 未加载
tekkk超过 1 年前
Interesting. I&#x27;m in the process of trying to setup a k3s cluster on Hetzner but it&#x27;s really a can of worms trying to make sense of all the different services and configuration. Makes me think should I ride the Ansible horse just a little longer. All I want is things not to break for users if something happens. Like me making a mistake or a region going down.<p>Well, live and learn I guess.
mati365超过 1 年前
I used to deploy Podman Quadlet containers there and I&#x27;m super satisfied.
marcopicentini超过 1 年前
You could use Cloud66 + Hetzner and chose Sequential deployment as a deploy strategy.<p><a href="https:&#x2F;&#x2F;www.cloud66.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.cloud66.com&#x2F;</a>
esafak超过 1 年前
Does anybody have a Pulumi script for the same?
rgrieselhuber超过 1 年前
Hetzner is amazing, used them for years.
EAtmULFO超过 1 年前
All of Hetzner&#x27;s ASNs had to be blocked at our perimeter due to rampant, unenforced malicious use.
hbroadbent超过 1 年前
I love Hetzner &lt;3.