SlideShare uma empresa Scribd logo
1 de 72
Baixar para ler offline
Jupyter Notebook Ansible
◦
◦ GitHub/Twitter: @yacchin1205
:
:
: ( )
(NII)
( )
◦ /


is
…
1867 1930
…
– – , 1978
…
…
– – , 1978
/
/
Which type are you?
ANACONDA EMPOWERS THE ENTIRE DATA SCIENCE TEAM
<https: //www.continuum.io/open-data-science> 

as of July 1, 2016
( )
Moving Target
◦
◦
◦
◦
◦
→
NII
• …
•
• Hadoop …
• …
•
•
•
•
Hardiman, General Electric in 1965
https://www.engadget.com/2014/01/26/ge-man-amplifying-robots/
Literate
Computing

for
Reproducible
Infrastructure
Jupyter: Literate Computing
Jupyter
Data Scientist
Jupyter Notebook
https://tmpnb.org
Jupyter( IPython) + Ansible
◆
◆
◆
Notebook
Literate Computing for Reproducible Infrastructure
“Literate Computing for Reproducible Infrastructure”


/
= computation = communication
◦ data live-code
◦
Automation .. Communication
:
: Communication
◦
◦
◦
(Code )
◦ /
… Traceability
… Reusability
… Reproducibility
“ ”Notebook
https://github.com/NII-cloud-operation/Literate-computing-Basics
Hadoop
Notebook
Ansible Playbook
Ansible Playbook
…
…
Update
•
• 1
• Notebook
• Notebook
• Notebook
…
• https://github.com/ansible/ansible/issues/13485
Not only the handler is not triggered,
it does not throw any error if it does not exist.
• …
Notebook
Jupyter + Ansible
Jupyter Notebook
http://qiita.com/yacchin1205/items/efaa498ca68e7c169015
Ansible
• Ansible
•
• / sudo
•
• Notebook
•
Notebook
•
Jupyter
N. 

)

takasix
2010 SIer SaaS
2011 ( )
2012 ( ) Microsoft Kinect Gescha
2013 2015 SIer OSS”CloudConductor-Patterns”
2016
Jupyter Notebooks Architecture
0MQ
HTTP &
Websokets
notebook extension system
0MQ
HTTP &
Websokets
nbextensions serverextensions
nbextensions
• JavaScript
• UI, Note
•
•
server extension
• 4.2
• Notebook server
• HTTP
• (?)
Jupyter Notebook 

nb extension
• Jupyter_code_cell_status
• https://github.com/NII-cloud-operation/Jupyter-code_cell_status
• Jupyter-multi_outputs
• https://github.com/NII-cloud-operation/Jupyter-multi_outputs
Jupyter-code_cell_status
Jupyter_code_cell_status -
•
Jupyter_code_cell_status -
Jupyter_code_cell_status -
•
Jupyter_code_cell_status -
• nb extension
Jupyter-multi_outputs
Jupyter-multi_outputs -
•
•
• ”Trial and Error”
•
• :
• :
Jupyter-multi_outputs -
Jupyter-multi_outputs - (1)
•
Jupyter-multi_outputs - (2)
•
Jupyter-multi_outputs - (3)
•
Jupyter-multi_outputs - (4)
• .ipynb
• Extension 



( )
Jupyter-multi_outputs -
• diff
• ……
Jupyter-multi_outputs -
• 1 stream
Jupyter-multi_outputs -
%matplotlib inline
import numpy
from matplotlib import pyplot
x = numpy.arange(0, 10, 0.2)
y = numpy.cos(x)
pyplot.plot(x,y)
display_data:[<matplotlib.lines.Line2D at 0x7eff779f56d0>]
execute_result:data:image/png;base64,iVBORw0KGgoA…
notebook extension system
notebook extension system (1)
• nb extensions
• Extension
• JavaScript prototype Extension
✴ code_cell_status multi_outputs
1 Extension
notebook extension system (2)
• server extensions
•
• notebook extension




Jupyter notebook 

LiterateComputing

for Reproducible Infrastructure



PullRequest
Jupyter Notebook Ansible

Mais conteúdo relacionado

Semelhante a ベアメタルクラウドの運用をJupyter NotebookとAnsibleで機械化してみた

Don't Give Credit: Hacking Arcade Machines
Don't Give Credit: Hacking Arcade MachinesDon't Give Credit: Hacking Arcade Machines
Don't Give Credit: Hacking Arcade Machines
Michael Scovetta
 

Semelhante a ベアメタルクラウドの運用をJupyter NotebookとAnsibleで機械化してみた (20)

Introduction to Open Source Hardware
Introduction to Open Source HardwareIntroduction to Open Source Hardware
Introduction to Open Source Hardware
 
Data Science Apps: Beyond Notebooks - Natalino Busa - Codemotion Amsterdam 2017
Data Science Apps: Beyond Notebooks - Natalino Busa - Codemotion Amsterdam 2017Data Science Apps: Beyond Notebooks - Natalino Busa - Codemotion Amsterdam 2017
Data Science Apps: Beyond Notebooks - Natalino Busa - Codemotion Amsterdam 2017
 
Data science apps: beyond notebooks
Data science apps: beyond notebooksData science apps: beyond notebooks
Data science apps: beyond notebooks
 
Monitoring Big Data Systems - "The Simple Way"
Monitoring Big Data Systems - "The Simple Way"Monitoring Big Data Systems - "The Simple Way"
Monitoring Big Data Systems - "The Simple Way"
 
Programming the Real World: Javascript for Makers
Programming the Real World: Javascript for MakersProgramming the Real World: Javascript for Makers
Programming the Real World: Javascript for Makers
 
Data science apps powered by Jupyter Notebooks
Data science apps powered by Jupyter NotebooksData science apps powered by Jupyter Notebooks
Data science apps powered by Jupyter Notebooks
 
Portland Science Hack Day: Open Source Hardware
Portland Science Hack Day: Open Source HardwarePortland Science Hack Day: Open Source Hardware
Portland Science Hack Day: Open Source Hardware
 
Introduction to Internet of Things Hardware
Introduction to Internet of Things HardwareIntroduction to Internet of Things Hardware
Introduction to Internet of Things Hardware
 
Computable content: Notebooks, containers, and data-centric organizational le...
Computable content: Notebooks, containers, and data-centric organizational le...Computable content: Notebooks, containers, and data-centric organizational le...
Computable content: Notebooks, containers, and data-centric organizational le...
 
Don't Give Credit: Hacking Arcade Machines
Don't Give Credit: Hacking Arcade MachinesDon't Give Credit: Hacking Arcade Machines
Don't Give Credit: Hacking Arcade Machines
 
IoT Session Thomas More
IoT Session Thomas MoreIoT Session Thomas More
IoT Session Thomas More
 
Cc internet of things @ Thomas More
Cc internet of things @ Thomas MoreCc internet of things @ Thomas More
Cc internet of things @ Thomas More
 
Getting Started with Hadoop
Getting Started with HadoopGetting Started with Hadoop
Getting Started with Hadoop
 
Lrz kurs: big data analysis
Lrz kurs: big data analysisLrz kurs: big data analysis
Lrz kurs: big data analysis
 
Rapid Response: Debugging and Profiling to the Rescue
Rapid Response: Debugging and Profiling to the RescueRapid Response: Debugging and Profiling to the Rescue
Rapid Response: Debugging and Profiling to the Rescue
 
Kafka Summit SF 2017 - Streaming Processing in Python – 10 ways to avoid summ...
Kafka Summit SF 2017 - Streaming Processing in Python – 10 ways to avoid summ...Kafka Summit SF 2017 - Streaming Processing in Python – 10 ways to avoid summ...
Kafka Summit SF 2017 - Streaming Processing in Python – 10 ways to avoid summ...
 
Hideaki Yoshida's Resume
Hideaki Yoshida's ResumeHideaki Yoshida's Resume
Hideaki Yoshida's Resume
 
Arduino for developers by Steve Robinson
Arduino for developers by Steve RobinsonArduino for developers by Steve Robinson
Arduino for developers by Steve Robinson
 
Taking the hard out of hardware
Taking the hard out of hardwareTaking the hard out of hardware
Taking the hard out of hardware
 
2.2. Introduction to Arduino
2.2. Introduction to Arduino2.2. Introduction to Arduino
2.2. Introduction to Arduino
 

Mais de Satoshi Yazawa

Mais de Satoshi Yazawa (8)

Jupyterで手順再現!Elasticsearch構築・運用を実行可能ドキュメントで機械化してみた
Jupyterで手順再現!Elasticsearch構築・運用を実行可能ドキュメントで機械化してみたJupyterで手順再現!Elasticsearch構築・運用を実行可能ドキュメントで機械化してみた
Jupyterで手順再現!Elasticsearch構築・運用を実行可能ドキュメントで機械化してみた
 
Jupyterで運用やってみた
Jupyterで運用やってみたJupyterで運用やってみた
Jupyterで運用やってみた
 
dodaiのProvisioning周辺探訪 - dodai勉強会 #4
dodaiのProvisioning周辺探訪 - dodai勉強会 #4dodaiのProvisioning周辺探訪 - dodai勉強会 #4
dodaiのProvisioning周辺探訪 - dodai勉強会 #4
 
DockerでJupyter使おうぜ
DockerでJupyter使おうぜDockerでJupyter使おうぜ
DockerでJupyter使おうぜ
 
OpenStackとdodai - dodai勉強会 #1
OpenStackとdodai - dodai勉強会 #1OpenStackとdodai - dodai勉強会 #1
OpenStackとdodai - dodai勉強会 #1
 
NIIクラウドチームとDocker
NIIクラウドチームとDockerNIIクラウドチームとDocker
NIIクラウドチームとDocker
 
20120611 SC研究会
20120611 SC研究会20120611 SC研究会
20120611 SC研究会
 
20120518 SE勉強会
20120518 SE勉強会20120518 SE勉強会
20120518 SE勉強会
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

ベアメタルクラウドの運用をJupyter NotebookとAnsibleで機械化してみた