Serverless

#aws #devops

In EC2 Architecture. I'm paying bills per hour and It's always running. If anything goes south, it's on me and too much trouble.

But serverless I just code and never worry about architecture. It only runs when called upon. But cold starts.

Setup


  • Open Amazon Lambda Functions. Type name and select language. Create
  • Add trigger. API Gateway. Custom Rest API open security. Create
  • Edit and Deploy code source and boom.

Serverless NodeJS package


Read documentation bitch. Good night.