Giter Club home page Giter Club logo

mcw-azure-blockchain's Introduction

Azure Blockchain

This workshop is archived and is no longer being maintained. Content is read-only.

Northwind Traders is the world's largest food and beverage company. The company has a long history of innovation since its founding more than 150 years ago. Over the last few years, Northwind has been increasing their emphasis on tracking their products from the origin of the raw materials all way through the manufacturing process to the consumer. They pride themselves on being able to certify both the origin, and delivery of their products with high accuracy.

Jill Anders, the CTO of Northwind Traders, has reached out to you to help them build a truly innovative solution to better track their shipments. Jill says, "We need a system that is more secure, more efficient, and will help us lower, not just IT costs, but other costs across the organization." They've heard of Blockchain and Smart contract technologies and are thinking these may help them solve this problem.

Target audience

  • Developers
  • IT Professional
  • Cloud Solution Architect

Workshop

In this workshop, you will learn how to design a solution with Ethereum blockchain ledger and several Azure services to collect device telemetry information and enforce contract specifics related to conditions during the transport of goods.

At the end of this workshop, you will be better equipped to to deploy and configure Azure Blockchain Workbench, write and deploy Ethereum Smart contracts with Solidity, and integrate IoT and the blockchain ledger into a single solution.

Whiteboard design session

In this Whiteboard design session, you will work with a group to learn how to build and configure an Internet of Things (IoT) Audit Solution using Azure blockchain services. You will do this using Ethereum blockchain ledger with the use of Smart Contracts to collect device telemetry information in addition to enforce contract specifics related to conditions during transport of goods. Specifically, the IoT devices will report temperature and humidity data that will be validated through the Smart Contracts against agreed upon acceptable ranges.

At the end of this session, you will be able to deploy and configure Azure Blockchain Workbench, write and deploy Ethereum Smart Contracts with Solidity, and integrate both IoT and Blockchain together into a single solution.

Hands-on lab

In this lab, you will learn how to build and configure an Internet of Things (IoT) Audit Solution using Azure blockchain services. You will do this using Ethereum blockchain ledger with the use of Smart Contracts to collect device telemetry information in addition to enforce contract specifics related to conditions during transport of goods. Specifically, the IoT devices will report temperature and humidity data that will be validated through the Smart Contracts against agreed upon acceptable ranges.

At the end of this hands-on lab, you will be better able to build a solution to deploy and configure Azure Blockchain Workbench, write and deploy Ethereum Smart Contracts with Solidity, and integrate both IoT and Blockchain together into a single solution.

Azure services and related products

  • Blockchain Workbench
  • IoT Hub
  • Service Bus
  • SQL Database
  • Key Vault
  • Event Grid
  • Application Insights

Related references

mcw-azure-blockchain's People

Contributors

crpietschmann avatar dawnmariedesjardins avatar hopero929 avatar iboonz avatar microsoftopensource avatar msftgits avatar mwasham avatar paulopsgility avatar waltermyersiii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mcw-azure-blockchain's Issues

WDS Student Guide - Customer Needs

The following statement in Customer Needs section is interesting.

"The Blockchain implementation needs to be secure and fully under the control of Northwind Traders; while simultaneously integrating with partners and third-parties when managing the supply chain."

It says the blockchain ledger needs to be "fully under the control of Northwind Traders". The USP of blockchain is that it is shared ledger among the participants. Ideally there should not be any one Super User or Super Admin of the ledger (One node being "more equal" than the others) for the idea to work. Otherwise, it is just a data store that other participants on the supply chain "choose" to trust. If the blockchain is completely in NW's control, I don't see how it makes sense for its suppliers and partners as a shared ledger that no one organization has complete control on.

Thoughts?

WDS - trainer presentation

Slide 9 & 23 - Customer objections. First objection starts "There's tons of buzz about..." I'm not sure that phrase will translate to different regions/languages. Please re-phrase.
Slide 11 - Image but no presenter/trainer notes. Is that correct?
Slide 12 - Same as above
Slide 19 - No presenter/trainer notes?

WDS Student Guide - Observations

MCW-Azure-Blockchain/Whiteboard design session/WDS student guide - Azure Blockchain.md

Abstract and Learning Objectives section - The text in this section needs an overhaul - Same comment as the Readme.MD comment that I raised. Those observations are applicable here too as the text is the same.

WDS trainer presentation (PPT)

Slides 11 & 22 - images are not flat, no alt-text.
Slide 18 - no alt-text
Slide 12 - alt-text says "Blockchain" not a detailed enough description of the image
Slide 19 - alt-text not detailed enough for image
Accessibility checker comes back with "Missing alt-text, slide 33" There is no slide 33 visible. Please check for hidden slides and remove.

HOL - unguided

After the lab, task 2, step 4 (Line 518) - image not showing

Line 528 - image not showing

Line 532 - image not showing

Include the simplified Azure AD setup

From version 1.5.0, there is a Powershell script available to handle majority of the Azure AD creation step.
It is available in the Deployment documentation at the link
https://github.com/Azure-Samples/blockchain/blob/master/blockchain-workbench/CHANGELOG.md#more-flexibility-and-easier-aad-integration
https://docs.microsoft.com/en-us/azure/blockchain/workbench/deploy#azure-ad-configuration-script

Please include these instructions to make the Workbench deployment pre-requisites simpler.

WDS - Student Guide - Infographics section

There is a link to Bletchley whitepaper in the infographics section. Is it required? Are the students required to understand and implement any ESC/Cryptlet/Non-Deterministic transactions in their smart contracts? If not, this may be an information overkill and can really confuse the attendees.

WDS & HOL folder names

Need to rename files WDS, HOL & Before the HOL. Documents mention an ARM template so I don't want to rename if there are links in the labs that refer to file names as is.

Readme.MD - Text Corrections - Whiteboard design session Section

Refer to the sentence - "In this Whiteboard design session, you will work with a group to learn how to build and configure an Internet of Things (IoT) Audit Solution using Azure Blockchain"

Observations

  1. There is no such thing as Azure Blockchain. Let us rename this to "using Azure blockchain services". This comment applies to the entire document. (wherever the phrase "Azure Blockchain" is used in isolation.)

WDS Trainer Presentation

Depending on the status of the previous observations I raised, the text on the presentation also needs to change.

Also, in the last slide there is a quote from the customer who is very much satisfied with our solution. :) Can we include quotes from one of the suppliers and also the auditor? Blockchain makes everyone happy, doesn't it? ๐Ÿ‘

MCW - Content update scheduled

This package is scheduled for an update. Please review the contents of this repo and comment on this issue with suggested updates. All suggestions must be added to this issue by EOD Friday, November 9, 2018.

Readme.MD - Text Corrections - Hands-On Lab section

Comment: "You will do this using Ethereum Blockchain with the use of Smart Contracts to collect device telemetry information in addition to enforce contract specifics related to conditions during transport of goods. Specifically, the IoT devices will report temperature and humidity data that will be validated through the Smart Contracts against agreed upon acceptable ranges."

Observation

This whole paragraph in Hands-on Lab section is a verbatim reproduction of the paragraph just before it in Whiteboard design session section. Please reword.

Same observation about the next paragraph as well in Hands on Lab section.

HOL - Guided - found errors

Hi,

Just went through the lab, very intresting, thanks for the effort creating this!

Task 2 --> Section 2 --> Missing ]
Task 2 --> Section 6 --> "AllowedRoles": ["Admin"] --> Due to this role the users can't create a new contract or take action. Propose to add the role "user" to the AllowedRoles

WDS trainer guide

Design a Blockchain solution section. You have 1 - 4 listed. Design the IoT device and sensor integration there is 1 - 3 listed.

In the preferred solution section, those numbers are not addressed. The answers are text only and it's hard to tell if each of the issues in the student guide are answered in the trainer guide. Can the answers match the formatting of the questions asked?

Include or link Blockchain Development Kit

Enhancement suggestion

The critical component of Telemetry smart contract demos would be showcase the "Out of Compliance" scenario. We have a sample that provides a step-by-step tutorial to integrate IoT Central to the Workbench contract through the Blockchain Development Kit samples.
https://github.com/Azure-Samples/blockchain/tree/master/blockchain-development-kit/connect/iot/iot-central/blockchain-workbench

Please extend the HoL to integrate with IoT or reference this example in the HoL.

Deployment failure

I did everything as per the hand on lab. But while running deployment everytime I am getting error that App builder and Azure blckcin failed.

Code Error - Deployment Failed.

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"BadRequest","message":"{\r\n "error": {\r\n "message": "Subscription is disabled. CorrelationId: c858c147-8e47-4505-b282-7d1f799a9437",\r\n "code": "BadRequest"\r\n }\r\n}"}]}

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "DeploymentFailed",\r\n "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",\r\n "details": [\r\n {\r\n "code": "Conflict",\r\n "message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"DeploymentFailed\",\r\n \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"{\\r\\n \\\"error\\\": {\\r\\n \\\"message\\\": \\\"Subscription is disabled. CorrelationId: c858c147-8e47-4505-b282-7d1f799a9437\\\",\\r\\n \\\"code\\\": \\\"BadRequest\\\"\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n "status": "Failed",\r\n "error": {\r\n "code": "ResourceDeploymentFailure",\r\n "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n "details": [\r\n {\r\n "code": "DeploymentFailed",\r\n "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",\r\n "details": [\r\n {\r\n "code": "BadRequest",\r\n "message": "{\r\n \"error\": {\r\n \"message\": \"Subscription is disabled. CorrelationId: c858c147-8e47-4505-b282-7d1f799a9437\",\r\n \"code\": \"BadRequest\"\r\n }\r\n}"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}

WDS trainer & student guide

1st customer objection says "There's tons of buzz about Blockchain," Not sure that will translate to other regions/languages. Please re-phrase.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.