Introduction To
Canister
Ramit surana
Agenda
Docker - The Future.
The Statement Problem.
Challenges to Docker.
Introduction to Canister.
Principle of Canister.
Raft Algorithm.
Canister Architecture.
Features on Canister.
Future Plans
Who am I ?
Open Source Tech Enthusiastic .
Crazy about Latest Technology that
affects the infrastructure.
Join me Here :
Email:ramitsurana@gmail.com
Twitter: @ramitsurana
Linkedin: /in/ramitsurana
Github:ramitsurana05
What is Docker ?
Docker is a powerful build for your Linux
containers.
Open platform for developers and
sysadmins to build, ship, and run
distributed applications.
Docker enables apps to be quickly
assembled from components.
It eliminates the friction between
development, QA, and production
environments.
Why Docker is the Future ?
Pack many more containers on a host
machine than you can virtual machines
There's only one operating system shared
by all the containers.
Containers can start up in less than a
second.
Can run Docker containers on AWS and
Azure public clouds.
Containers are easy to share.
The Problem
Challenges:
Deployment of multiple containers in
production environment is hard.
Deploying various applications such as
AppArmor,DeviceMapper etc.is hard.
Linux Containers are not made for
security.
There is only one root for all the
containers.
Security certificates management is hard.
What is Canister ?
Infrastructure Management Tool for
managing your Docker Containers.
Built on gui as well as cli mode.
Easy to use and install.
Canister supports CoreOS rkt project.
Easy to sync with your current production
environment.
Easily Monitor your activites.
Principle
Based on the principle of DID :
Discover : Discover the Infrastructure.
Integrate : Seamless Integration with
Infrastructure.
Deploy : Deploy the services with ease and
comfort.
Raft Algorithm
Raft is protocol for implementing distributed
Consensus.
Consensus Algorithm similar to Paxos.
Built using go-raft library.
Consists of 3 Roles :
- The Leader
- The Follower
- The Candidate
Raft
Consensus
Algorithm
Raft Algorithm(contd.)
Raft Algorithm(contd.)
Consensus is a fundamental problem in fault-tolerant distributed systems.
Consensus involves multiple servers agreeing on values.
Each server has a state machine and a log.
State machine is the component that we want to make fault-tolerant, such as a hash
table.
Consensus algorithm is used to agree on the commands in the servers' logs.
Raft Algorithm(Use Cases)
Used Cases of Raft Algorithm :
Etcd/raft : By CoreOS (Golang)
hashicorp/raft : By Hashicorp (Golang)
Logcabin/logcabin : By Diego Onargo (C++)
Streed/simpleRaft : By Sean Reed (Python)
Architecture
Docker
Kubernetes
OpenstackConsul
CoreOS
Features
Launch a Variety of Images from
Canister within seconds.
Easy Setup on your containers.
Manage your containers using easy gui
mode.
Enabled to work smoothly with
Openstack and project atomic images.
Sign -in option done by connecting via
LDAP.
Built using Golang,JavaScript &
Bootstrap.
What is rkt ?
Pronounced as "''rock-it".
Developed by CoreOS.
Can be deployed over Docker
Containers.
Provides By Default Integration with
Kubernetes.
Runs on the concept of Pods.
Best way to use it over Docker
Containers.
SELinux enabled rules and policies.
Future plans
Deploying Canister on Openstack .
Integration with Project Atomic Host.
Please contribute !!
Lookout for Partners/Sponsors
Connect with me:
ramitsurana@gmail.com
@ramitsurana
/in/ramitsurana
Do Share!!

Canister

  • 1.
  • 2.
    Agenda Docker - TheFuture. The Statement Problem. Challenges to Docker. Introduction to Canister. Principle of Canister. Raft Algorithm. Canister Architecture. Features on Canister. Future Plans
  • 3.
    Who am I? Open Source Tech Enthusiastic . Crazy about Latest Technology that affects the infrastructure. Join me Here : Email:ramitsurana@gmail.com Twitter: @ramitsurana Linkedin: /in/ramitsurana Github:ramitsurana05
  • 4.
    What is Docker? Docker is a powerful build for your Linux containers. Open platform for developers and sysadmins to build, ship, and run distributed applications. Docker enables apps to be quickly assembled from components. It eliminates the friction between development, QA, and production environments.
  • 5.
    Why Docker isthe Future ? Pack many more containers on a host machine than you can virtual machines There's only one operating system shared by all the containers. Containers can start up in less than a second. Can run Docker containers on AWS and Azure public clouds. Containers are easy to share.
  • 6.
  • 7.
    Challenges: Deployment of multiplecontainers in production environment is hard. Deploying various applications such as AppArmor,DeviceMapper etc.is hard. Linux Containers are not made for security. There is only one root for all the containers. Security certificates management is hard.
  • 8.
    What is Canister? Infrastructure Management Tool for managing your Docker Containers. Built on gui as well as cli mode. Easy to use and install. Canister supports CoreOS rkt project. Easy to sync with your current production environment. Easily Monitor your activites.
  • 9.
    Principle Based on theprinciple of DID : Discover : Discover the Infrastructure. Integrate : Seamless Integration with Infrastructure. Deploy : Deploy the services with ease and comfort.
  • 10.
    Raft Algorithm Raft isprotocol for implementing distributed Consensus. Consensus Algorithm similar to Paxos. Built using go-raft library. Consists of 3 Roles : - The Leader - The Follower - The Candidate Raft Consensus Algorithm
  • 11.
  • 12.
    Raft Algorithm(contd.) Consensus isa fundamental problem in fault-tolerant distributed systems. Consensus involves multiple servers agreeing on values. Each server has a state machine and a log. State machine is the component that we want to make fault-tolerant, such as a hash table. Consensus algorithm is used to agree on the commands in the servers' logs.
  • 13.
    Raft Algorithm(Use Cases) UsedCases of Raft Algorithm : Etcd/raft : By CoreOS (Golang) hashicorp/raft : By Hashicorp (Golang) Logcabin/logcabin : By Diego Onargo (C++) Streed/simpleRaft : By Sean Reed (Python)
  • 14.
  • 15.
    Features Launch a Varietyof Images from Canister within seconds. Easy Setup on your containers. Manage your containers using easy gui mode. Enabled to work smoothly with Openstack and project atomic images. Sign -in option done by connecting via LDAP. Built using Golang,JavaScript & Bootstrap.
  • 16.
    What is rkt? Pronounced as "''rock-it". Developed by CoreOS. Can be deployed over Docker Containers. Provides By Default Integration with Kubernetes. Runs on the concept of Pods. Best way to use it over Docker Containers. SELinux enabled rules and policies.
  • 17.
    Future plans Deploying Canisteron Openstack . Integration with Project Atomic Host.
  • 18.
  • 19.
  • 20.