SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
2
The resin.io platform allows developers to securely deploy code to a fleet of devices
The devices are set up with the resinOS, and developers can push code to the resin servers
The code will be packaged into containers and delivered to the fleet
All the devices can be monitored and updated from a web dashboard
First ten devices are free
What is resin.io?
3
How does it work?
Balena is a container engine for IoT, developed by resin.io,
compatible with Docker containers. it supports container deltas
for 10-70x more efficient bandwidth usage
Docker is a software that performs containerization. It uses the
resource isolation features of the Linux kernel to allow
independent containers to run within a single Linux instance,
avoiding the overhead of virtual machines
4
How does it work?
The Yocto Project is an open source project whose goal is to
produce tools and processes that enable the creation of Linux
distributions for embedded software that are independent of the
underlying architecture of the embedded hardware
Git is a version control system used for source code
management. It allows to update the application code from a
local repository to the resin.io platform
5
Define containers
FROM has to be the first instruction and defines the base image to use as the basis for the container
RUN executes commands in the container e.g. RUN apt-get install <package>
ADD copies files from the current directory into the container, e.g. ADD <src> <dest>. It also allows the
to be a url, and if the is a recognised compression format, it will unpack it
COPY is very similar to ADD, but without the compression and url functionality
CMD provides defaults for an executing container. This command will be run when the container starts
up on the device, this is tipically used to execute a start script. CMD should always be the last
command in the Dockerfile
The instructions for building a container image are written in a Dockerfile
Alternatively, if the project includes a package.json (for Node.js projects),
then that will be used to create an implicit Dockerfile
6
Delivery pipeline
7
On-device architecture
Application Containers run a full stack in
isolation
Most updates with resin.io are at the application
container level. When the code is “pushed”, it is
an application container that is deployed
Deployment, management, and monitoring tasks
are performed by the Resin Agent
ResinOS is a lightweight container-enabled
host operating system
Updates to ResinOS are very infrequent. They
are performed with ResinHUP
8
Choose the language you want
Use the libraries of your choice
Choose your base distribution
Take control of networking
Control the on-device environment
9
Monitor devices anywhere
See IP addresses and logs of
devices
Give your devices unique URLs so
they are web-accessible
Manage the fleet
10
Security
Encrypted communication
between resin.io and devices
Access to the dashboard with a
Two-factor authentication
11
UP board
®
NUC
®
Edison
Raspberry Pi 1
BeagleBone
Jetson TX2
Intel NUC
Hummingboard
Intel Edison
Samsung ARTIK 520
Samsung ARTIK 710
Samsung ARTIK 1020
Kitra 710
Kitra 520
DART-6UL
Nitrogen 6x
Odroid XU4
Raspberry Pi 2
Raspberry Pi 3
Odroid C1/C1+
Supported devices
12
Getting started with resin.io
13
Setup (1)
Sign Up
14
Sign Up
Insert SSH Key
Setup (2)
15
Sign Up
Insert SSH Key
Create an application
Setup (3)
16
Sign Up
Insert SSH Key
Create an application
Add a device
Setup (4)
17
Sign Up
Insert SSH Key
Create an application
Add a device
Download resinOS image
Setup (5)
18
Sign Up
Insert SSH Key
Create an application
Add a device
Download resinOS image
Flash image
Setup (6)
19
git remote add resin
<USERNAME>@git.resin.io:<USERNAME>/<APPNAME>.git
git push resin master
The application will be downloaded and executed by all the
devices connected in the application fleet
The progress can be seen in the web dashboard
Push the code
The code has been successfully compiled
20
Dashboard
21
Code snippets (1)
22
Code snippets (2)
23
24
Andrea Lisanti
linkedin.com/in/andrea-lisanti
github.com/andreaLisanti
Thank you for your attention

Weitere ähnliche Inhalte

Was ist angesagt?

Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
Henri Gomez
 

Was ist angesagt? (20)

Containerizing Web Application with Docker
Containerizing Web Application with DockerContainerizing Web Application with Docker
Containerizing Web Application with Docker
 
Docker for Web Developers: A Sneak Peek
Docker for Web Developers: A Sneak PeekDocker for Web Developers: A Sneak Peek
Docker for Web Developers: A Sneak Peek
 
Continuous integration and deployment with docker
Continuous integration and deployment with dockerContinuous integration and deployment with docker
Continuous integration and deployment with docker
 
Tokyo OpenStack Summit 2015: Unraveling Docker Security
Tokyo OpenStack Summit 2015: Unraveling Docker SecurityTokyo OpenStack Summit 2015: Unraveling Docker Security
Tokyo OpenStack Summit 2015: Unraveling Docker Security
 
Kubernetes 101 & Workshop
Kubernetes 101 & WorkshopKubernetes 101 & Workshop
Kubernetes 101 & Workshop
 
Secure Substrate: Least Privilege Container Deployment
Secure Substrate: Least Privilege Container Deployment Secure Substrate: Least Privilege Container Deployment
Secure Substrate: Least Privilege Container Deployment
 
DockerCon EU 2015: Docker and PCI-DSS - Lessons learned in a security sensiti...
DockerCon EU 2015: Docker and PCI-DSS - Lessons learned in a security sensiti...DockerCon EU 2015: Docker and PCI-DSS - Lessons learned in a security sensiti...
DockerCon EU 2015: Docker and PCI-DSS - Lessons learned in a security sensiti...
 
Cigna Innovation Summit
Cigna Innovation SummitCigna Innovation Summit
Cigna Innovation Summit
 
Ten layers of container security for CloudCamp Nov 2017
Ten layers of container security  for CloudCamp Nov 2017Ten layers of container security  for CloudCamp Nov 2017
Ten layers of container security for CloudCamp Nov 2017
 
Ryan Koop's Docker Chicago Meetup Demo March 12 2014
Ryan Koop's Docker Chicago Meetup Demo March 12 2014Ryan Koop's Docker Chicago Meetup Demo March 12 2014
Ryan Koop's Docker Chicago Meetup Demo March 12 2014
 
Container security
Container securityContainer security
Container security
 
DockerCon SF 2015: Docker Security
DockerCon SF 2015: Docker SecurityDockerCon SF 2015: Docker Security
DockerCon SF 2015: Docker Security
 
Security of Linux containers in the cloud
Security of Linux containers in the cloudSecurity of Linux containers in the cloud
Security of Linux containers in the cloud
 
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
Using Jenkins as Native Packages Factory - Jenkins User Conference Paris 2012
 
Operating project
Operating projectOperating project
Operating project
 
Debugging Microservices - QCON 2017
Debugging Microservices - QCON 2017Debugging Microservices - QCON 2017
Debugging Microservices - QCON 2017
 
Chris Swan at Container.Camp: Docker networking
Chris Swan at Container.Camp: Docker networkingChris Swan at Container.Camp: Docker networking
Chris Swan at Container.Camp: Docker networking
 
Open Source Tools for Container Security and Compliance @Docker LA Meetup 2/13
Open Source Tools for Container Security and Compliance @Docker LA Meetup 2/13Open Source Tools for Container Security and Compliance @Docker LA Meetup 2/13
Open Source Tools for Container Security and Compliance @Docker LA Meetup 2/13
 
Mak3
Mak3Mak3
Mak3
 
Docker and kernel security
Docker and kernel securityDocker and kernel security
Docker and kernel security
 

Ähnlich wie Resinio

Linux Container Technology inside Docker with RHEL7
Linux Container Technology inside Docker with RHEL7Linux Container Technology inside Docker with RHEL7
Linux Container Technology inside Docker with RHEL7
Etsuji Nakai
 

Ähnlich wie Resinio (20)

Accelerate your development with Docker
Accelerate your development with DockerAccelerate your development with Docker
Accelerate your development with Docker
 
Accelerate your software development with Docker
Accelerate your software development with DockerAccelerate your software development with Docker
Accelerate your software development with Docker
 
presentation @ docker meetup
presentation @ docker meetuppresentation @ docker meetup
presentation @ docker meetup
 
Docker 101 Checonf 2016
Docker 101 Checonf 2016Docker 101 Checonf 2016
Docker 101 Checonf 2016
 
Docker Ecosystem on Azure
Docker Ecosystem on AzureDocker Ecosystem on Azure
Docker Ecosystem on Azure
 
Docker intro
Docker introDocker intro
Docker intro
 
Docker and containers - Presentation Slides by Priyadarshini Anand
Docker and containers - Presentation Slides by Priyadarshini AnandDocker and containers - Presentation Slides by Priyadarshini Anand
Docker and containers - Presentation Slides by Priyadarshini Anand
 
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
 
Docker dDessi november 2015
Docker dDessi november 2015Docker dDessi november 2015
Docker dDessi november 2015
 
Docker Understanding, What is Docker? Why Docker? How do I containerize somet...
Docker Understanding, What is Docker? Why Docker? How do I containerize somet...Docker Understanding, What is Docker? Why Docker? How do I containerize somet...
Docker Understanding, What is Docker? Why Docker? How do I containerize somet...
 
Linux Container Technology inside Docker with RHEL7
Linux Container Technology inside Docker with RHEL7Linux Container Technology inside Docker with RHEL7
Linux Container Technology inside Docker with RHEL7
 
Docker basics
Docker basicsDocker basics
Docker basics
 
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
 
Moby Open Source Summit North America 2017
Moby Open Source Summit North America 2017Moby Open Source Summit North America 2017
Moby Open Source Summit North America 2017
 
Core OS
Core OSCore OS
Core OS
 
citus™ iot ecosystem
citus™ iot ecosystemcitus™ iot ecosystem
citus™ iot ecosystem
 
Docker_Interview_Questions__Answers.pdf
Docker_Interview_Questions__Answers.pdfDocker_Interview_Questions__Answers.pdf
Docker_Interview_Questions__Answers.pdf
 
Why containers
Why containersWhy containers
Why containers
 
Docker Container Introduction
Docker Container IntroductionDocker Container Introduction
Docker Container Introduction
 
Docker module 1
Docker module 1Docker module 1
Docker module 1
 

Kürzlich hochgeladen

UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 

Kürzlich hochgeladen (20)

UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 

Resinio

  • 1.
  • 2. 2 The resin.io platform allows developers to securely deploy code to a fleet of devices The devices are set up with the resinOS, and developers can push code to the resin servers The code will be packaged into containers and delivered to the fleet All the devices can be monitored and updated from a web dashboard First ten devices are free What is resin.io?
  • 3. 3 How does it work? Balena is a container engine for IoT, developed by resin.io, compatible with Docker containers. it supports container deltas for 10-70x more efficient bandwidth usage Docker is a software that performs containerization. It uses the resource isolation features of the Linux kernel to allow independent containers to run within a single Linux instance, avoiding the overhead of virtual machines
  • 4. 4 How does it work? The Yocto Project is an open source project whose goal is to produce tools and processes that enable the creation of Linux distributions for embedded software that are independent of the underlying architecture of the embedded hardware Git is a version control system used for source code management. It allows to update the application code from a local repository to the resin.io platform
  • 5. 5 Define containers FROM has to be the first instruction and defines the base image to use as the basis for the container RUN executes commands in the container e.g. RUN apt-get install <package> ADD copies files from the current directory into the container, e.g. ADD <src> <dest>. It also allows the to be a url, and if the is a recognised compression format, it will unpack it COPY is very similar to ADD, but without the compression and url functionality CMD provides defaults for an executing container. This command will be run when the container starts up on the device, this is tipically used to execute a start script. CMD should always be the last command in the Dockerfile The instructions for building a container image are written in a Dockerfile Alternatively, if the project includes a package.json (for Node.js projects), then that will be used to create an implicit Dockerfile
  • 7. 7 On-device architecture Application Containers run a full stack in isolation Most updates with resin.io are at the application container level. When the code is “pushed”, it is an application container that is deployed Deployment, management, and monitoring tasks are performed by the Resin Agent ResinOS is a lightweight container-enabled host operating system Updates to ResinOS are very infrequent. They are performed with ResinHUP
  • 8. 8 Choose the language you want Use the libraries of your choice Choose your base distribution Take control of networking Control the on-device environment
  • 9. 9 Monitor devices anywhere See IP addresses and logs of devices Give your devices unique URLs so they are web-accessible Manage the fleet
  • 10. 10 Security Encrypted communication between resin.io and devices Access to the dashboard with a Two-factor authentication
  • 11. 11 UP board ® NUC ® Edison Raspberry Pi 1 BeagleBone Jetson TX2 Intel NUC Hummingboard Intel Edison Samsung ARTIK 520 Samsung ARTIK 710 Samsung ARTIK 1020 Kitra 710 Kitra 520 DART-6UL Nitrogen 6x Odroid XU4 Raspberry Pi 2 Raspberry Pi 3 Odroid C1/C1+ Supported devices
  • 14. 14 Sign Up Insert SSH Key Setup (2)
  • 15. 15 Sign Up Insert SSH Key Create an application Setup (3)
  • 16. 16 Sign Up Insert SSH Key Create an application Add a device Setup (4)
  • 17. 17 Sign Up Insert SSH Key Create an application Add a device Download resinOS image Setup (5)
  • 18. 18 Sign Up Insert SSH Key Create an application Add a device Download resinOS image Flash image Setup (6)
  • 19. 19 git remote add resin <USERNAME>@git.resin.io:<USERNAME>/<APPNAME>.git git push resin master The application will be downloaded and executed by all the devices connected in the application fleet The progress can be seen in the web dashboard Push the code The code has been successfully compiled
  • 23. 23