Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
onli
@onli
yes, you're right. Looked like a mailing list entry but was the github notification
but it was clear :)
Stéphan Kochen
@stephank
Alright. Think I'll go for the more concise description in the mail. I'll post another draft of the complete mail before I send it out. (Need to change the date we upgrade, any way.)
Stéphan Kochen
@stephank
Feel like I should mention this here:
I've set Heroku billing to my credit card (from Dan's), and am working with David to also move portier.io billing to my credit card. That should cover all of our expenses.
But from there, I do want to look into reducing expenses for me personally. (This is incentive. REALLY grateful for Dan and David paying the bills all this time!)
So, first I want to talk to $work, because we use Portier extensively (but not the publicly hosted stuff), and second I probably want to look at reducing cost in general. (Don't want to move domains, but am thinking about moving off Heroku.)
Any thoughts, let me know!
onli
@onli
how much is the heroku bill? You could send that to me in private if you prefer
There is a german hoster, hetzner, which has a very cheap cloud offer: https://www.hetzner.com/cloud?country=us. It works really well
I guess that the smallest instance there would be enough for the broker
Stéphan Kochen
@stephank
Heroku is currently $14 per month (I think with VAT), and the domain is €38.40 per year. Hetzner sounds great, yes, and I have no issue managing a machine.
I have a hobby machine at Scaleway (French) which is similar. But not sure about sharing hosting, would rather just have a dedicated machine for Portier.
But Hetzner + Domain is €5.69 per month, so maybe I can get $work to pay for that.
onli
@onli
Right, Scaleway is very similar, just in my experience has been a lot less stable. I might be on an unstable host though
Which I maybe tax a bit too much ^^
Stéphan Kochen
@stephank
Hah, well, Hetzner is also cheaper, and I'm eager to try it out any way :)
Stéphan Kochen
@stephank
I managed to get the broker running on nixos in a vm 🎉
onli
@onli
Oh, possible to compile the broker there?
Stéphan Kochen
@stephank
Probably, but I was just trying to package the binaries so they work on nixos. I'm trying to set up a nixos configuration to deploy to the cloud eventually, so we can have the public infra described in git. :)
I now have an nginx front proxy working too, and let's encrypt is just one switch in nixos, that hopefully just works. Now trying to package demo-rp. :)
Cool thing about nixos is that it's easy to setup a chroot. The systemd service config I wrote earlier doesn't do that, because it's really specific to distribution. But nixos has really good integration with systemd and doing this sort of thing. :)
Stéphan Kochen
@stephank
Also managed to get demo working, nicely sandboxed, and applying the config to a Hetzner server was easy enough. Only need to figure out ACME, but will do that when we actually migrate. For now, I'll shut the server down. :)
Stéphan Kochen
@stephank
I have no idea if our IRC bridge works at all. I don't think anyone here is using IRC anymore? I'm considering removing it from the homepage, as well as the Wednesday meetings text.
onli
@onli
I agree. The bridge is not working anymore, I recently had to move the server and did not set it up again. Not sure it worked that long
Stéphan Kochen
@stephank
Haha, okay. I'll remove it then. :)
Other question, should I simply update governance to just list you (@onli) and me, with me as tech lead? We're pretty much the only active members.
Stéphan Kochen
@stephank
Here's a PR for easy signing off: portier/portier.github.io#42 🙃
onli
@onli
Are you aware of why? The concept behind portier is great, it works well in practice, and rust is not unpopular
Stéphan Kochen
@stephank
Well, I would say, we do near zero marketing. :)
onli
@onli
That might not help, true
Stéphan Kochen
@stephank
Apparently still had a bit more work to do, but here we go: https://demo.staging.portier.io :)
onli
@onli
That works :)
Stéphan Kochen
@stephank
I've set up a repo describing our public infrastructure. This currently applies to just staging, but I'll move our production environment over on May 11th. https://github.com/portier/public-infra
I also changed permissions on GitHub to reflect governance changes. Hope I didn't hurt anyone's feelings. 😇
Stéphan Kochen
@stephank
But if you're locked out of a repo that you are supposed to have access to, please let me know!
onli
@onli
okay
Stéphan Kochen
@stephank
I migrated production demo (https://demo.portier.io/) and will shut down the demo on heroku :)
Stéphan Kochen
@stephank
Actually have continuous deployment for staging setup on the server side. Pretty cool stuff. Just need to connect the GitHub side of things. :D
Stéphan Kochen
@stephank
CD is now working for staging for both broker and demo 🎉
And staging is now using the Postmark API instead of SMTP to send mail :)
onli
@onli
oh, what's the advantage of the API?
Stéphan Kochen
@stephank
According to docs, the API is quicker to produce an error for bad messages, while SMTP might accept and put it in a queue first. It's in the 'differences' section here: https://postmarkapp.com/developer/user-guide/sending-email/sending-with-smtp
onli
@onli
okay, nice
Stéphan Kochen
@stephank
The production broker is now running on Hetzner, and upgraded to 0.3.2 :)
Stéphan Kochen
@stephank
I imported the old RSA key, so it'll use that key today, and still announce it tomorrow. But it's now rotating keys daily, so after tomorrow that key is no longer valid. (I don't believe I've ever seen anyone hardcode that key.)
onli
@onli
I will have to take a second look at the ruby gem, that it still works :)
Stéphan Kochen
@stephank
@onli Btw, should I give you access to all the hosted stuff?
onli
@onli
@stephank Probably a good idea to reduce the busfactor, right?
btw, just had a new user with a . in the gmail address subscribe to pipes. Since the public broker is already changed that really seems to work fine