6 ms·
Ask HN: How are you deploying your lambdas these days?
Noting that The Serverless Framework V4 is changing licensing models, has anyone found any alternates? Built their own?
- fitzgera1d 2y agoServerless Framework V.4 looks awesome actually: https://www.youtube.com/watch?v=UQL_PPJUFOU https://www.youtube.com/watch?v=UQL_PPJUFOU
- giorgioz 2y agoI switched from the Serverless Framework to AWS-CDK 5 years ago https://aws.amazon.com/cdk/ https://aws.amazon.com/cdk/ I use the Javascript library of aws-cdk
- TheJCDenton 2y agoAWS SAM. I'm using Go.
- Something1234 2y agoSAM 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.
- solardev 2y agoVercel / 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 https://vercel.com/docs/functions
- vunderba 2y agoThat 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.
- solardev 2y agoRelated discussion: https://news.ycombinator.com/item?id=40589152 https://news.ycombinator.com/item?id=40589152
- rozenmd 2y agoMy 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
- khalidx 2y agoWe’re building https://rx.run 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.
- khalidx 2y agoI 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.
- whinvik 2y agoAt least for Python, it's usually easy. Just build a Docker image and push from Github action after merge and it's deployed.
- metatranca 2y agoFor JS I use https://github.com/vercel/ncc https://github.com/vercel/ncc
- thorin 2y agoCan 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.
- dj0k3r 2y agoI'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.
- ivylee 2y agoI've been using AWS Chalice[1] (Python), which powers SignalsTalk[2], YCVerify[3] and AirExif[4]. [1]: https://github.com/aws/chalice https://github.com/aws/chalice [2]: https://www.signalstalk.com/ https://www.signalstalk.com/ [3]: https://www.ycverify.com/ https://www.ycverify.com/ [4]: https://www.airexif.com/ https://www.airexif.com/