# Hugo Build System on AWS Lambda

**URL:** <https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197>\
**Category:** tips & tricks\
**Created:** [May 17, 2015, 6:21pm UTC](https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197 "2015-05-17T18:21:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![DerekPerkins](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/derekperkins/32/124_2.png) [@DerekPerkins](https://discourse.gohugo.io/u/DerekPerkins)\
**Post date:** [May 17, 2015, 6:22pm UTC](https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197/1 "2015-05-17T18:22:00Z")

</div>

This library looks pretty cool that was posted on Hacker News today. (I’m unaffiliated)

> **[ryansb/hugo-lambda](https://github.com/ryansb/hugo-lambda)**
>
> Use AWS Lambda to run the Hugo static site generator - ryansb/hugo-lambda

Give the post a little bump on HN too.  
[https://news.ycombinator.com/item?id=9559078](https://news.ycombinator.com/item?id=9559078)

---

<div class="post-metadata">

**Author:** ![dhersam](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@dhersam](https://discourse.gohugo.io/u/dhersam)\
**Post date:** [May 21, 2015, 8:06pm UTC](https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197/2 "2015-05-21T20:06:23Z")

</div>

That does look pretty cool. I was just looking at AWS Lambda for something unrelated, but this seems like a perfect application of using temporary compute resources.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [May 21, 2015, 11:22pm UTC](https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197/3 "2015-05-21T23:22:42Z")

</div>

This looks really cool … but, and this may sideway the thread a bit, but – do someone have any recommendation for a good priced Linux host for doing these kinds of Git hooks, but also some other simple crontab activities? Very low bandwith and cpu, but would be on 24/7.

---

<div class="post-metadata">

**Author:** ![RickCogley](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rickcogley/32/10269_2.png) [@RickCogley](https://discourse.gohugo.io/u/RickCogley)\
**Post date:** [May 22, 2015, 12:07am UTC](https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197/4 "2015-05-22T00:07:56Z")

</div>

@bjornerik we’ve used all these with success:

- AWS EC2 micro instance with Amazon Linux [https://aws.amazon.com/ec2/](https://aws.amazon.com/ec2/)
- Digital Ocean [https://www.digitalocean.com](https://www.digitalocean.com)
- Open Hosting [http://openhosting.com](http://openhosting.com)
- Linode [https://www.linode.com](https://www.linode.com)

---

<div class="post-metadata">

**Author:** ![RickCogley](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rickcogley/32/10269_2.png) [@RickCogley](https://discourse.gohugo.io/u/RickCogley)\
**Post date:** [May 22, 2015, 12:09am UTC](https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197/5 "2015-05-22T00:09:49Z")

</div>

Or even webfaction, which is shared hosting, but you can do cron and access via ssh. [https://www.webfaction.com](https://www.webfaction.com)

All of these have had good performance, reliability and support.

---

<div class="post-metadata">

**Author:** ![dhersam](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@dhersam](https://discourse.gohugo.io/u/dhersam)\
**Post date:** [May 28, 2015, 1:21pm UTC](https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197/6 "2015-05-28T13:21:09Z")

</div>

@bep I use Linode for production / mission critical services, but for this sort of thing, a 128MB RAM OpenVZ VPS from [RamNode](https://www.ramnode.com/vps.php) would work well, and it’s only $15/year (i.e. $1.25/month). They have a location in the Netherlands, which would probably have the best ping times to Norway.

The performance is impressive for such a low price and RAMNode consistently wins the #1 spot in the [LowEndBox](http://lowendbox.com/blog/top-provider-poll-2014-q3-the-results/) polls.

---

<div class="post-metadata">

**Author:** ![RickCogley](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rickcogley/32/10269_2.png) [@RickCogley](https://discourse.gohugo.io/u/RickCogley)\
**Post date:** [May 28, 2015, 1:59pm UTC](https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197/7 "2015-05-28T13:59:33Z")

</div>

@dhersam thanks for the tip. Good to know.

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [May 28, 2015, 8:25pm UTC](https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197/8 "2015-05-28T20:25:35Z")

</div>

Thanks. It was certainly very easy to setup. And since all the programs I want to run is Go programs, it is easy-peasy installation. From registration to first kind-of-working cron-setup: 10 minutes.

---

<div class="post-metadata">

**Author:** ![dhersam](https://avatars.discourse-cdn.com/v4/letter/d/c5a1d2/32.png) [@dhersam](https://discourse.gohugo.io/u/dhersam)\
**Post date:** [May 28, 2015, 8:47pm UTC](https://discourse.gohugo.io/t/hugo-build-system-on-aws-lambda/1197/9 "2015-05-28T20:47:01Z")

</div>

You’re welcome. And that is a fantastic feature of Go being so easy to install. I’ve been starting to use Docker to try to get that ease of deployment for other web applications. Who knows, at some point we could have Go all the way down 🙂
