Hacker News new | past | comments | ask | show | jobs | submit login

I have moved from Jekyll to Hugo. Functionally it's the same for my use case, but in a single binary, meaning I don't have to maintain a full Ruby stack.

I've now moved it into Lambda, so to post a new page to my blog, I drop the markdown file in an S3 bucket, and literally a few seconds later my blog is updated, Cloudfront and all.




I too would love to read a write up. I've just recently moved a lot of things over to AWS (from a traditional VPS) and having hugo in Lambda would be the last piece of the S3+Cloudfront cake.



Oh interesting! Care to share a small write-up about how you set it up?


The key stuff is from this project (not mine) https://github.com/ryansb/hugo-lambda

I couldn't get to CloudFormation template deploy working, so set it all up by hand, using the scripts in that repo as a base.

Once you figure out how it works, it becomes easy to start adding other commends to run (for example, I added some lines to invalidate CloudFront when I uploaded a blog post).

If I get a change over the next week or so I'll update a repo with the scripts I use, but as I said it's based on the above anyway.




Consider applying for YC's first-ever Fall batch! Applications are open till Aug 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: