[erlang-questions] setting up a VPS for dedicated erlang server

Mykola <>
Wed Mar 1 16:35:46 CET 2017


Joe,

I can recommend to take a look at Vagrant <https://www.vagrantup.com/> and play
locally with provisioning. There is many different provisioners
<https://www.vagrantup.com/docs/provisioning/> supported out-of-box, so you
can choose a most comfortable/suitable one.
I have started from shell scripts, then used Ansible, and actually using
Puppet. Key feature for my case - Puppet executed on guest system, so I
don't need Puppet installed at host system - only Puppet modules near to
Vagrantfile.


--
Mykola

2017-03-01 13:28 GMT+02:00 Joe Armstrong <>:

> 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 <> wrote:
> > On Wed, Mar 1, 2017 at 11:35 AM, Hugo Mills <> 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
> >>> >
> >>> >http://erlang.org/mailman/listinfo/erlang-questions
> >>>
> >>> _______________________________________________
> >>> erlang-questions mailing list
> >>> 
> >>> http://erlang.org/mailman/listinfo/erlang-questions
> >>
> >> --
> >> Hugo Mills             | We are all lying in the gutter, but some of us
> are
> >>  carfax.org.uk | looking at the stars.
> >> http://carfax.org.uk/  |
> >> PGP: E2AB1DE4          |
>  Oscar Wilde
> >>
> >> _______________________________________________
> >> erlang-questions mailing list
> >> 
> >> http://erlang.org/mailman/listinfo/erlang-questions
> >>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170301/36d93465/attachment.html>


More information about the erlang-questions mailing list