Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Advanced Serverless Architectures with Microsoft Azure [Instructor Edition]

You're reading from   Advanced Serverless Architectures with Microsoft Azure [Instructor Edition] Design complex serverless systems quickly with the scalability and benefits of Azure

Arrow left icon
Product type Hardcover
Published in Feb 2019
Publisher Packt
ISBN-13 9781788479127
Length 278 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Daniel Bass Daniel Bass
Author Profile Icon Daniel Bass
Daniel Bass
Arrow right icon
View More author details
Toc

Chapter 6: Chaos Engineering


Activity 7: Chaos Experiment to Check the Resilience to Loss of a Function App

  1. Delete the OrdersApi function in the portal and observe the issue on the orders.html page by submitting orders. The errors will become visible in the developer tools of your browser:

    Figure 6.64: Failed request to order api

  2. Create a backup OrdersApi.

  3. Create a backup connection string on the orders.html file by using the JavaScript mentioned.

  4. Navigate to the builds page in Azure DevOps. Click on the build definition you already have, click on the ellipses, and click Clone:

    Figure 6.65: Build clone

  5. You will be taken to your new build pipeline. Click on Pipeline and change the Path to solution or packages.config field to point to the path of the OrdersApi function, Lesson6/Activity7/OrdersApi/*.csproj:

    Figure 6.66: Modify the build path to the solution

  6. Click Save & queue and Save and Queue again. Click the build number to view the build progress:

    Figure 6.67: Build process successful

  7. Open the...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Advanced Serverless Architectures with Microsoft Azure [Instructor Edition]
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon