Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP |...

38
www.azug.fr © 2017 AZUG FR. All Rights Reserved. Ihor Leontiev Architecte développeur logiciel | Azure MVP | Expert DevOps et ALM VISEO @LeontievIhor

Transcript of Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP |...

Page 1: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

Ihor LeontievArchitecte développeur logiciel | Azure

MVP | Expert DevOps et ALM – VISEO

@LeontievIhor

Page 2: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

2

Львів -19 вересня, час - 10:00

Локація - КА "ШАГ", вул. Замарстинівська 83.

Реєстрація - https://2event.com/uk/events/969409

Page 3: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

3

Meet the Team

Ihor LeontievArchitecte développeur logiciel Azure MVP | Expert DevOps et

ALM – VISEO

@LeontievIhor

Azure Architect, VISEOALM Specialist, Architect Cloud Azure (IaaS, PaaS)

Consultant, Trainer

Lead Architect on all Blockchain and IoT projects of the

group

Associative

Speaker at "Microsoft Ukraine Azure Group"

Organizer MSP Roadshow Ukraine

DevOps trainer for Franco-Ukrainian program "Business-

informatics"

Author and co-author DevOps and Azure (Ukraine and

internationally)

Video Courses on "Microsoft Channel9": DevOpsUA

Course in video "Introduction to ASP. Net Core "

Youtube Video "Swift Dev-Ops with VSTS"

Page 4: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

4

Cool world Event

Page 5: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

5

Blockchain, the Internet of the transaction and values

Page 6: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

63 macro-uses

Transfer of value Traceability Automating

Payment Loyalty Votes Supply-chain IOT

Suppliers Clients Employees

Page 7: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

7

Blockchain is a public transactional database (accessible by

all) distributed on a network (ie shared by the various users

who can be anonymous), which contains all the exchanges

carried out

By extension, Blockchain TECHNOLOGY covers all the elements constituting this

ecosystem (algorithm, nodesBy extension,

Blockchain does not exist: there are many blockchains, and if the monetary dimension is often important, it is

not always necessary

A «magic» world

Page 8: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

8Blockchain Platforms

• Ethereum Project ( https://www.ethereum.org/ )

• MultiChain ( http://www.multichain.com )

• OpenChain (https://www.openchain.org/ )

• HydraChain ( http://www.hydrachain.com )

• Lisk ( https://lisk.io )

• Waves ( https://wavesplatform.com/ )

• Nem ( https://www.nem.io )

• HyperLedger ( https://www.hyperledger.org/ )

-----------------------------------------------------------------

• BigchainDB (https://www.bigchaindb.com/ )

Page 9: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

9

One transaction, many concepts

Page 10: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

Secure

Shared

Distributed

Ledger

Blockchain is a secure, shared, distributed ledger

Page 11: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

11

That decentralizes data in a trustless environment

Traditional System

Centralized system with stored ledger

Blockchain System

Distributed system with distributed ledger

• Traditional ledgers are centralized and use 3rd parties and middlemen to approve and record transactions

• Blockchain safely distributes ledgers across the entire network and does not require any middleman

• The technology maintains multiple replicas like p2p torrent file sharing

Page 12: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

12Typologies of Blockchain

Totally open, ie everyone can read, write (send transactions) and participate in validation (consensus is long). There is no intermediary and no censorship possible A crypto currency is indispensable (remuneration)Participants are often anonymous (pseudonyms)

The writing rights are centralized and under the sole responsibility of the entity that owns the Blockchain. Playback rights may be open or restricted. There is not necessarily any underlying currency since the costs are borne by the entity. Users are known and must be "accepted". Promoters are known and identifiable.

Hybrid blockchains (consortium) that belong and are operated by a limited number of preselected nodes.

Public Blockchain Private Blockchain

Page 13: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

13Project Bletchley POCs

HealthcareRetail & CPG GovernmentDiscrete

Manufacturing

Banking, Capital

Markets

Azure – Blockchain resource provider

Horizontal SaaS & Adapters

3rd

Party

3rd

Party

3rd party DL

stack A1st party DL Stack

1st Party

3rd

Party

Blockchain Virtual Machine Adapters

Smart Contract-Based Distributed Ledger Stacks UTXO + others

Mid

dle

ware

Base P

latf

orm

3rd party DL

stack C…

…..Industr

y S

olu

tions

Crypto services & architecture (secure containers, attestation, etc.)

Professional Services & Support

Identity & Key

ServicesEncryption Services

ML & BI

Services

Distributed Ledger

Gateway Services

3rd party DL

stack B

Page 14: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

14

Developing and Learning

Engénierie

Feedback loop between POCs and Microsoft engineering to iterate quickly on our offers

Learn quickly, discover the

needs of clients and engage

the partners

POCs

HealthcareRetail & CPG GovernmentDiscrete

Manufacturing

Banking,

Capital

Markets

Azure – Blockchain resource provider

3rd party DL

stack A1st party DL Stack

Blockchain Virtual Machine Adapters

Smart Contract-Based Distributed Ledger Stacks UTXO + others

Mid

dle

ware

Base P

latf

orm

3rd party DL

stack C…

Crypto services & architecture (secure containers, attestation, etc.)

Identity & Key

ServicesEncryption Services

ML & BI

Services

Distributed Ledger

Gateway Services

3rd party DL

stack BIn

dustr

y

Solu

tions

influencing the design of our

BaaS approach and value

added over the long term

Page 16: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

16Bletchley StrategyPOCs

HealthcareRetail & CPG GovernmentDiscrete

Manufacturing

Banking,

Capital

Markets

Azure – Blockchain resource provider

Horizontal SaaS & Adapters

3rd

Party

3rd

Party

3rd party DL

stack A1st party DL Stack

1st Party

3rd

Party

Blockchain Virtual Machine Adapters

Smart Contract-Based Distributed Ledger Stacks UTXO + others

Mid

dle

ware

Base P

latf

orm

3rd party DL

stack C…

…..

Industr

y S

olu

tions

Crypto services & architecture (secure containers, attestation, etc.)

Professional Services & Support

Identity & Key

ServicesEncryption Services

ML & BI

Services

Distributed Ledger

Gateway Services

3rd party DL

stack B

Page 17: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

17

Page 18: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

18

Page 19: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

19

We’ve delivered an open, broad, and flexible cloud across the stack

Applications Management Clients

Web App Gallery

Dozens of .NET & PHP CMS and Web apps

Infrastructure Databases App Frameworks

SQL Server

+Hundreds of community supported images on VM Depot

Azure BaaS

Support an open ecosystem

Azure BaaS | Partenaires

Page 20: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

20

Pre- ARM Template

To set up a mock consortium network in Azure today:

1. Review public Ethereum network documentation

2. Determine topology for a consortium network

3. Map topology to Azure resources (VMs, Storage Accounts, etc.)

4. Write ARM template or script OR manually deploy

5. Configure Ethereum client via Linux BASH scripts to support private network (peering, isolate mining nodes, etc.)

6. Configure other Ethereum protocol properties (genesis block, max peers, etc.)

7. Set up Ethereum accounts and allocate ether

8. Trial and error to make above steps work

9. Integrate with other Azure services, such as AAD and Key Vault

10. Test template

3 weeks

Page 21: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

21

Post- ARM Template

To set up a mock consortium network in Azure today:

1. Review public Ethereum network documentation

2. Determine topology for a consortium network

3. Map topology to Azure resources (VMs, Storage Accounts, etc.)

4. Write ARM template or script OR manually deploy

5. Configure Ethereum client via Linux BASH scripts to support private network (peering, isolate mining nodes, etc.)

6. Configure other Ethereum protocol properties (genesis block, max peers, etc.)

7. Set up Ethereum accounts and allocate ether

8. Trial and error to make above steps work

9. Integrate with other Azure services, such as AAD and Key Vault

10. Test template

Page 22: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

22

ARM Template

Page 23: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

23Project Bletchley POCs

HealthcareRetail & CPG GovernmentDiscrete

Manufacturing

Banking, Capital

Markets

Azure – Blockchain resource provider

Horizontal SaaS & Adapters

3rd

Party

3rd

Party

3rd party DL

stack A1st party DL Stack

1st Party

3rd

Party

Blockchain Virtual Machine Adapters

Smart Contract-Based Distributed Ledger Stacks UTXO + others

Mid

dle

ware

Base P

latf

orm

3rd party DL

stack C…

…..Industr

y S

olu

tions

Crypto services & architecture (secure containers, attestation, etc.)

Professional Services & Support

Identity & Key

ServicesEncryption Services

ML & BI

Services

Distributed Ledger

Gateway Services

3rd party DL

stack B

Page 24: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

24

Blockchain evolving from simple ledgers, to cryptlets that fetch trusted

and agreed-upon external data needed to execute Smart Contracts

Smart Contracts are unable to access external data or events based on time or market conditions. Calling code or

data outside of a Smart Contract or blockchain breaks the general trust barrier and authenticity of transactions.

Cryptlets will allow the blockchain to access external data securely, while maintaining the integrity of the blockchain.

Microsoft Innovation

Page 25: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

25

More complex example: Blockchain 2.0 & Smart Contracts

• Blockchain 1.0 is a simple ledger that records transactions in sequence. It represents the state of the network at any given moment. Blockchain 1.0 was focused on transacting payments. However, folks quickly realized that you could encrypt pretty much anything and put it on the blockchain. There are marriage proposals written to the blockchain, photographs stored, etc.

• What if you stored whole agreements on the blockchain, what would that look like?

• Blockchain 2.0 expands the power of the ledger to include additional logic (code) through Smart Contracts

– Smart Contracts contain code and execute various terms written in that contract

– Like normal contracts, these Smart Contracts are based on reaching agreed-upon conditions

– Smart Contracts are now stored on and exist within Blockchain 2.0’s distributed ledger

– Think of Smart Contracts as the computer code representation of a legal contract

• Examples: Contracts can be as simple as recording a loan and making payments on that loan or as complex as swaps.

Transaction

Digital signature

0x23e423s3234…

Smart Contract Event Executed transaction

Page 26: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

26

A Summary of Blockchain 1.0 to 2.0 Changes

Blockchain 1.0 Blockchain 2.0 BENEFITS

Bitcoin BlockchainEthereum, Corda, Hyperledger, Sawtooth Lake, many

others yet to comeNot locked into one vendor

Simple Transactions Generic Contracts Can handle more complex needs

One Blockchain Multiple, Linked Blockchains

Can partition information & pick different chains for different needs

(location, regulation, speed, privacy, etc.)

Public Only Public, Private, Consortium, or Domain Specific Solves many regulatory and privacy

needs

Proof of Work OnlyDifferent ways to reach Consensus optimized for need – Proof of Work, Stake, Identity, Vote, etc.

Overcomes some of the existing Blockchain issues such as speed and

computational cost

Always Open & Distributed

User ChoiceCraft blockchain solutions around the

business needs

Page 27: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

27

Azure Blockchain as a ServiceCase Renault-Nissan

Page 28: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

Meet The Team

Ihor LeontievAzure Architect,Azure MVP at Viseo

Vincent Thavonekham Cloud Strategy Manager,Regional Director,Azure MVPat Viseo

Frederic PanchaudDirecteur offre Blockchain at Viseo

Page 29: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

CHOOSING THE RIGHTARCHITECTURE

29

Hosting Layer

Blockchain Infrastructure Layer Private Ethereum-based Blockchain

Blockchain Smart Contract Layer

API

Frontend App and Database Layer

SSH ServerInstance

ServerInstance

ServerInstance

Nodes

TransactionalNodes

Private Blockchain Smart contractsCar/Dealer/Assurance …

WEB Mobile Apps

AdminPanel

Database Storage

Health check, monitoringAnd management tools

Mining Nodes

Page 30: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

Business Case – Vehicle Lifecycle Management

1. Car identification

2. Car Maintenance book

3. Car assurance info

4. Eco driving parameters (thought connect cat system)

Page 31: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

Page 32: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

32

32

Page 33: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

33Blockchain Typical Solution

Page 34: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

34

0 50 100 150 200 250 300 350

0

200,000

400,000

600,000

800,000

1,200,000

175,000

367,000

537,000

1,100,000

Nodes

Writes/s

Netflix utilise 37%? De

la bande passante

Internet

En utilisant une base de données distribuée moderne « big data

»

Page 35: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

Architecture – Decentralized Federation

MongoDB consensus

Consistent and Resilient

Blockchain consensus

Trust is distributed BigchainDB

Federation

MongoDB

Platform

ALICE

BOB

Page 36: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

36

Scaling with BigchainDB + MongoDB

THROUGHPUT

>1,000,000 writes/s~100,000

transactions/s

LATENCY

<100 msCAPACITY

Petabytes with each node adding 48TB

QUERY

Database is fully queryable SCALABILITY

Performance increases as nodes are added

DECENTRALIZATION

Federatednon-anonymous participation

Page 37: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

www.azug.fr© 2017 AZUG FR. All Rights Reserved.

37

SIGN UP FOR AN AZURE ACCOUNT

• https://azure.microsoft.com/en-us/solutions/blockchain/

SETUP BLOCKCHAIN NETWORK ON AZURE

• Create your custom private/consortium network

https://azure.microsoft.com/en-us/documentation/templates/

DEPLOY DEV/TEST BLOCKCHAIN ENVIRONMENT TO LEARN

• Marketplace Offerings: https://azure.microsoft.com/en-

us/marketplace/?term=blockchain

• Azure Quickstart Templates:

https://github.com/Azure/azure-quickstart-templates

How do you

get started?

START BUILDING OUT SCENARIOS AND APPS

Develop your own Smart Contracts and Dapps using Visual

Studio Solidity Extension:

https://visualstudiogallery.msdn.microsoft.com/96221853-33c4-

4531-bdd5-d2ea5acc4799/

Page 38: Ihor Leontiev - DataArt Website · Ihor Leontiev Architecte développeur logiciel Azure MVP | Expert DevOps et ALM –VISEO @LeontievIhor Azure Architect, VISEO ALM Specialist, Architect

Merci

d’être venus

A bientôt !