A Blockchain-based Flight Data Recorder for Cloud Accountability G. D’Angelo, S. Ferretti , M. Marzolla Dept. of Computer Science and Engineering s.ferretti@unibo.it
Cloud Computing On-demand self service On-demand self service On-demand self service Broad network access Resource pooling Rapid elasticity Measured service
Cloud Computing Reliability On-demand self service On-demand self service On-demand self service Broad network access Resource pooling Rapid elasticity Measured service
Cloud Computing Reliability On-demand self service On-demand self service On-demand self service Broad network access Availability Resource pooling Rapid elasticity Measured service
Cloud Computing Reliability On-demand self service On-demand self service On-demand self service Broad network access Availability Resource pooling Rapid elasticity Accountability Measured service
Cloud Computing User Domain Alice
Cloud Computing User Domain Service Domain Bob Alice
Cloud Computing User Domain Service Domain Bob, please handle my data Bob Alice
Cloud Computing User Domain Service Domain Bob Alice
Cloud Computing User Domain Service Domain Cloud Domain Bob Alice Carl
Cloud Computing User Domain Service Domain Cloud Domain Carl, please hold my service and the data I have Bob Alice Carl
Cloud Computing User Domain Service Domain Cloud Domain Bob Alice Carl
Accountability User Domain Service Domain Cloud Domain Bob Alice Carl If something goes wrong, who is accounted?
Terms and Conditions – Excerpts In partjcular, Google, its subsidiaries and Further, neither we nor any of our affjliates, and its licensors do not represent or affjliates or licensors will be responsible warrant to you that: for any compensatjon, reimbursement, a) your use of the services will meet your or damages arising in connectjon with: requirements, [...] b) your use of the services will be uninterrupted, tjmely, secure or free from d) any unauthorized access to, error, alteratjon of, or the deletjon, c) any informatjon obtained by you as a result destructjon, damage, loss or failure of your use of the services will be accurate to store any of your content or other or reliable, and data. d) that defects in the operatjon or functjonality of any sofuware provided to you as part of the services will be corrected.
Blockchain as a Flight Data Recorder ● All operatjons accomplished in the cloud recorded in the blockchain
Blockchain as a Flight Data Recorder ● All operatjons accomplished in the cloud recorded in the blockchain ● Possible solutjons: • Double signed transactjons ● Certjfjes that two partjes agree on something ● Coarse method
Blockchain as a Flight Data Recorder ● All operatjons accomplished in the cloud recorded in the blockchain ● Possible solutjons: • Double signed transactjons ● Certjfjes that two partjes agree on something ● Coarse method • Logging (without smart contracts) ● Record all actjons ● SLA violatjons verifjed through the need of an arbitrator
Blockchain as a Flight Data Recorder ● All operatjons accomplished in the cloud recorded in the blockchain ● Possible solutjons: • Double signed transactjons ● Certjfjes that two partjes agree on something ● Coarse method • Logging (without smart contracts) ● Record all actjons ● SLA violatjons verifjed through the need of an arbitrator • Logging with smart contracts ● Smart contract acts as the arbitrator
File Upload Operation S u User P u Blockchain S c Cloud P c
File Upload Operation S u User P u upload req init Blockchain S c Cloud P c
File Upload Operation S u User P u upload req init Blockchain upload ACK S c Cloud P c
File Upload Operation S u User P u upload transfer req init S u Blockchain upload ACK S c Cloud P c
File Upload Operation S u User P u upload transfer req init S u Blockchain transfer upload ACK ACK S c digest Cloud P c
File Upload Operation S u User P u digest upload transfer ACK / NACK req init S u Blockchain transfer upload ACK ACK S c digest Cloud P c
File Delete S u User P u Blockchain S c Cloud P c
File Delete S u User P u delete req Blockchain S c Cloud P c
File Delete S u User P u delete req Blockchain delete ACK S c Cloud P c
Read (found) S u User P u Blockchain S c Cloud P c
Read (found) S u User P u read req Blockchain S c Cloud P c
Read (found) S u User P u read req Blockchain publish URL (encrypted data) S c Cloud P c
Read (found) S u User P u read read req S u Blockchain publish URL (encrypted data) S c Cloud P c
Read (missing) S u User P u Blockchain Smart Contract S c Cloud P c
Read (missing) S u User P u read req Blockchain Smart Contract S c Cloud P c
Read (missing) S u User P u read req Blockchain Smart Contract missing S c Cloud P c
Read (missing) S u User P u violatjon read check req req Blockchain Smart Contract missing S c Cloud P c
Read (missing) S u User P u violatjon read check req req Blockchain violatjon response Smart Contract missing S c Cloud P c
Concluding Considerations ● Blockchain as a fmight data recorder for Cloud accountability • Pseudo-anonymous and tamper-proof logging of events • Ledger used to verify if SLAs are violated • Self-enforcing smart contracts allow to automatjcally identjfy responsibilitjes and setule disputes ● Effjciency issues: • Current blockchains might not provide a short tjme responses • Transactjon fees might represent an economic disincentjve ● Lightweight, permissioned blockchains might be more performant, scalable, and only accessible by a dedicated group of entjtjes
Stefano Ferretti s.ferretti@unibo.it Department of Computer Science and Engineering University of Bologna Mura A. Zamboni 7 40127, Bologna Italy www.cs.unibo.it/sferretu
Recommend
More recommend