[Haskell-beginners] Yezod and Snap deployments to ISP

Michael Snoyman michael at snoyman.com
Wed Aug 4 14:41:44 EDT 2010


I should note that specifically Yesod can run as CGI, FastCGI, SCGI or
standalone, so serving it on shared hosting isn't a problem. The deploying
page[1] gives sample config files, and the yesod-hello[2] package provides
some runnable examples. The only trick is actually compiling the executable
for a shared host, which as implied by the blog post mentioned by Rob can be
a little tedious.

I've successfully run Yesod apps on nearlyfreespeech, but that required
installing FreeBSD in a virtual machine. I wouldn't recommend it for a
production deployment, but it might be enough for testing things out.

Regards,
Michael

[1] http://docs.yesodweb.com/yesod/deploying.html
<http://docs.yesodweb.com/yesod/deploying.html>[2]
http://github.com/snoyberg/yesod-hello

On Wed, Aug 4, 2010 at 9:30 PM, Robert Wills <wrwills at gmail.com> wrote:

> Webfactional doesn't provide VPS services but you can still run Haskell
> apps on their servers.
>
> http://wrwills.webfactional.com/2009/10/30/Haskell-on-a-Webfaction-Host
>
> <http://wrwills.webfactional.com/2009/10/30/Haskell-on-a-Webfaction-Host>
> -Rob
>
>
> On Wed, Aug 4, 2010 at 3:50 PM, Toby Thain <toby at telegraphics.com.au>wrote:
>
>>
>> On 3-Aug-10, at 2:11 PM, Kyle Murphy wrote:
>>
>> Your choice of ISP will always determine your choice of
>> language/framework, and vice versa. Most cheap ISPs only support a limited
>> subset of languages and/or frameworks, typically ASP.NET, PHP, or Java.
>> Some ISPs will also dictate other choices, such as using a particular web
>> server (Apache, Tomcat, IIS, etc.), or a particular DB such as MySQL, MS
>> SQL, or PosgreSQL. On the more expensive end of choices you have dedicated
>> servers or private virtual servers, where you have complete control over
>> what you run and it's up to you to configure the services you want. The
>> downside to private virtual servers is that they typically have fairly
>> strict resources limits, such as 300M of RAM, or 5G of storage. Finally, the
>> most expensive option is a co-location facility that will plug your server
>> into their network and provide you backbone access, but which allows you to
>> not only control what software you run, but also the hardware that it runs
>> on.
>>
>> At this time, I know of no ISP that directly supports Haskell, in
>> particular Happs, Yesod, or Snap, so if you want to run any of those you'll
>> have to go with a dedicated server, or a virtual server. As for sending
>> e-mail, and language should be able to send e-mail if you have a properly
>> configured mail server that it can connect to, but the details of how to
>> configure that are a bit much to put into an e-mail.
>>
>> If you want to play around with Yesod, I and a couple other people are
>> using slicehost to run various Haskell based webapps (under a variety of
>> frameworks), but be aware that it's more expensive than a lot of cheap hosts
>> (~$20 a month for a basic server with 256M of RAM), and you'll be
>> responsible for administering your own server, as well as having to work
>> within the limited resources provided.
>>
>>
>>
>> Other than slicehost, here are some more VPS hosting options, in USA.
>>
>>
>>    -  http://www.hostgator.com/ <http://www.hostgator.com/>
>>    -  http://mediatemple.net/webhosting/<http://mediatemple.net/webhosting/>
>>    -  http://www.gandi.net/ <http://www.gandi.net/>
>>    -  http://www.webfaction.com/ <http://www.webfaction.com/>
>>    -  http://linode.com/ <http://linode.com/>
>>    -  http://laughingsquid.us/ <http://laughingsquid.us/>
>>    -  http://aws.amazon.com/ec2/ <http://aws.amazon.com/ec2/>
>>    -  http://www.rackspace.com/ <http://www.rackspace.com/>
>>    - Comparison chart (June 2010):
>>    http://advogato.org/person/etbe/diary/792.html<http://advogato.org/person/etbe/diary/792.html>
>>
>> --Toby
>>
>>
>>
>> -R. Kyle Murphy
>> --
>> Curiosity was framed, Ignorance killed the cat.
>>
>>
>> On Tue, Aug 3, 2010 at 12:48, MH <mhamro at gmail.com> wrote:
>>
>>> I want to build a website using haskell and deploy it to some ISP. I
>>> appreciate if you help me understand the following:
>>> 1. Do I need to consider using special ISP to deploy Yezod or Snap?
>>> 2. Do I need to consider using special ISP to deploy any other Haskell
>>> based web app?
>>> 3. To start with I need to display a static content and ability to send
>>> email from user submitted form. Can I send email with these Web frameworks
>>> (I would appreciate the samples)?
>>> 4. Can you recommend me any ISP in USA?
>>>
>>> Thanks a lot.
>>>
>>> Malik
>>>
>>>
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners at haskell.org
>>> http://www.haskell.org/mailman/listinfo/beginners
>>>
>>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>>
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://www.haskell.org/mailman/listinfo/beginners
>>
>>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100804/56d3d477/attachment-0001.html


More information about the Beginners mailing list