SlideShare a Scribd company logo
1 of 43
Download to read offline
Technical considerations for blockchain
networks with AWS
José Ángel Corral,
Líder Técnico de Arquitectura de
Soluciones en atSistemas, y
Responsable Técnico del área
Blockchain
Organizador de:
Internet de las Cosas, un mundo conectado
Index
Blockchain services at AWS
• Amazon Quantum Ledger Database
• Amazon Managed Blockchain
BaaS
Custom Deployment
Blockchain services at AWS
• Need for a ledger with centralized trust
• Need for a ledger with decentralized trust
Need for a ledger with centralized trust
DMV
Track vehicle
title history
Manufacturers
Track distribution of a
recalled product
Healthcare
Verify and track hospital
equipment inventory
LEDGERS WITH
CENTRALIZED TRUST
1
Need for a ledger with decentralized trust
2
Financial
institutions
Peer-to-peer payments
Mortgage
lenders
Process syndicated
loans
Supply Chain
Transact with suppliers
and distributers
TRANSACTIONS WITH DECENTRALIZED
TRUST
Blockchain services at AWS
Amazon Quantum Ledger
Database (QLDB)
Amazon Managed
Blockchain
Fully managed ledger database with a
central trusted authority
Amazon Quantum Ledger Database (QLDB)
Challenges customers face
Building Ledgers with traditional databases
Difficult to
manage and scale
Impossible
to verify
Error prone and
incomplete
Resource
intensive
Blockchain approaches
Designed for a
different purpose
Adds unnecessary
complexity
Amazon Quantum Ledger Database (QLDB)
Maintains a sequenced record
of all changes to your data,
which cannot be deleted or
modified; you have the ability
to query and analyze the full
history
Immutable
Uses cryptography to generate
a secure output file of your
data’s history
Cryptographically verifiable
Easy to use, letting you
use familiar database
capabilities like SQL APIs for
querying the data
Easy to useHighly scalable
Executes 2–3X as
many transactions as
ledgers in common
blockchain frameworks
u Fully managed ledger database
u Track and verify history of all changes made to your application’s data
How Amazon QLDB works
Amazon Managed Blockchain
Fully managed blockchain service, supporting both
Hyperledger Fabric and Ethereum frameworks
Blockchain builds trust in a network
Eliminates the need for central authority in business networks
Three main components: distributed ledger, consensus mechanism,
and “smart contract” execution environment
Together these elements allow two parties to transact with one another by ensuring other parties consent to
the transaction and record the transaction. This provides immutability and trust
Challenges with existing blockchain solutions
Complicated to
manage
Setup is hard Hard to scale Expensive
Amazon Managed Blockchain
Quickly create blockchain networks
that span multiple AWS accounts.
Easily add or remove members and
monitor the network
Fully managed Choice of Hyperledger
Fabric or Ethereum
Improves reliabilityScalable and secure
Easily scale your blockchain
network as the usage grows. Also,
Managed Blockchain secures your
network certificates with KMS
Choose the right framework for
your needs, whether you are
building a permissioned or public
network
Managed Blockchain improves the
reliability of the “ordering service,”
by replacing the default technology
with QLDB. This improves
durability
u Easily create and manage scalable blockchain networks
Blockchain Templates
How Amazon Managed Blockchain works
Amazon Managed
Blockchain
Create a network
Choose an open source
blockchain framework, set up a
new blockchain network and
your membership in your AWS
account with
just a few clicks
Invite members
Invite other AWS accounts to
join the network
Add nodes
Create and configure blockchain
peer nodes that store a copy of
the distributed ledger
Deploy applications
Create and deploy decentralized
applications
to your network through your
per nodes. Transact with other
members on
the network
How to create a network (1/5)
How to create a network (2/5)
How to create a network (3/5)
How to create a network (4/5)
How to create a network (5/5)
Operating the network
Some examples…
BaaS (Blockchain as a Service)
BaaS (Blockchain as a Service)
BaaS (Blockchain as a Service)
Custom Deployment (Ethereum)
Nodes:
• bootnode
• miner/sealer
• worker
Consensus Protocol: PoW -> PoA
Hardware:
EC2 t2.micro 8Gb / SO Linux Amazon
Custom Deployment (Process)
Software:
• Golang
• Git
• Go-ethereum
Custom Deployment (Process)
Security Group (inbound):
• 22: SSH
• 8545: RPC TCP
• 8546: RPC WebSocket
• 30301: UDP
• 30303: TCP
Custom Deployment (Process)
geth --datadir /var/data account new
puppeth -> genesis.json
geth --datadir /var/data init ./genesis.json
bootnode --genkey=boot.key
bootnode --nodekey=boot.key -> enode
Custom Deployment (Process)
Sealer
sudo ./build/bin/geth --cache=512 --datadir=/var/data --rpc --
mine --unlock ”0xXX" --password "pass.txt" --bootnodes
enode://XXX@IP:30301
Worker
sudo ./build/bin/geth --cache=512 --datadir=/var/data --rpc
--bootnodes enode://XXX@IP:30301
Custom Deployment
Despliegue de una red blockchain privada en tecnología
Ethereum sobre AWS
Enmilocalfunciona.io
And now, what?
Smart Contracts/Chaincodes
• Development: Solidity/Java/Golang/Nodejs
• Patterns: (OpenZeppelin)
• Compiling and testing: truffle, mocha y chai.js
• Vulnerabilities: Porosity
Middleware: Interaction with SCs using java (web3j), js(web3js) or go
(go-ethereum)
Connection with the nodes: IPC, HTTP or WebSocket
DApp: React/Vue/Angular (web3js) Ej: Metamask (Wallet)
atCoin - Metamask (1/3)
Browser extension to manage your accounts (wallet) and
merging the gap between different blockchain networks
Extension for accessing
Ethereum enabled distributed
applications, or "Dapps" in your
browser! (Chrome, FF, Opera y
Brave)
App iOS y Android en beta
atCoin - Metamask (2/3)
Connection to ‘ATCOIN’ Network (Alastria Node or Private
Network) → customized RPC
atCoin - Metamask (3/3)
Adding a customized token.
Paste the ERC20 Token Contract Address and
automatically symbol and precission are completed.
atCoin - Metamask (Login)
MetaMask is more than an
Ethereum wallet.
Injects the Ethereum web3
API into every website's
javascript context, so that
Dapps can read from the
blockchain.
For example, to login using
our own signature.
atCoin (Store)
atCoin - Metamask (Transferencias)
¡Thank you!
Reference Architecture
Reference Architecture

More Related Content

What's hot

Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
Дмитрий Плахов
 

What's hot (20)

SD-WAN for Blockchain?
SD-WAN for Blockchain?SD-WAN for Blockchain?
SD-WAN for Blockchain?
 
Build Blockchain Prototype using Azure Workbench and Manage data on ledger
Build Blockchain Prototype using Azure Workbench and Manage data on ledgerBuild Blockchain Prototype using Azure Workbench and Manage data on ledger
Build Blockchain Prototype using Azure Workbench and Manage data on ledger
 
Blockchain solution architecture deliverable
Blockchain solution architecture deliverableBlockchain solution architecture deliverable
Blockchain solution architecture deliverable
 
Corda on Azure Blockchain
Corda on Azure BlockchainCorda on Azure Blockchain
Corda on Azure Blockchain
 
Luniverse Partners Day - Jay
Luniverse Partners Day - JayLuniverse Partners Day - Jay
Luniverse Partners Day - Jay
 
Hyperledger Fabric Update - June 2018
Hyperledger Fabric Update - June 2018Hyperledger Fabric Update - June 2018
Hyperledger Fabric Update - June 2018
 
Decentralization of internet of things with blockchain architecture
Decentralization of internet of things with blockchain architectureDecentralization of internet of things with blockchain architecture
Decentralization of internet of things with blockchain architecture
 
Distributed Intelligence
Distributed IntelligenceDistributed Intelligence
Distributed Intelligence
 
Blockchin Architecture on Azure-Part-3
Blockchin Architecture on Azure-Part-3Blockchin Architecture on Azure-Part-3
Blockchin Architecture on Azure-Part-3
 
Blockchin architecture azure meetup
Blockchin architecture azure meetupBlockchin architecture azure meetup
Blockchin architecture azure meetup
 
Ethereum smart contracts - door Peter Reitsma
Ethereum smart contracts - door Peter ReitsmaEthereum smart contracts - door Peter Reitsma
Ethereum smart contracts - door Peter Reitsma
 
Advanced Blockchain Technologies on Privacy & Scalability (All Things Open)
Advanced Blockchain Technologies on Privacy & Scalability (All Things Open) Advanced Blockchain Technologies on Privacy & Scalability (All Things Open)
Advanced Blockchain Technologies on Privacy & Scalability (All Things Open)
 
Introduction of Luniverse
Introduction of LuniverseIntroduction of Luniverse
Introduction of Luniverse
 
Anatomy of a hyperledger application
Anatomy of a hyperledger applicationAnatomy of a hyperledger application
Anatomy of a hyperledger application
 
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
Доклад Владимира Бичева на третьем митапе сообщества блокчейн-разработчиков С...
 
MTLS - Securing Microservice Architecture with Mutual TLS Authentication
MTLS - Securing Microservice Architecture with Mutual TLS AuthenticationMTLS - Securing Microservice Architecture with Mutual TLS Authentication
MTLS - Securing Microservice Architecture with Mutual TLS Authentication
 
Blockchain on aws
Blockchain on awsBlockchain on aws
Blockchain on aws
 
Microsoft Accelerator event- Blockchain technology from disruptive concept to...
Microsoft Accelerator event- Blockchain technology from disruptive concept to...Microsoft Accelerator event- Blockchain technology from disruptive concept to...
Microsoft Accelerator event- Blockchain technology from disruptive concept to...
 
Blockchain for the Enterprise
Blockchain for the EnterpriseBlockchain for the Enterprise
Blockchain for the Enterprise
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ru
 

Similar to Technical considerations for Blockchain networks with AWS

Track 5 Session 6_ BLC01 透過 Amazon Managed Blockchain 與 Amazon QLDB 打造區塊鍊應用.pptx
Track 5 Session 6_ BLC01 透過 Amazon Managed Blockchain 與 Amazon QLDB 打造區塊鍊應用.pptxTrack 5 Session 6_ BLC01 透過 Amazon Managed Blockchain 與 Amazon QLDB 打造區塊鍊應用.pptx
Track 5 Session 6_ BLC01 透過 Amazon Managed Blockchain 與 Amazon QLDB 打造區塊鍊應用.pptx
Amazon Web Services
 
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
varanasisatyanvesh
 

Similar to Technical considerations for Blockchain networks with AWS (20)

Blockchain on AWS
Blockchain on AWSBlockchain on AWS
Blockchain on AWS
 
Blockchain for Python Developers - Pyjamas Conf 2020
Blockchain for Python Developers - Pyjamas Conf 2020Blockchain for Python Developers - Pyjamas Conf 2020
Blockchain for Python Developers - Pyjamas Conf 2020
 
Kaleido Platform Overview and Full-stack Blockchain Services
Kaleido Platform Overview and Full-stack Blockchain ServicesKaleido Platform Overview and Full-stack Blockchain Services
Kaleido Platform Overview and Full-stack Blockchain Services
 
Workshop: Blockchain on Azure for Developers
Workshop: Blockchain on Azure for DevelopersWorkshop: Blockchain on Azure for Developers
Workshop: Blockchain on Azure for Developers
 
20160304 blockchain in fsi client ready raymond
20160304 blockchain in fsi client ready raymond20160304 blockchain in fsi client ready raymond
20160304 blockchain in fsi client ready raymond
 
Blockchain on Azure
Blockchain on AzureBlockchain on Azure
Blockchain on Azure
 
Amazon AWS vs Azure Cloud vs Kubernetes
Amazon AWS vs Azure Cloud vs KubernetesAmazon AWS vs Azure Cloud vs Kubernetes
Amazon AWS vs Azure Cloud vs Kubernetes
 
Introduction to Blockchain and Hyperledger
Introduction to Blockchain and HyperledgerIntroduction to Blockchain and Hyperledger
Introduction to Blockchain and Hyperledger
 
Aws Architecture Fundamentals | Dallas
Aws Architecture Fundamentals | DallasAws Architecture Fundamentals | Dallas
Aws Architecture Fundamentals | Dallas
 
Track 5 Session 6_ BLC01 透過 Amazon Managed Blockchain 與 Amazon QLDB 打造區塊鍊應用.pptx
Track 5 Session 6_ BLC01 透過 Amazon Managed Blockchain 與 Amazon QLDB 打造區塊鍊應用.pptxTrack 5 Session 6_ BLC01 透過 Amazon Managed Blockchain 與 Amazon QLDB 打造區塊鍊應用.pptx
Track 5 Session 6_ BLC01 透過 Amazon Managed Blockchain 與 Amazon QLDB 打造區塊鍊應用.pptx
 
How leading financial services organisations are winning with tech
How leading financial services organisations are winning with techHow leading financial services organisations are winning with tech
How leading financial services organisations are winning with tech
 
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
 
Technical Introduction to Hyperledger Fabric v1.0
Technical Introduction to Hyperledger Fabric v1.0Technical Introduction to Hyperledger Fabric v1.0
Technical Introduction to Hyperledger Fabric v1.0
 
Microsoft blockchain vision - enterprise smart contracts, coco framework and...
Microsoft blockchain vision  - enterprise smart contracts, coco framework and...Microsoft blockchain vision  - enterprise smart contracts, coco framework and...
Microsoft blockchain vision - enterprise smart contracts, coco framework and...
 
Building Secure Architectures on AWS
Building Secure Architectures on AWSBuilding Secure Architectures on AWS
Building Secure Architectures on AWS
 
hyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptxhyperledger-chaincode & hyperl fabric.pptx
hyperledger-chaincode & hyperl fabric.pptx
 
Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4
 
Herramientas Cloud Ninja AWS "From Zero to Hero"
Herramientas Cloud Ninja AWS "From Zero to Hero"Herramientas Cloud Ninja AWS "From Zero to Hero"
Herramientas Cloud Ninja AWS "From Zero to Hero"
 
How Easy to Automate Application Deployment on AWS
How Easy to Automate Application Deployment on AWSHow Easy to Automate Application Deployment on AWS
How Easy to Automate Application Deployment on AWS
 

More from atSistemas

More from atSistemas (20)

Agile itsm con atlassian
Agile itsm con atlassianAgile itsm con atlassian
Agile itsm con atlassian
 
Bizz Chat metamorfosis digital
Bizz Chat metamorfosis digital Bizz Chat metamorfosis digital
Bizz Chat metamorfosis digital
 
Webinar 5 net5-2021
Webinar 5 net5-2021Webinar 5 net5-2021
Webinar 5 net5-2021
 
Webinar Speed Up Academy: Acelera la incorporación de talento.
Webinar Speed Up Academy: Acelera la incorporación de talento.Webinar Speed Up Academy: Acelera la incorporación de talento.
Webinar Speed Up Academy: Acelera la incorporación de talento.
 
Webinar: Descubre los diferentes servicios Cloud Native en Azure
Webinar: Descubre los diferentes servicios Cloud Native en AzureWebinar: Descubre los diferentes servicios Cloud Native en Azure
Webinar: Descubre los diferentes servicios Cloud Native en Azure
 
El futuro del trabajo en equipo
El futuro del trabajo en equipoEl futuro del trabajo en equipo
El futuro del trabajo en equipo
 
La tecnología al servicio de la agilidad empresarial
La tecnología al servicio de la agilidad empresarialLa tecnología al servicio de la agilidad empresarial
La tecnología al servicio de la agilidad empresarial
 
Transformación Agile
Transformación AgileTransformación Agile
Transformación Agile
 
Transformación cultural
Transformación culturalTransformación cultural
Transformación cultural
 
Blockchain Spain II Edición - Ángel Miguel Martínez
Blockchain Spain II Edición - Ángel Miguel MartínezBlockchain Spain II Edición - Ángel Miguel Martínez
Blockchain Spain II Edición - Ángel Miguel Martínez
 
Blockchain Spain - Juan Luis Gozalo
Blockchain Spain - Juan Luis GozaloBlockchain Spain - Juan Luis Gozalo
Blockchain Spain - Juan Luis Gozalo
 
Blockchain Spain - Santiago Chamat
Blockchain Spain - Santiago ChamatBlockchain Spain - Santiago Chamat
Blockchain Spain - Santiago Chamat
 
Blockchain Spain - Antonio Gómez
Blockchain Spain - Antonio GómezBlockchain Spain - Antonio Gómez
Blockchain Spain - Antonio Gómez
 
Blockchain Spain - Miguel Ángel Rojas
Blockchain Spain - Miguel Ángel RojasBlockchain Spain - Miguel Ángel Rojas
Blockchain Spain - Miguel Ángel Rojas
 
Blockchain Spain - Andrés Sánchez
Blockchain Spain - Andrés SánchezBlockchain Spain - Andrés Sánchez
Blockchain Spain - Andrés Sánchez
 
Blockchain Spain II Edición - Autoridad Portuaria de Cartagena, Ilboc, Repsol
Blockchain Spain II Edición - Autoridad Portuaria de Cartagena, Ilboc, RepsolBlockchain Spain II Edición - Autoridad Portuaria de Cartagena, Ilboc, Repsol
Blockchain Spain II Edición - Autoridad Portuaria de Cartagena, Ilboc, Repsol
 
Blockchain Spain II Edición - Juan Manuel Martínez
Blockchain Spain II Edición - Juan Manuel MartínezBlockchain Spain II Edición - Juan Manuel Martínez
Blockchain Spain II Edición - Juan Manuel Martínez
 
Blockchain Spain II - Almudena de la Mata
Blockchain Spain II - Almudena de la MataBlockchain Spain II - Almudena de la Mata
Blockchain Spain II - Almudena de la Mata
 
Blockchain Spain II - Sergio G. Miranda
Blockchain Spain II - Sergio G. MirandaBlockchain Spain II - Sergio G. Miranda
Blockchain Spain II - Sergio G. Miranda
 
Blockchain Spain II - Keynote Speaker - María Parga
Blockchain Spain II - Keynote Speaker - María PargaBlockchain Spain II - Keynote Speaker - María Parga
Blockchain Spain II - Keynote Speaker - María Parga
 

Recently uploaded

TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 

Recently uploaded (20)

How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
How to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in PakistanHow to Check GPS Location with a Live Tracker in Pakistan
How to Check GPS Location with a Live Tracker in Pakistan
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on ThanabotsContinuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
Continuing Bonds Through AI: A Hermeneutic Reflection on Thanabots
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdfFrisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
Frisco Automating Purchase Orders with MuleSoft IDP- May 10th, 2024.pptx.pdf
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
UiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overviewUiPath manufacturing technology benefits and AI overview
UiPath manufacturing technology benefits and AI overview
 

Technical considerations for Blockchain networks with AWS

  • 1. Technical considerations for blockchain networks with AWS
  • 2. José Ángel Corral, Líder Técnico de Arquitectura de Soluciones en atSistemas, y Responsable Técnico del área Blockchain Organizador de: Internet de las Cosas, un mundo conectado
  • 3. Index Blockchain services at AWS • Amazon Quantum Ledger Database • Amazon Managed Blockchain BaaS Custom Deployment
  • 4. Blockchain services at AWS • Need for a ledger with centralized trust • Need for a ledger with decentralized trust
  • 5. Need for a ledger with centralized trust DMV Track vehicle title history Manufacturers Track distribution of a recalled product Healthcare Verify and track hospital equipment inventory LEDGERS WITH CENTRALIZED TRUST 1
  • 6. Need for a ledger with decentralized trust 2 Financial institutions Peer-to-peer payments Mortgage lenders Process syndicated loans Supply Chain Transact with suppliers and distributers TRANSACTIONS WITH DECENTRALIZED TRUST
  • 7. Blockchain services at AWS Amazon Quantum Ledger Database (QLDB) Amazon Managed Blockchain
  • 8. Fully managed ledger database with a central trusted authority Amazon Quantum Ledger Database (QLDB)
  • 9. Challenges customers face Building Ledgers with traditional databases Difficult to manage and scale Impossible to verify Error prone and incomplete Resource intensive Blockchain approaches Designed for a different purpose Adds unnecessary complexity
  • 10. Amazon Quantum Ledger Database (QLDB) Maintains a sequenced record of all changes to your data, which cannot be deleted or modified; you have the ability to query and analyze the full history Immutable Uses cryptography to generate a secure output file of your data’s history Cryptographically verifiable Easy to use, letting you use familiar database capabilities like SQL APIs for querying the data Easy to useHighly scalable Executes 2–3X as many transactions as ledgers in common blockchain frameworks u Fully managed ledger database u Track and verify history of all changes made to your application’s data
  • 12. Amazon Managed Blockchain Fully managed blockchain service, supporting both Hyperledger Fabric and Ethereum frameworks
  • 13. Blockchain builds trust in a network Eliminates the need for central authority in business networks Three main components: distributed ledger, consensus mechanism, and “smart contract” execution environment Together these elements allow two parties to transact with one another by ensuring other parties consent to the transaction and record the transaction. This provides immutability and trust
  • 14. Challenges with existing blockchain solutions Complicated to manage Setup is hard Hard to scale Expensive
  • 15. Amazon Managed Blockchain Quickly create blockchain networks that span multiple AWS accounts. Easily add or remove members and monitor the network Fully managed Choice of Hyperledger Fabric or Ethereum Improves reliabilityScalable and secure Easily scale your blockchain network as the usage grows. Also, Managed Blockchain secures your network certificates with KMS Choose the right framework for your needs, whether you are building a permissioned or public network Managed Blockchain improves the reliability of the “ordering service,” by replacing the default technology with QLDB. This improves durability u Easily create and manage scalable blockchain networks
  • 17. How Amazon Managed Blockchain works Amazon Managed Blockchain Create a network Choose an open source blockchain framework, set up a new blockchain network and your membership in your AWS account with just a few clicks Invite members Invite other AWS accounts to join the network Add nodes Create and configure blockchain peer nodes that store a copy of the distributed ledger Deploy applications Create and deploy decentralized applications to your network through your per nodes. Transact with other members on the network
  • 18. How to create a network (1/5)
  • 19. How to create a network (2/5)
  • 20. How to create a network (3/5)
  • 21. How to create a network (4/5)
  • 22. How to create a network (5/5)
  • 25. BaaS (Blockchain as a Service)
  • 26. BaaS (Blockchain as a Service)
  • 27. BaaS (Blockchain as a Service)
  • 28. Custom Deployment (Ethereum) Nodes: • bootnode • miner/sealer • worker Consensus Protocol: PoW -> PoA Hardware: EC2 t2.micro 8Gb / SO Linux Amazon
  • 29. Custom Deployment (Process) Software: • Golang • Git • Go-ethereum
  • 30. Custom Deployment (Process) Security Group (inbound): • 22: SSH • 8545: RPC TCP • 8546: RPC WebSocket • 30301: UDP • 30303: TCP
  • 31. Custom Deployment (Process) geth --datadir /var/data account new puppeth -> genesis.json geth --datadir /var/data init ./genesis.json bootnode --genkey=boot.key bootnode --nodekey=boot.key -> enode
  • 32. Custom Deployment (Process) Sealer sudo ./build/bin/geth --cache=512 --datadir=/var/data --rpc -- mine --unlock ”0xXX" --password "pass.txt" --bootnodes enode://XXX@IP:30301 Worker sudo ./build/bin/geth --cache=512 --datadir=/var/data --rpc --bootnodes enode://XXX@IP:30301
  • 33. Custom Deployment Despliegue de una red blockchain privada en tecnología Ethereum sobre AWS Enmilocalfunciona.io
  • 34. And now, what? Smart Contracts/Chaincodes • Development: Solidity/Java/Golang/Nodejs • Patterns: (OpenZeppelin) • Compiling and testing: truffle, mocha y chai.js • Vulnerabilities: Porosity Middleware: Interaction with SCs using java (web3j), js(web3js) or go (go-ethereum) Connection with the nodes: IPC, HTTP or WebSocket DApp: React/Vue/Angular (web3js) Ej: Metamask (Wallet)
  • 35. atCoin - Metamask (1/3) Browser extension to manage your accounts (wallet) and merging the gap between different blockchain networks Extension for accessing Ethereum enabled distributed applications, or "Dapps" in your browser! (Chrome, FF, Opera y Brave) App iOS y Android en beta
  • 36. atCoin - Metamask (2/3) Connection to ‘ATCOIN’ Network (Alastria Node or Private Network) → customized RPC
  • 37. atCoin - Metamask (3/3) Adding a customized token. Paste the ERC20 Token Contract Address and automatically symbol and precission are completed.
  • 38. atCoin - Metamask (Login) MetaMask is more than an Ethereum wallet. Injects the Ethereum web3 API into every website's javascript context, so that Dapps can read from the blockchain. For example, to login using our own signature.
  • 40. atCoin - Metamask (Transferencias)