DEV Community

What do you think of the Serverless Framework?

Christopher Wray on January 16, 2021

This week, Ivan UshmorovFollow Web Developer, Serverless enthusiast, Dad, heavy iron fan. Ru...
Collapse
 
jsrn profile image
James

No comment on what the future of web development might be, but I've found the Serverless Framework to be an extremely low friction way of writing and deploying code to AWS services.

Much recommended.

Collapse
 
ben profile image
Ben Halpern

I've found it nice to work with too.

I think the key is figuring out whether it is the right tool for the job (or deliberately shaping the job around the tool)... If those criteria are met, it's a joy to work with.

Collapse
 
cwraytech profile image
Christopher Wray

That is great. Any examples where you would recommend serverless over traditional monolith?

Collapse
 
cwraytech profile image
Christopher Wray

That is cool. I love the idea, but I am really just scratching at the surface I think.

How did you go about learning Serverless Framework?

Collapse
 
jsrn profile image
James

I wouldn't call myself an expert, but a couple things helped me get what little experience I have:

  • The documentation, examples and templates are better than average.
  • A lot of AWS services are either cheap as chips or anything you get up to while learning will fall comfortably into the free tier. This makes learning by doing really appealing, which is how I learn best anyway.

Sorry that's not much use, but I'm also pretty close to the surface!

Collapse
 
lifesav25680171 profile image
lifesaver

Cloud computing, edx.org

Collapse
 
kzqai profile image
Coco Ronalds

Serverless framework allows you to do many things. The problem is that it is not very opinionated on how you do it. So people do stuff in ways that do not scale or roll their own with serverless. I started in PHP and now I would say if you are interested in the JAMstack approach to modern web development, try spinning up a POC app in aws amplify. Even if you don’t use amplify at the end, just getting familiar with what they do levels up a developer’s approach to modern cloud-based software.

Collapse
 
ibrahimcesar profile image
Ibrahim Cesar

I thinks is a great doorway to develop FaaS and other managed services. Has a ton of solutions and I see as some kind of "WordPress of Serverless". Said that I think is another level of abstraction, and never a cloud has a mapping 1:1 between services and capabilities so is not like an agnostic tool (other problem I see with Terraform). I thin since 1.0 SAM is mature to provide a great developer experience for newcomers to serverless (in AWS space at least). Now I'm leaning towards CDK.

Also, if you use some sort of component it is very concerning that Serverless Framework violates the security principle of least privilege sending your AWS credentials.