Mastering Azure Serverless Computing
281 pages
English

Vous pourrez modifier la taille du texte de cet ouvrage

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Mastering Azure Serverless Computing , livre ebook

-

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
281 pages
English

Vous pourrez modifier la taille du texte de cet ouvrage

Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

A comprehensive guide that will teach you to build and implement Azure serverless solutions Key Features a- Learn the Function as a Service (FaaS) offering from Microsoft Azure a- Build Enterprise-grade workflows and integration using Azure Logic App a- Build event-driven Serverless solutions using Azure Event Grid a- Use Azure Service Bus to facilitate messaging between Azure Serverless components a- Implement advanced Serverless services such as Azure Serverless SQL Database and Azure Serverless Kubernetes Description The book starts with the basic concepts of Serverless Computing, its evolution, characteristics, and benefits. The next set of chapters is based on Azure Function as a Service (FaaS) programming model where you will gain proficiency in creating Serverless Azure Function, which is the basic unit of Azure Serverless Computing. Furthermore, the book focuses on building Azure Serverless Messaging, Integration, and Workflow that facilitates communication between components in the Azure Serverless ecosystem. Azure Logic Apps, Azure Event Grid, and Azure Service Bus are explained in detail. You will also work with advanced Azure Serverless services such as Azure Serverless Database and Azure Serverless Kubernetes that are essential for building highly scalable (at runtime) next-generation Serverless applications. Towards the end, the book focuses on reference architectures for Serverless Computing scenarios. By now, you will be proficient in working with Azure Serverless components, and their integration and can design and build an end to end Azure Serverless solution. What will you learn a- Design and implement Serverless workflows using Azure Logic Apps a- Design and implement Integration Services using Azure Event Grid a- Learn how to build Messaging Services on Azure Serverless platform a- Work with Azure Serverless SQL database a- Get familiar with Azure Serverless Kubernetes Architecture Who this book is for Anyone familiar with Cloud Fundamentals can use this book to get upskilled in Azure Serverless Computing and become an expert in it. Architects and Developers proficient in Microsoft Azure can use this book to learn Azure Serverless Computing and apply the knowledge gained to design and build solutions in this area. Table of Contents 1. Introduction to Azure Serverless Computing 2. Azure Functions 3. Azure Durable Functions 4. Azure Logic Apps 5. Azure Event Grid 6. Azure Service Bus 7. Azure Serverless SQL Database 8. Azure Serverless Kubernetes 9. Designing Azure Serverless Solutions 10. Implementing Azure Serverless Solutions About the Author Abhishek Mishra is an Architect with a leading Fortune 500 software multinational company and has deep expertise in designing and building Enterprise-grade Intelligent Azure and .NET based architectures. He is an expert in .NET Full-stack, Azure (PaaS, IaaS, Serverless), Infrastructure as Code, Azure Machine Learning, Intelligent Azure (Azure Bot Services and Cognitive Services) and Robotics Process Automation. He has a rich 14+ years of experience working across top organizations in the industry. He loves blogging and is an active blogger on C# Corner. He has been awarded C# Corner Most Valuable Professional (MVP) - December 2018 and December 2019 two times in a row for his contributions to the developer community. He is an active speaker and delivers sessions on Azure. He has spoken in leading conferences like nopCommerce Days 2019 Mumbai, C# Corner Pune Conference 2019, Global Power Platform Bootcamp Pune, and many more. Certifications to his credit - TOGAF Certified, Microsoft Certified Solutions Associate in Machine Learning, Microsoft Certified Azure Developer Associate, and many more. Your Blog links: https://www.c-sharpcorner.com/members/abhishek-mishra16 Your LinkedIn Profile: https://www.linkedin.com/in/abhishek-mishra-4890909

Sujets

Informations

Publié par
Date de parution 03 septembre 2020
Nombre de lectures 3
EAN13 9789389898170
Langue English

Informations légales : prix de location à la page 0,0600€. Cette information est donnée uniquement à titre indicatif conformément à la législation en vigueur.

Extrait

Mastering Azure Serverless Computing

Design and Implement End-to-End Highly Scalable Azure Serverless Solutions with Ease

Abhishek Mishra
FIRST EDITION 2020
Copyright © BPB Publications, India
ISBN: 978-93-89898-163
All Rights Reserved. No part of this publication may be reproduced or distributed in any form or by any means or stored in a database or retrieval system, without the prior written permission of the publisher with the exception to the program listings which may be entered, stored and executed in a computer system, but they can not be reproduced by the means of publication.
LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY
The information contained in this book is true to correct and the best of author’s & publisher’s knowledge. The author has made every effort to ensure the accuracy of these publications, but cannot be held responsible for any loss or damage arising from any information in this book.
All trademarks referred to in the book are acknowledged as properties of their respective owners.
Distributors:
BPB PUBLICATIONS
20, Ansari Road, Darya Ganj
New Delhi-110002
Ph: 23254990/23254991
MICRO MEDIA
Shop No. 5, Mahendra Chambers,
150 DN Rd. Next to Capital Cinema,
V.T. (C.S.T.) Station, MUMBAI-400 001
Ph: 22078296/22078297
DECCAN AGENCIES
4-3-329, Bank Street,
Hyderabad-500195
Ph: 24756967/24756400
BPB BOOK CENTRE
376 Old Lajpat Rai Market,
Delhi-110006
Ph: 23861747
Published by Manish Jain for BPB Publications, 20 Ansari Road, Darya Ganj, New Delhi-110002 and Printed by him at Repro India Ltd, Mumbai
Dedicated to
The book is dedicated to my lovely daughter Aaria.
About the Author
Abhishek Mishra is an Architect with a leading Fortune 500 software multinational company and has deep expertise in designing and building Enterprise-grade Intelligent Azure and .NET based architectures. He is an expert in .NET Full-stack, Azure (PaaS, IaaS, Serverless), Infrastructure as Code, Azure Machine Learning, Intelligent Azure (Azure Bot Services and Cognitive Services) and Robotics Process Automation. He has a rich 14+ years of experience working across top organizations in the industry. He loves blogging and is an active blogger in the C# Corner developer community. He has been awarded C# Corner Most Valuable Professional (MVP) - December 2018 and December 2019 two years in a row for his contributions to the developer community.
He is an active speaker and delivers sessions on Microsoft Azure. He has spoken in leading conferences like nopCommerce Days 2019 Mumbai, C# Corner Developer Conference 2019 Pune, Global Power Platform Bootcamp Pune, and many more.
Certifications to his credit – TOGAF Certified, Microsoft Certified Solutions Associate in Machine Learning, Microsoft Certified Azure Developer Associate, and many more.
Acknowledgement
I would like to thank the entire BPB team for giving me this opportunity to author this book and guiding me throughout the journey and for trusting me with this assignment.
I would like to thank the editing team for editing this book and making the manuscripts look neat and perfect.
Preface
There are different hosting models available in the cloud. In the case of Infrastructure as a Service, you reserve a Virtual Machine along with necessary infrastructure services like Virtual Networks, Data Disks, IP Address, and many more. And then, you host your application on the Virtual Machine. You end up paying for the Virtual Machine and all necessary infrastructure for as long as you are using it. You also end up managing the software upgrades and patches for the Virtual Machine. The cloud vendor manages the underlying infrastructure.
You may choose to host your application as Platform as a Service Model where you delegate the responsibility of infrastructure and the hosting software management to the cloud vendor. You build your application and host it on the cloud service and need not worry about the underlying infrastructure and the hosting software. You need to plan out all scaling requirements and configure scaling for your application. This hosting model is a cheaper option as compared to infrastructure as a Service. However, you end up paying for the service that is hosting your application even if it is idle and not serving any request.
You can use the Serverless hosting model to host your application. The Serverless hosting model does not mean that your application is not executing on any server. Here the cloud vendor takes care of the underlying infrastructure and the hosting software. The underlying cloud platform decides when and how to scale your hosted application. You get billed only for the duration when the code executes and the computing resources your application consumes while executing. You end up paying for what you use, unlike other hosting models. These aspects make Serverless Computing the popular choice for hosting applications.
Microsoft Azure offers an array of Azure Serverless Services. You can build and host enterprise-grade highly scalable Serverless solutions using the Azure Serverless offerings. You can host your business logic, build business workflows, build event-driven solutions, and many more using Azure Serverless offerings. You can integrate your Serverless solutions with other Azure Services and on-premises applications with ease using Azure Serverless services. You can also define an enterprise-grade messaging strategy for your Azure Serverless components. This book explains each of these areas in detail.
The book starts with basic concepts of Serverless Computing, its evolution, characteristics, and benefits. You will get a thousand feet overview of Azure Serverless Computing offerings here along with a basic understanding of Azure Serverless Computing Fundamentals.
The next set of chapters is based on the Function as a Service (FaaS) programming model on the Azure platform. In these chapters, you will gain proficiency in creating Azure Function, which is the basic unit of Azure Serverless Computing. You will learn how to orchestrate Azure Functions using Durable Function and manage the state of these Azure Functions.
The next set of chapters deal with building Azure Serverless Messaging, Integration, and Workflow solutions that facilitate communication between different components in the Azure Serverless ecosystem. Azure Logic Apps, Azure Event Grid, and Azure Service Bus are explained in detail in these chapters. The subsequent chapters deal with Azure Serverless advanced areas like Azure Serverless Database and Azure Serverless Kubernetes. These new Serverless offerings are very much essential to build highly scalable next-generation Serverless solutions.
By now, you will gain a good amount of proficiency in Azure Serverless services. You get a good understanding of the integration and messaging strategy for the Azure Serverless services. The next set of chapters focuses on building and implementing a near-production Azure Serverless solution. You learn how to design and build Azure Serverless solutions using all the concepts you learned in this book.
Errata
We take immense pride in our work at BPB Publications and follow best practices to ensure the accuracy of our content to provide with an indulging reading experience to our subscribers. Our readers are our mirrors, and we use their inputs to reflect and improve upon human errors if any, occurred during the publishing processes involved. To let us maintain the quality and help us reach out to any readers who might be having difficulties due to any unforeseen errors, please write to us at:
errata@bpbonline.com
Your support, suggestions and feedbacks are highly appreciated by the BPB Publications’ Family.
Table of Contents
1. Introduction to Azure Serverless Computing
Structure
Objectives
Overview of Serverless Computing
Evolution of Serverless Computing
Characteristics of Serverless Computing
On-Demand execution
Elastic
No host
Distributed
Shorter execution time
Benefits of Serverless Computing
Lower cost
Scale on demand
Reduced application go-live time
Highly available
Separation of concerns
A quick tour of Azure Serverless Computing Services
Azure Functions
Azure Durable Functions
Azure Logic Apps
Azure Event Grid
Azure Service Bus
Azure Serverless SQL Database
Azure Serverless Kubernetes
Summary
Questions
Answer
2. Azure Functions
Structure
Objectives
Overview of Azure Functions
Essential Features of Azure Functions
On-Demand Scaling
On-Demand Execution
Compute On-Demand
Pay per Use Model
Multiple Supported Languages
Support for popular development libraries
Easy Integration
Secured
Stateless
Open Source
Support for Continuous Integration and Deployment
Supported Programming Languages
Types of Azure Functions
Event-Driven
Scheduled
HTTP Triggered
Hosting Plans
Consumption plan
Premium plan
Dedicated plan
How Dynamic Scaling works
Triggers and Bindings
Create Azure Function using Azure Portal
Log in to Azure Portal
Create a new Azure Function App
Test the new Function created
Create Azure Functions using Visual Studio
Create a local Function using Visual Studio
Deploy your code to Azure Function from Visual Studio
Securing Azure Functions
Monitoring Azure Functions
Diagnostic Logs
Log streaming
Process explorer
Metrics
Lab Exercise
Summary
Questions
Answer
3. Azure Durable Functions
Structure
Objectives
Durable Functions Overview
Benefits of Durable Functions
Azure Functions Chaining
Parallel invocation of Azure Functions
Orchestrate Stateful Workflows using code
Facilitate Error Handling and Retry Mechanisms in Azure Functions Orchestration
Make your Azure Functions stateful and manage state
Facilitate Timeout and cancellation scenarios
Serverless component
Supports an array of programming patterns
Easy to develop and test in your local environment
C

  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents