Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: How are you deploying your lambdas these days?
7 points by _samjarman 4 months ago | hide | past | favorite | 15 comments
Noting that The Serverless Framework V4 is changing licensing models, has anyone found any alternates? Built their own?



I've been using AWS Chalice[1] (Python), which powers SignalsTalk[2], YCVerify[3] and AirExif[4].

[1]: https://github.com/aws/chalice

[2]: https://www.signalstalk.com/

[3]: https://www.ycverify.com/

[4]: https://www.airexif.com/


I switched from the Serverless Framework to AWS-CDK 5 years ago https://aws.amazon.com/cdk/

I use the Javascript library of aws-cdk


Serverless Framework V.4 looks awesome actually: https://www.youtube.com/watch?v=UQL_PPJUFOU



Can you briefly explain what you think the issues are? I'm just moving from azure functions over to lambda. Code will likely be dotnet and I just assumed I'd use the aws provided tools: codecommit/build/pipeline/deploy. Azure devops did the job fine last time.


Vercel / Next has them built into the framework these days. You just write a function and it deploys automagically with the rest of the frontend. I think they use Cloudflare Workers for that instead of AWS...? Not sure.

https://vercel.com/docs/functions


That sounds right to me though I always deploy my nextJS projects on a VPS, so it just transforms them behind the scenes to the equivalent of self hosted node hosted "lambdas" - only without the associated more aggressive timeouts around Vercel unless you're a paying customer.


I've been using AWS CDK which now supports go. The only gotcha is that I have to cleanup the build cache occasionally which can easily build up-to several gigs over time.


My business has about a dozen lambdas that I configure using terraform, and to deploy I use a regular CI service with the AWS CLI installed.

Been working great for about 3.5 years now


At least for Python, it's usually easy. Just build a Docker image and push from Github action after merge and it's deployed.



We’re building https://rx.run so you don’t have to think about these sorts of things and can just ship your app.

If you can write a function, you can deploy to the cloud. No infra or deployments to configure or manage. Storage, auth, payments, and more are all built right in.

Currently in beta and TypeScript only but support for all mainstream languages coming soon.


I wanted to expand and say that if you are keen on writing and managing infra and running it yourself, besides Serverless Framework, SST, CDK, arc.codes, and Terraform are all good options.


AWS SAM. I'm using Go.


SAM is probably my favorite way to do it myself. Easy enough to wrap your function up however you please and it automatically handles zipping for me. Can even do layers for my dependencies.




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

Search: