Beginning Serverless Architectures with Microsoft Azure - Daniel Bass - E-Book

Beginning Serverless Architectures with Microsoft Azure E-Book

Daniel Bass

0,0
12,66 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

Migrating your application to a cloud-based serverless architecture doesn't have to be difficult. Reduce complexity and minimize the time you spend administering servers or worrying about availability with this comprehensive guide to serverless applications on Azure.




Key Features



  • Provides information on integration of Azure products


  • Plan and implement your own serverless backend to meet tried-and-true development standards


  • Includes step-by-step instructions to help you navigate advanced concepts and application integrations





Book Description



Many businesses are rapidly adopting a microservices-first approach to development, driven by the availability of new commercial services like Azure Functions and AWS Lambda. In this book, we'll show you how to quickly get up and running with your own serverless development on Microsoft Azure. We start by working through a single function, and work towards integration with other Azure services like App Insights and Cosmos DB to handle common user requirements like analytics and highly performant distributed storage. We finish up by providing you with the context you need to get started on a larger project of your own choosing, leaving you equipped with everything you need to migrate to a cloud-first serverless solution.





What you will learn



  • Identify the key advantages and disadvantages of serverless development


  • Build a fully-functioning serverless application and utilize a wide variety of Azure services


  • Create, deploy, and manage your own Azure Functions in the cloud


  • Implement core design principles for writing effective serverless code





Who this book is for



This book is ideal for back-end developers or engineers who want a quick hands-on introduction to developing serverless applications within the Microsoft ecosystem.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB

Seitenzahl: 78

Veröffentlichungsjahr: 2018

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Beginning Serverless Architectures with Microsoft Azure

 

 

 

 

 

 

Design scalable applications and microservices that effortlessly adapt to the requirements of your customers

 

 

 

 

 

 

 

 

 

Daniel Bass

 

 

 

 

 

 

BIRMINGHAM - MUMBAI

Beginning Serverless Architectures with Microsoft Azure

 

Copyright © 2018 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

 

 

 

Acquisitions Editor: Aditya DateContent Development Editors: Darren Patel, Tanmayee PatilProduction Coordinator: Ratan Pote

 

 

 

 

First published: July 2018

Production reference: 1250718

 

 

 

 

Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK.

ISBN 978-1-78953-704-8

www.packtpub.com

 

mapt.io

Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.

Why Subscribe?

Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals

I

mprove your learning with Skill Plans built especially for you

Get a free eBook or video every month

Mapt is fully searchable

Copy and paste, print, and bookmark content

PacktPub.com

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.

Contributors

About the Author

Daniel Bass studied Masters of Physics at University College London before becoming a developer at a large financial company. He's part of a team that develops complex backend systems entirely on Azure, making heavy use of event-driven Azure Functions and Azure Data Lake. He's currently working with Azure Web Apps, Sitecore CMS and Build and Release Automation using Visual Studio Team Services.

About the Reviewer

Chantel Spencer-Bowdage likes to break problems apart and build solutions. She is currently working as a full stack software developer with Memrise. She is also a technology director with Girls in Tech, London. She gained experience working with companies such as M&G Investments and MWR InfoSecurity. She completed her Master of Engineering from the University of Southampton. Chantel enjoys a range of hobbies, from drawing to learning Spanish. She also likes travelling to new places. You can find out more about Chantel on her LinkedIn profile: chantelsb.

 

 

 

 

Packt is Searching for Authors Like You

If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.

Table of Contents

Title Page

Copyright and Credits

Beginning Serverless Architectures with Microsoft Azure

Packt Upsell

Why Subscribe?

PacktPub.com

Contributors

About the Author

About the Reviewer

Packt is Searching for Authors Like You

Preface

Who This Book Is For

What This Book Covers

To Get the Most out of This Book

Download the Example Code Files

Conventions Used

Get in Touch

Reviews

Introduction to Azure Functions

Understanding the Real Benefits of Serverless Computing

Benefits

Speed of Development

Automatic Scaling

Flexible Costs

Reduced Management Overhead

Drawbacks

Warmup Latency

Vendor Lock-in

Lack of Low-Level Control

Creating, Debugging, and Deploying an Azure Function

Creating Your First Function to Receive and Process Data from an HTTP Request

Debugging an Azure Function

Debug an Azure Function

Activity: Improving Your Function

Deploying an Azure Function

Deploying to Azure

Technical Basis of Azure Functions

Executing and Scaling Azure Functions 

Activity: Creating a Function That Stores User Detail

Summary

Deploying Azure Serverless

Integrating with Other Azure Services

Inserting Documents into Cosmos DB

Retrieving Data from Cosmos DB

Logging with Application Insights

Integrating Azure Application Insights

Troubleshooting the Azure Function using Application Insights

Security with API Keys

Creating a Client with Azure Application Service

Securing an Azure Function with an API key

Activity: Creating a Serverless Backend and Frontend for User Management

Summary

Architecting Serverless Solutions

Architecting Greenfield Serverless Applications

Triggering Functions with Cosmos DB Records

Triggering an Azure Logic App from an Azure Function

Sending a Reminder Email

Integrating Legacy Applications 

Triggering a Function from a Legacy Application

Moving Functionality from a Legacy Application to an Azure Function

Activity: Extending Your Serverless Application

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

Preface

Many businesses are rapidly adopting a microservices-first approach to development, driven by the availability of new commercial services like Azure Functions and AWS Lambda. In this book, we'll show you how to quickly get up and running with your own serverless development on Microsoft Azure. We start by working through a single function, and work towards integration with other Azure services like App Insights and Cosmos DB to handle common user requirements like analytics and highly performant distributed storage. We finish up by providing you with the context you need to get started on a larger project of your own choosing, leaving you equipped with everything you need to migrate to a cloud-first serverless solution.

After completing this book, you will be able to:

Identify the key advantages and disadvantages of serverless development

Build a fully-functioning serverless application and utilize a wide variety of Azure services

Create, deploy and manage your own Azure Functions in the cloud

Implement core design principles for writing effective serverless code

Who This Book Is For

This book is ideal for backend developers or engineers who want a quick hands-on introduction to developing serverless applications within the Microsoft ecosystem. 

What This Book Covers

Chapter 1, Introduction to Azure Functions, will walk you through the basic understanding of Azure Functions and then its serverless functionalities. In this chapter, we will learn to create, debug, and deploy the Azure Functions. Later in the chapter, we'll deal with serverless runtime functions of Microsoft's Azure Function.

Chapter 2, Deploying Azure Serverless, will help you to integrate your Azure Function with Cosmos DB, and with an Azure App Service. Later in the chapter, we'll use APIs to secure the Azure Functions and using Azure Application Insights we'll combine a complete logging and monitoring solution.

Chapter 3, Architecting Serverless Solutions, will be dealing with triggering functions with Cosmos DB and changing the functionality from an old .NET app to an Azure Function. We'll be developing a weather-dependent notification for our personal finance app. Later in the chapter, we'll analyze how to integrate old applications using serverless architecture.

To Get the Most out of This Book

You should have a basic knowledge of C# and a general knowledge of Azure. Knowledge of ASP.NET/MVC is beneficial but is not mandatory. The minimum hardware requirements are: Intel Core i3 or equivalent, 4GB RAM, 10 GB hard disk, and a stable internet connection. You'll also need the following software installed in advance:

Google Chrome or Mozilla Firefox (Latest updates installed)

Postman app for API Development Environment

Visual Studio 2017 with Azure Development Workflow (Latest version)

Node.js with Azure-functions-core-tools version 1.x installed via npm

.NET Framework 4.6 or higher

Download the Example Code Files

You can download the example code files for this book from your account at www.packtpub.com. If you purchased this book elsewhere, you can visit www.packtpub.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

Log in or register at

www.packtpub.com

.

Select the

SUPPORT

tab.

Click on

Code Downloads & Errata

.

Enter the name of the book in the

Search

box and follow the onscreen instructions.