3
5 Comments

Multi-tenant serverless examples?

Does anyone have really solid example tutorials?

As I noob on AWS/serverless.com and node.js in general, it really helps to see practical examples.

These are good starting off points (below) but my non-tech brain needs more. Welcome your contributions here so everyone interested can grow.

Anomaly Innovations Serverless Stack--
https://serverless-stack.com/

Gabe Hollombe's Awesome Photo Album--
https://amplify-workshop.go-aws.com/10_prerequisites.html

Regrettably I can't get AWS Amplify in mainland China for the standard mysterious and unexplainable reasons.

on October 10, 2019
  1. 1

    I'd highly suggest looking into Prisma 2 + Nextjs + Zeit's now service. I made a video series on how to create a blog website and the stack itself is a really nice combination. Next.js has server-side rendering so that you'll get all the SEO goodness and everything runs behind the scenes in lambda functions so it should scale easily.

    Locally, you can run it all in a docker environment so that it will run consistently across different operating systems. I'd love to hear what you think in either case. (Also, just fyi this builds on earlier tutorials if you really want to start from square one instead of picking up from a commit.)

    I'm working on creating more expansive free and paid courses on this same subject but I just haven't finished yet. I can report that this stack is significantly easier to customize than Appsync + Amplify but the latter could be a good avenue if your app has a very limited set of things that you are trying to do. (i.e. you just want to make a photo uploading service.) Honestly, I'd say that you probably aren't missing much there.

    https://www.youtube.com/watch?v=wxUyz1obiAw&list=PLNVtwe5rhabCN5EyAU5f3ZyDQ9nlhwd5e

    1. 2

      Thanks for the generous contribution. I will give it a look/see. Currently using Dokku or https-portal (https://github.com/SteveLTN/https-portal) with docker containers in the most rudimentary fashion. Serverless is the wave of the future so hope to see more posts about it here.

      1. 1

        FWIW I’ve heard it can get real expensive, real quick. No such thing as a free lunch :)

        1. 1

          No one said anything about free!

          1. 1

            People often think serverless frees them of certain “costs”, while this may appear to be true, often the costs are just dispersed in opaque ways. Free has many contexts/meanings - not only financial.
            That said, I did see a great thread on Twitter about “how to think of using serverless” it was compelling and advocated the use to extend capabilities of infrastructure rather than to replace typical server infrastructure like ec2.
            Either way, I wish you good luck! 🙂