s/start the machines either trough nixops/start the machines either trough terraform/
On Fri, 22 Jul 2016 at 15:06 zimbatm <zimb...@zimbatm.com> wrote: > Hi Seroka, > > I would like to recommend terraform for the orchestration layer and then > use a pull model to deploy nix channels to your servers. > > nixops is fantastic and I use it to deploy to my two servers but I don't > think it's the best solution to manage a constantly-changing fleet of > servers. When deploying a bigger infrastructure you want things like: > support for auto-scaling and shared deploy state between machines. Also > terraform has a much richer community and supports more cloud providers out > of the box. > > The approach would be to start the machines either trough nixops or trough > provider-specific tools like Amazon's ASG and provision the > configuration.nix file during boot and finally run `nixos-rebuild switch > --upgrade`. The configuration would be setup to pull from one of your > private hydra channels. You can also use terraform to ssh into all of the > boxes if you want to control the rate of deploys. > > Let me know if you want more details. It's pretty clear in my head but > didn't have the chance to implement this yet. I think Rok Garbas did > something similar for his personal setup if you want to talk to him. > > Best, > z > > > > On Fri, 22 Jul 2016 at 07:28 Arseniy Seroka <ars.ser...@gmail.com> wrote: > >> Fellow nixers, >> >> I'm Arseniy Seroka, founder of Serokell. >> We already use Nix on a daily basis while working on our projects. For >> one such >> project, rscoin[1], we need to come up with a way of deploying and >> running it >> on a multitude of cloud services. Naturally, we're looking at NixOps to >> do that. >> We have a pretty tight deadline — we need to get it done by July 29th, >> hence we're seeking for aid in this goal. >> We want to hire a nixer with a good background in NixOps for the next >> week and >> we intend to pay up to 1000 EUR for forty hours of work. >> We're also open for some follow-up contracts with nixers, such as >> contributing >> to our long-running Haskell Overlay initiative or setting up elaborate >> Hydra-based CI infrastructure. RSCoin is a great project that uses >> Haskell and >> PureScript, we think you'll have fun contributing to its usability and >> deployability! >> >> [1] https://github.com/input-output-hk/rscoin-haskell >> >> _______________________________________________ >> nix-dev mailing list >> nix-dev@lists.science.uu.nl >> http://lists.science.uu.nl/mailman/listinfo/nix-dev >> >
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev