Pietro Manzoni

@pmanzoni

Joined on Jun 8, 2017

  • curso 2019/2020 Docker overview https://docs.docker.com/engine/docker-overview/ Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. By taking advantage of Docker’s methodologies for shipping, testing, and deploying code quickly, you can significantly reduce the delay between writing code and running it in production. The Docker platform Docker provides the ability to package and run an application in a loosely isolated environment called a container. The isolation and security allow you to run many containers simultaneously on a given host. Containers are lightweight because they don’t need the extra load of a hypervisor, but run directly within the host machine’s kernel. This means you can run more containers on a given hardware combination than if you were using virtual machines. You can even run Docker containers within host machines that are actually virtual machines!
     Like  Bookmark
  • Creating an Account To use TTN, you need an account. Create an account. Select Console from the top menu. Adding an Application in the Console To add a TTN Application: In the Console, click add application
     Like  Bookmark
  • This session is made of two parts: a first one where you'll manually manage the flows in a switch, and a second one where you'll evaluate a network using a graphical interface Part 1: manually managing flows https://www.youtube.com/watch?v=FyV4MoQ3T0I In this part you will manage the flow entries on a Open vSwitch (OVS) manually using the ovs-ofctl command (see the ovs-ofctl man page also at openswitch.org). Flow entries on an OpenFlow capable switch control the behavior of the packets. Normally these flows (or rules) are installed dynamically with an SDN controller. Basic operations
     Like 3 Bookmark
  • :::info OLD... better this https://hackmd.io/@pmanzoni/rkTKjifUL ::: This document describes: the basic information required to set up a development environment, and the programming workflow for a Pycom device, in our case the LoPys. The main goal is to gain access to the REPL. REPL stands for Read Evaluate Print Loop, and is the name given to the interactive MicroPython prompt that is accessible on the Pycom Devices. Using the REPL is by far the easiest way to test out python code and run commands.
     Like  Bookmark
  • What is the TIG Stack? The TIG Stack is an acronym for a platform of open source tools built to make collection, storage, graphing, and alerting on time series data incredibly easy. What is a time series? A time series is simply any set of values with a timestamp where time is a meaningful component of the data. The classic real world example of a time series is stock currency exchange price data. Tools Telegraf is a metrics collection agent. Use it to collect and send metrics to InfluxDB. Telegraf’s plugin architecture supports collection of metrics from 100+ popular services right out of the box. InfluxDB is a high performance Time Series Database. It can store hundreds of thousands of points per second. The InfluxDB SQL-like query language was built specifically for time series.
     Like  Bookmark
  • :::info Code referenced in this doc can be found here: https://github.com/pmanzoni/hackmd_code ::: The HW we use is based on a LoPy4 with a PySense board. ![](https://i.imgur.com/vSrQQ7f.jpg =x400) LoPys are based on MicroPython. MicroPython is a full Python compiler and runtime that runs on the bare-metal. You get an interactive prompt, called the REPL ("Read Evaluate Print Loop"), to execute commands immediately, along with the ability to run and import scripts from the built-in filesystem. The REPL has history, tab completion, auto-indent and paste mode. More infos about REPL can be found here: https://docs.pycom.io/pymakr/toolsfeatures/
     Like  Bookmark
  • curso 2019/2020 user pwd IOTPM001 cc6G9d-HpD4nq IOTPM002 pb7JfF)4JZ5zd
     Like  Bookmark
  • Los “Agentes de Seguridad para el Acceso a la Nube” (o CASB: Cloud Access Security Broker), son una categoría de herramientas de seguridad que ha tenido un auge importante en los últimos tiempos. Analiza los recursos disponibles en la red y las implicaciones y usos que podría tener para una empresa. Blockchain se está difundiendo como estándar para el almacenamiento y la realización de transacciones distribuidas seguras. Analiza los recursos disponibles en la red (p.ej., https://www.hyperledger.org/, https://www.openchain.org/, https://github.com/corda/corda) y las implicaciones y usos que podría tener para una empresa. Define y explica el concepto de "Seguridad Zero Trust" describiendo las herramientas y las metodologías mas utilizada para su despliegue Analiza el estado de difusión de LoRaWAN, considerando las plataforma HW y SW a disposición para el despliegue de una aplicación o servicio para el IoT. Analiza las posibilidades ofrecidas por la plataforma https://www.zerotier.com para el diseño de servicios conectados
     Like  Bookmark
  • Information for Phase 2. Below you will find the information for Phase 2 Additional description section. In case participants wish to add an update to their abstract, please use this field. ... Overview of the solution/proposal (*). The non-technical overview of the proposed solution (500 Words recommended). Our proposal aims to provide a messaging service based on voice notes to isolated communities that do not have even the most basic messaging services. A solution like ours would be of great help: inhabitants could have access to a news system, weather notifications, prices of certain goods they wish to sell or buy and be able to schedule medical appointments before moving to another place. Our solution incorporates devices that use different wireless technologies, which allow them to establish links over long distances and in turn function as access points where users can connect. These devices are low cost and have low power consumption. We are designing a frugal generic architecture to provide computing services in poorly connected and resource-constrained scenarios. We have developed the necessary mechanisms for the devices to be able to communicate with each other, handling different types of content, from text messages, sensor data to voice notes. In addition to providing an interface through which users can send or receive messages. Our goal is to provide a voice messaging system that allows users who cannot read or write to send voice notes. This would be a clear advantage in isolated communities with a high rate of illiteracy, thus expanding the number of people who can communicate in a more friendly way.
     Like  Bookmark
  • Los “Agentes de Seguridad para el Acceso a la Nube” (o CASB: Cloud Access Security Broker), son una categoría de herramientas de seguridad que ha tenido un auge importante en los últimos tiempos. Analiza los recursos disponibles en la red y las implicaciones y usos que podría tener para una empresa. Blockchain se está difundiendo como estándar para el almacenamiento y la realización de transacciones distribuidas seguras. Analiza los recursos disponibles en la red (p.ej., https://www.hyperledger.org/, https://www.openchain.org/, https://github.com/corda/corda) y las implicaciones y usos que podría tener para una empresa. Define y explica el concepto de "Seguridad Zero Trust" describiendo las herramientas y las metodologías mas utilizada para su despliegue Evalúa la iniciativa “The OWASP Foundation” (www.owasp.org) teniendo en consideración sus motivaciones y las implicaciones que podría tener para la seguridad del SI de una empresa Evalúa la iniciativa "Let's Encrypt" (https://letsencrypt.org/), teniendo en consideración sus motivaciones, la tecnología utilizada y las implicaciones que podría tener para la seguridad del SI de una empresa Analiza el estado de difusión de LoRaWAN, considerando las plataforma HW y SW a disposición para el despliegue de una aplicación o servicio para el IoT. Analiza las posibilidades ofrecidas por la plataforma https://www.zerotier.com para el diseño de servicios conectados Ejemplos y casos de uso de Docker Swarm (https://docs.docker.com/get-started/swarm-deploy/) para el despliegue de una aplicación o servicio Ejemplos y casos de uso de Kubernetes (https://kubernetes.io/es/) para el despliegue de una aplicación o servicio Analiza los principales ataques que podría sufrir el servidor web Apache (https://httpd.apache.org/) y define las reglas básica de instalación para garantizar una seguridad mínima razonable.
     Like  Bookmark
  • This Lab session will guide you through working with The Things Networks to (step 1) send sensor data over LoRaWAN to a cloud server and how to (step 2) process and visualize those data. All the code necessary for this Lab session is available at bit.ly/srm2019lab in folder code. Step 1: sending sensor data over LoRaWAN to a cloud server "The Things Network" cloud server The Things Network is a web service that enables low power Devices to use long range Gateways to connect to an open-source, decentralized Network to exchange data with Applications. You will manage your applications and devices via The Things Network Console.
     Like  Bookmark
  • Playing with containers There are different ways to use containers. These include: To run a single task: This could be a shell script or a custom app. Interactively: This connects you to the container similar to the way you SSH into a remote server. In the background: For long-running services like websites and databases. Run a single task "Hello World" $ docker container run hello-world
     Like  Bookmark
  • Docker Lab 1: Hands-on section 1 Docker Lab 2: Building an image: an example with Flask Docker Lab 3: Networking with standalone containers Docker Lab 4: Simulating a Thread network using OpenThread in Docker
     Like  Bookmark
  • Note: This lab is based on Docker Tutorials and Labs. Docker Images In this section we will build our own image, use that image to run an application locally, and finally, push some of our own images to the :::info The docket hub is also referred to as Docker Store or Docker Cloud. ::: For simplicity, you can think of an image as a git repository, that is images can be committed with changes and have multiple versions.
     Like  Bookmark
  • # IoT Lab 2: LoRaWAN ###### tags: `SRM` `Labs` This Lab session will guide you through working with **The Things Networks** to (step 1) send sensor data over LoRaWAN to a cloud server and how to (step 2) process and visualize those data. **All the code necessary for this Lab session is available at [bit.ly/srm2019lab](http://bit.ly/srm2019lab)** in folder `code`. # Step 1: sending sensor data over LoRaWAN to a cloud server ## "The Things Network" cloud server The Things Network is a web s
     Like  Bookmark
  • # IoT Lab 4: data visualization ###### tags: `RSE` `Labs` > curso 2019/2020 > Marco Zennaro, PhD - ICTP **All the code necessary for this Lab session is available at [bit.ly/rse2019lab](http://bit.ly/rse2019lab)** in folder `codigo/IoT`. ## Introduction ### What is the TIG Stack? The TIG Stack is an acronym for a platform of open source tools built to make collection, storage, graphing, and alerting on time series data incredibly easy. ![](https://i.imgur.com/TzgFn2G.png) ### What is a tim
     Like  Bookmark
  • # IoT Lab 1: MQTT with Python ###### tags: `SRM` `Labs` > curso 2019/2020 This lab aims to offer you an hands-on experience with MQTT. You will perform experiments that will allow you to learn how to "publish" data and "subscribe" to get data. **All the code necessary for this Lab session is available at [bit.ly/srm2019lab](http://bit.ly/srm2019lab)** in folder `code`. ## Part 1: Basic MQTT In this section you will work with MQTT using the [**MQTT Paho library**](https://www.eclipse.org/p
     Like  Bookmark
  • # Dockers Lab 2: Simulating a Thread network using OpenThread in Docker ###### tags: `RSE` `Labs` > curso 2019/2020 Esta sesión del laboratorio está basada en este Codelab de Google: https://codelabs.developers.google.com/codelabs/openthread-simulation/#0 Lo que tenéis que hacer es seguir los pasos y contestar a las preguntas indicadas abajo. ==Importante:== * Dockers ya está instalado en la MV * tenéis que utilizar `sudo` delante de todos los comandos dockers * ... cuidado en NO utilizar lo
     Like  Bookmark
  • # IoT Lab 2: from devices to platform ###### tags: `RSE` `Labs` > curso 2019/2020 In this lab session you will: 1. Learn how to use a type of IoT devices called LoPy by [Pycom](http://pycom.io) 2. Connect these devices to an IoT platform called [Ubidots](https://ubidots.com/) using MQTT. **All the code necessary for this Lab session is available at [bit.ly/rse2019lab](http://bit.ly/rse2019lab)** in folder `codigo/IoT`. ## Part1: Getting started with IoT devices The HW you will use is based
     Like  Bookmark
  • # IoT Lab 3: LoRaWAN ###### tags: `RSE` `Labs` This Lab session will guide you through working with **The Things Networks** to send sensor data over LoRa to an application. **All the code necessary for this Lab session is available at [bit.ly/rse2019lab](http://bit.ly/rse2019lab)** in folder `codigo/IoT`. # Step 1 ## Register with The Things Network Manage your applications and devices via [The Things Network Console](https://console.thethingsnetwork.org/). ### Create an Account To use the
     Like  Bookmark