29 березня відбувся вебінар від .NET Community – “Exploring Serverless with Azure Functions”.
Спікер: Євген Павленко – Senior Software Engineer, GlobalLogic.
Поговорили на ті теми:
- Вступ до Azure Functions та Serverless;
- Типи хмарного обчислення;
- Переваги serverless;
- Функції та можливості Azure Functions.
2. 2
Agenda
1. Cloud computing
• What is Cloud Computing
• Types of Cloud
• Cloud Service Models
2. Serverless
• Definition & Advantages
• Use cases
• Popular Serverless Platforms
3. Azure Function
• What is Azure Functions
• How Azure function works
• Benefits of Azure Functions
• Azure Function Restrictions
4. Demo
5. Q&A
4. 4
What is Cloud Computing?
• A model for delivering IT services and resources over the internet
• Resources such as servers, storage, and applications are managed
by a third-party provider
• Available to customers on-demand, like an utility service
5. 5
Types of Cloud
• Public Cloud: Resources are owned and managed by a third-party
provider and made available to the public
• Private Cloud: Dedicated resources, owned and managed by the
organization for exclusive use
• Hybrid Cloud: Combination of public and private cloud, allowing for
customization and optimization of resources
6. 6
Cloud Service Models
• Infrastructure as a Service (IaaS): Provides access to computing
infrastructure (servers, storage, network)
• Platform as a Service (PaaS): Provides a platform for developing,
running, and managing applications and services
• Software as a Service (SaaS): Provides access to software
applications over the internet, typically through a web browser
8. 8
Benefits of Cloud Computing
• Scalability: Ability to quickly increase or decrease resources as
needed
• Cost-effectiveness: Pay only for what you use, eliminates the need for
large upfront investments
• Flexibility: Access resources from anywhere with an internet
connection
• Reliability: Service providers manage and maintain the infrastructure,
ensuring high availability
10. 10
Definition & Advantages
• Serverless computing is a cloud computing model where the cloud
provider manages the infrastructure and dynamically allocates
resources to run and scale applications
• Customers only pay for the actual execution time of their code, not for
pre-allocated server capacity
• Benefits include lower costs, increased agility, and automatic scaling
11. 11
Use Cases
• Event-driven applications: Respond to events such as incoming data
or user actions
• Microservices: Break down applications into smaller, independent
components
• Automated tasks: Automatically run tasks such as data processing or
backups
14. 14
What is Azure Functions?
• Azure Functions is a serverless compute service offered by Microsoft
Azure
• Enables developers to build and run event-driven, scalable, and high-
performance applications
• Supports multiple programming languages and platforms
15. 15
Azure Function Bindings
• Input Bindings: Retrieve data from external sources such as queues,
databases, or APIs
• Output Bindings: Write data to external sources such as queues,
databases, or APIs
• Triggers: Start a function in response to an event such as an HTTP
request or a message in a queue
16. 16
Benefits of Azure Functions
• Cost-effective: Pay only for the execution time of your code, not for
pre-allocated server capacity
• Scalable: Automatically scale up or down based on demand
• Versatile: Supports multiple programming languages and platforms,
making it easy to integrate with existing systems
• Event-driven: Can be triggered by events such as incoming data or
user actions
17. 17
Azure Function Restrictions
• Maximum execution time for a single function
• Maximum amount of memory that can be allocated to a function
• Number of function instances that can run simultaneously
• Maximum number of input and output bindings for a function
18. 18
Conclusion
• Types of cloud services: SaaS, PaaS, and IaaS
• Serverless computing and its benefits
• Azure Functions and its features
• Types of Azure Functions and how they can be used
• Azure Functions Restrictions