Università degli Studi di Roma “Tor Vergata” Dipartimento di Ingegneria Civile e Ingegneria Informatica Progetti Corso di Sistemi Distribuiti e Cloud Computing A.A. 2013/14 Valeria Cardellini Scelta e validità del progetto • Comunicare entro 20/6/2014 le seguenti informazioni: – componenti del gruppo (nominativi ed email) – progetto scelto • Numero max di prenotazioni per ogni tipo di progetto • Inviare successivamente richiesta per accesso al grant AWS • Comunicare e concordare tempestivametne eventuali modifiche relative al gruppo • Progetto valido solo per l'A.A. 2013/14 Valeria Cardellini - SDCC 2013/14 1 Consegna e discussione del progetto • Consegna: circa dieci giorni prima della discussione del progetto • Quando consegnare? Durante l’A.A, non ci sono date predefinite • Cosa consegnare? CD con codice, relazione ed eventuali risultati sperimentali; relazione (no codice) anche in formato cartaceo • Discussione: tutti i componenti del gruppo nella stessa data • Cosa presentare? Una parte del progetto per ciascun componente del gruppo con ludici (max 10 minuti per studente) • Domande e testing del sistema/servizio durante la discussione Valeria Cardellini - SDCC 2013/14 2 Common requirements for all projects • You can choose the programming language • You must use Amazon Web Services (AWS) • You can use support libraries and tools to develop your project (of course they should not overlap with the project goals!) – Be careful: their use must be properly mentioned in the project report • System/service with configurable parameters (no hard-coded!) – Through a configuration file/service • You must test all the functionalities of your developed system/service and present and discuss the testing results in the project report Valeria Cardellini - SDCC 2013/14 3 Common requirements for all projects (2) • System/service supports multiple, autonomous entities contending for shared resources • System/service supports real-time updates to some form of shared state • System/service state should be distributed across multiple client or server nodes – The only allowed centralized service can be one that supports users logging on, adding or removing clients or servers, and other housekeeping tasks • System/service scalability and elasticity • System/service fault tolerance, in particular system/ service continues operation even if one of the participant nodes crashes (optionally, recovers the state of a crashed node so that it can resume operation) 4 Valeria Cardellini - SDCC 2013/14 Overview of projects • Project 1: Mobile Cloud Computing application – 2/3 students per team • Project 2: Sensor Cloud service - 2/3 students per team • Project 3: Elastic file system in the Cloud - 3 students per team • Project 4: reinvent Facebook/Twitter in the Cloud - 3 students per team Valeria Cardellini - SDCC 2013/14 5 Project 1 • Mobile Cloud Computing (MCC) application • Create a Mobile Cloud Computing application and exploit the idea of remedying the limited resource availability on mobile devices (computing cycles, storage and battery energy) with the resource abundance in the Cloud 6 Valeria Cardellini - SDCC 2013/14 Project 1 • Which kind of application? It is your choice! • Think of a next generation context-aware mobile application, e.g., – Context-rich sensing on mobile devices in support of quality-of-life enhancing applications, such as photo and video processing to perform face/ activity recognition, speech processing to perform automatic translation – Interactive and delay-sensitive applications, such as multi-party video conferencing – Fast and reliable key-value store service: a mobile application can store and retrieve application-wide state information by using key-value pairs Valeria Cardellini - SDCC 2013/14 7 Project 1 • Propose your service by June 20 – In 1 page briefly describe your project’s application – The number of students in the team depends on the chosen application • Additional requirements: – Use at least 2 AWS distinct services 8 Valeria Cardellini - SDCC 2013/14 Project 2 • Sensor Cloud service • Idea: data streams coming from sensors, IoT devices, smartphones are processed in the Cloud Valeria Cardellini - SDCC 2013/14 9 Project 2 • Which kind of service? It is your choice! • Some examples: – Smart building applications that optimize power use, air conditioning, lighting, door locking/ unlocking, finding people – Mobile crowdsensing applications, e.g., applications that fall within the domain of smart cities, real-time traffic monitoring, crowdsourced environmental monitoring, ambient assisted living, or social sensing – Possibly saving energy consumption on the data sources 10 Valeria Cardellini - SDCC 2013/14 Project 2 • Propose your service by June 20 – In 1 page briefly describe your project’s service – The number of students in the team depends on the chosen service • Additional requirements: – Use at least 2 AWS distinct services Valeria Cardellini - SDCC 2013/14 11 Project 3 • Elastic file system in the Cloud • Idea: distributed file system that supports application scale-up and scale-down – Applications tag files with different levels of consistency and persistence (only certain files and directories are to be kept consistent across VMs) – The file system leverages the elastic nature of VM instances – Scale-down can be challenging due to need to perform state reintegration in case of stateful services (if a file is divided into chunks, chunks have to be properly moved/replicated before the corresponding VM is retired) 12 Valeria Cardellini - SDCC 2013/14 Project 4 • Reinvent Facebook/Twitter in the Cloud • In a nutshell: create an eventually consistent distributed publish-subscribe system with a social network interface • Goal: exploit the use of AWS! Valeria Cardellini - SDCC 2013/14 13