Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Serverless Architecture and AWS Lambda

Serverless Architecture and AWS Lambda

Serverless Architecture and AWS Lambda

Nishant Kumar

February 27, 2020
Tweet

Other Decks in Programming

Transcript

  1. Serverless Architecture and AWS Lambda By: Nishant Kumar Senior Engineer

    @candis.io @Meetup: JS-Berlin-Geekle-Club @nishant8BITS
  2. What we do at Candis Some of the projects we

    work on: • Modularizing our main product to enable us to scale into international markets and offer our users the product they need. • We’re always looking at emerging technologies that could help our users save time and enable new real-time workflows. • Improving the quality of our data extraction pipelines using machine learning and other approaches while maintaining a high level of accuracy. Our TechStacks • Javascript, Typescript • Node, React • MongoDB • AWS • Kubernetes and its surrounding services • Serverless Architecture Social Presence Our Website LinkedIn Kununu Instagram
  3. What options are available to run code on cloud ?

    • Bare Metal • IaaS (VM) - AWS EC2 Instance • CaaS (Container) - AWS ECS , Microsoft Azure Container Service (ACS) • PaaS (App) - AWS Elastic Beanstalk, Windows Azure, Heroku, Google App Engine, Apache Stratos. • Serverless (Function - FaaS) - AWS Lambda, Google Cloud Function, Azure Function More Control, More Management, More Code Less Control, Less Management, Less Code
  4. Operational Model • No server/infra to provision or manage •

    Flexible Scaling (Auto Scaling) • Pay only for usages • Highly available and secure
  5. AWS Lambda ……..“AWS Lambda lets you run code without provisioning

    or managing servers. You pay only for the compute time you consume.”
  6. AWS Lambda - Pay per use pricing • Pay for

    compute time in 100ms increment • No hourly, daily or monthly minimum commitment or charges • No per device cost • Never pay for idle 1 Million requests are free every months for ever customer More details on Pricing : https://aws.amazon.com/lambda/pricing/
  7. So What AWS Lambda take care for you ? ...

    • Load Balancing • Auto Scaling • Handling Failures • Security Isolations • OS Management • Managing Resources Utilization • Built-in Metrics / Logs
  8. Resources Sample Applications and Learning Resources: • https://github.com/aws-samples/aws-serverless-workshops • https://github.com/aws-samples/aws-serverless-chatbot-sample

    • https://martinfowler.com/articles/serverless.html • https://github.com/anaibol/awesome-serverless • https://aws.amazon.com/tools/