3
15 Comments

Do you use Netlify Functions? What's the most powerful thing you managed to make with it?

https://docs.netlify.com/functions/overview/

Netlify lets you deploy serverless Lambda functions without an AWS account, and with function management handled directly within Netlify. Your serverless functions are version-controlled, built, and deployed along with the rest of your Netlify site, and we will automatically handle service discovery through our built-in API gateway. This eliminates overhead and brings the power of Deploy Previews and rollbacks to your serverless functions.

Are you using Netlify? Have you used Netlify Functions?

Care to show what you've built with it?

on June 22, 2020
  1. 2

    It's somewhat an abandoned project, but I built https://mdvalues.com/ with Netlify functions.

    Netlify Functions is a nice feature, but my latest projects have required a little more control. Recently, I've been using the Serverless platform for APIs. I like having full control over the configs for the functions. And one of the biggest features that I like with using the Serverless platform is that I can trigger functions from tons of different events inside of the AWS ecosystem (including running on a schedule).

    1. 1

      does netlify functions offers scheduled run? and how configurable is the schedule? can you provide whatever cron you like?

      1. 2

        Netlify Functions does not offer scheduled runs right now. I'm sure it will come to their platform eventually.

        1. 1

          ah ok, thanks for the heads up
          will keep that in mind

  2. 2

    I am currently building PlatformKit (https://www.platformkit.com) which uses Netlify functions for the api by default (though it could be deployed in other ways).

    To be honest, I think it is currently the best solution for Serverless Node APIs.

    1. 1

      are there any limits on free version to host node based api? I mean I saw the numbers on their documentation, but from your perspective, in practice

  3. 2

    Yes, Portabella is hosted on Netlify currently. It was appealing when I started this project because:

    • totally managed service (builds included)
    • server side analytics of $9

    I recently received $5000 AWS credits for incorporating via Stripe Atlas, so I'm planning to migrate my sites and backend there soon. A few negatives I've experienced with Netlify:

    • no historical logs for functions. Not sure exactly how long it is but seems like only a couple of hours are kept
    • no function metrics (error rate, duration, memory usage)
    • another of indirection with netlify-lambda library compared to just zipping for AWS Lambda. Have recently (out of the blue) run into build issues with the which are totally unhelpful
    • local development with netlify dev was slow and constantly having out of memory issues so I wrote an express wrapper with the help of serverless-http for local dev. Now I'm running an express service locally, and.. well I should just run some Docker VMs in production so it matches
    • docs are really strange. No separate build command for the functions and sites?

    In general it was nice while it lasted, but setting up everything on AWS will take me a couple of hours and I'll be done with it.

    1. 2

      Wow so you receive $5k of AWS credits just for incorporating via Stripe Atlas? What requirements do you need to meet?

      1. 2

        Yep, some other platforms like Digital Ocean too. No special requirements I believe https://stripe.com/atlas

        1. 1

          I'll have to check stripe atlas in more details... I was always seeing it but never actually taking a look what it is

    2. 2

      This is a very good post, wow, super insightful thanks for sharing Alex 👍🙏

    3. 1

      ok, so for some serious jobs to consider directly AWS lambdas...
      I have more simple tasks in mind, something that wouldn't be worth setting up everything with AWS. If I understood it correctly, it is AWS lambdas in the background, they just abstract it and provide some basic functionality... and you don't have to deal with AWS and accounts and credit cards

      1. 2

        My understanding is that they just wrap up Lambda and API Gateway into something nice.

        For small apps it is more than sufficient.

  4. 2

    This comment was deleted 6 years ago

    1. 1

      which things don't make sense? I'm totally new into that