This document discusses serverless computing and compares it to traditional server-based computing. Some key points:
- Serverless allows for inherent scalability, cost savings since customers only pay for resources used, and lower latency since code can execute near users. However, testing/debugging is more difficult and vendor lock-in is a risk.
- Serverless is compared to IaaS/PaaS/SaaS models, with serverless being akin to "buying a plane ticket and flying" rather than owning/renting infrastructure.
- Popular serverless options like Python and JavaScript Azure Functions are discussed, along with benefits like auto-completion, independent IDE usage, and ease of cloud integration and deployment.
11. So before get to know
● API and Rest API
● OPS
● TOPS
● Server Side Scripting
● How an API works?
● What is the function of the entire system that you want to implement as there
are many services.
12. Why serverless is more handy
● Scalability is inherent in serverless designs.
● Developers are only charged for the server space they utilise, which saves money.
● Code may be executed closer to the end user, reducing latency.
● It is feasible to deploy and upgrade software quickly.
● There is no need for server administration.
13. Cons of the Serverless
● Testing and debugging become more difficult.
● Serverless computing raises new worries about security.
● Serverless architectures are not intended to support long-running operations.
● Performance may suffer as a result.
● The possibility of vendor lock-in exists.
14. This or that all still remain same for the purpose
V/S V/S
21. So let's just compare to the Cloud?
Buying a plane is - IaaS/VM
Renting a Plane is - PaaS
Buying a plane ticket and flying is - Serverless
22. So now why is it priced the way it is priced?
So there are multiple reasons for it:
We cna list some of them here(well actually I am Listing some so listen if you have
any thing to say then ping me later)
23. Choice of Language C#,java,javascript,python and
powershell is also available..
24. Python Azure Function
● It is entirely open source.
● First-rate interaction with Visual Studio Code and the CLI Trigger Python code
from a variety of sources.
● Scale and cost for serverless computing
● Monitoring in real time using Azure Application Insights,
● Set up continuous integration and delivery (CI/CD) with Travis CI, Azure
DevOps, and other tools.
25. Rich Intellisense and Easy Cloud Integration
● They are nothing but easy auto fills and deployment of the code.
● It's independent of the IDE(Integrated Development Environment) that we are
using.
● This is “Pro” of the Technology today.
26. We need to do some installation prior on bare metal OS
If you are a beginner we will be doing the
Visual Studio Code (all our demos happen with this only and sometimes visual studio community
edition)
https://code.visualstudio.com/
.NET Core 3.1 (LTS is what I prefer)
.NET Tutorial | Hello World in 10 minutes (microsoft.com)
The live channel that i would love you all to see: .NET Live TV | Live developer streams every day
(microsoft.com)
VSCode Azure Functions extension : I prefer azure tools(I will show this)
Azure Functions Core Tools
Work with Azure Functions Core Tools | Microsoft Docs
27. We need to do some installation prior on bare metal OS
If you are a beginner we will be doing the
Python interpreter from the python.org
Nodejs from the nodejs.org
And if you need any more you can do it.
28. Some commands will still remain same relate to some
projects or the software
1. func init
2. func new
3. func start
4. func deploy
5. func publish
29. Some VS Code Shortcuts
● ctrl + ` - Command prompt in the VS Code
● Code . - For opening the VS Code
● ctrl+shift+P - Command Pallet