[erlang-questions] setting up a VPS for dedicated erlang server
Dmitry Klionsky
dm.klionsky@REDACTED
Thu Mar 2 09:19:21 CET 2017
I also recommend Ansible for its simplicity.
On 03/01/2017 08:08 PM, Oleksii Semilietov wrote:
> I believe Ansible the simplest way to do it. It much simpler than
> Chef or Puppet and works just on top of ssh.
>
> Also, in Haskel community quite popular Nix (https://nixos.org/nix/)
> with NixOps.
> I played with it few month ago and I think it worth to play with.
> I implemented simple Cowboy web application, then wrapped it as Nix
> package and module where I creating systemd service on port 80 and
> start it.
> Samples how to get it with Erlang could be found in my playground
> repo: https://github.com/spylik/zlr-nix
>
> But sure, Ansible is much simple.
>
> Cheers
>
>
> On 1 March 2017 at 13:28, Joe Armstrong <erlang@REDACTED
> <mailto:erlang@REDACTED>> wrote:
>
> Thanks for all your reply - I shall choose one of these and give
> it a try.
> It seems there is a lot of choice.
>
> Next problem.
>
> Given that I have decided on a VPS and payed the $$$ - what I now have
> is a raw machine and some kind of admin interface.
>
> The admin interface will (I guess) allow choice of an OS and set
> up a few
> basic things - at the end of which I assume I can do an SSH login
> and then
> I'm free to play.
>
> The next step is that I want to setup a whole load of things to
> make the machine
> minimally useful - install Erlang etc.
>
> All the installation commands and paths and environment variables
> and so
> will depend upon my choice of OS - it would be nice to just run a
> local
> script (on my machine at home) that automates as much as possible
> of this.
>
> But what I'd prefer to do is abstract away from the package
> manager and say
> Locally
>
> $ remote_install <my VPS> erlang
>
> If my remote machine was a linux machine this might cause an 'apt
> get command'
> to be issued remotely - if the remote machine was windows it would do
> a chocolatey command - it it were a mac it would do a brew command
>
> Is there anything remotely like this???
>
> Has anybody any advice on the best way to proceed. Or do I have to
> write
> a long 'rsh' script :-(
>
> (And no I'm not looking for an expensive tool that does
> *everything* and has
> a 400 page manual - just something simple)
>
> Cheers
>
> /Joe
>
>
>
> On Wed, Mar 1, 2017 at 12:08 PM, Joe Armstrong <erlang@REDACTED
> <mailto:erlang@REDACTED>> wrote:
> > On Wed, Mar 1, 2017 at 11:35 AM, Hugo Mills <hugo@REDACTED
> <mailto:hugo@REDACTED>> wrote:
> >> On Wed, Mar 01, 2017 at 10:24:39AM +0000, Igor Clark wrote:
> >>> Bit late to this party but I really like
> https://www.scaleway.com/ -
> >>> they're European (Paris/Amsterdam), and they provide cheap,
> >>> decent-spec VPSs, as well as their "Bare metal" range which is
> >>> own-design, custom-build, multi-tenant hardware. I use one with
> >>> 4-core/8GB/50GBSSD for €11.99/month. And you get unmetered
> bandwidth
> >>> at a decent fixed rate (300mbps on my package), so you don't get
> >>> out-of-control bandwidth charge horror stories. And no, I
> don't work
> >>> there, I just think they're really good :-)
> >>
> >> I'll second Scaleway. It's Just Worked for me.
> >>
> >> The other recommendation I've got is a small company called
> Bitfolk
> >> (http://bitfolk.com). More expensive than many of the larger
> >> operators, but the quality of the support is superb.
> (Disclaimer: I've
> >> known the owner of the company for many years; I own two
> Bitfolk VMs
> >> and manage a third).
> >>
> >> Hugo.
> >>
> >>> On 28/02/2017 23:52, Nathaniel Waisbrot wrote:
> >>> >>In my experience cheap VPS services tend to be flaky. Amazon
> offers EC2 instance for free for one year. I doubt you can get a
> more reliable setup for the price.
> >>> >
> >>> >
> >>> >The free tier is nice if you're interested in getting into
> Amazon (it's a frequently requested resume item). But I used the
> "free" tier, thought I was being careful, and got slapped with $60
> in charges from network traffic before I could shut things down.
> There is no way to tell Amazon "I would rather go offline than pay
> $x", so a misconfigured cron job or traffic spike (DDoS?) that
> happens while you're asleep is basically guaranteed to cost you.
> >>> >
> >>> >_______________________________________________
> >>> >erlang-questions mailing list
> >>> >erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
> >>> >http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>
> >>>
> >>> _______________________________________________
> >>> erlang-questions mailing list
> >>> erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
> >>> http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>
> >>
> >> --
> >> Hugo Mills | We are all lying in the gutter, but
> some of us are
> >> hugo@REDACTED carfax.org.uk <http://carfax.org.uk> | looking at the
> stars.
> >> http://carfax.org.uk/ |
> >> PGP: E2AB1DE4 | Oscar Wilde
> >>
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
> >> http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>
> >>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
> http://erlang.org/mailman/listinfo/erlang-questions
> <http://erlang.org/mailman/listinfo/erlang-questions>
>
>
>
>
> --
> Oleksii D. Semilietov
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
--
BR,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170302/98cb6862/attachment.htm>
More information about the erlang-questions
mailing list