Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Futureworkz DevOps Workshop Day 1 - DevOps Tool...
Search
Cam Huynh
April 08, 2016
Technology
0
75
Futureworkz DevOps Workshop Day 1 - DevOps ToolChain
- Ansible
- Docker
- Vagrant.
Cam Huynh
April 08, 2016
Tweet
Share
More Decks by Cam Huynh
See All by Cam Huynh
Reddit Ruby Conf 2016 Recap
hqc
0
120
FutureWorkz DevOps Workshop Day II - Deploying Rails
hqc
0
53
FutureWorkz DevOps Workshop Day III - Gitlab Runner for CD
hqc
0
99
FutureWorkz DevOps Workshop Intro
hqc
1
64
Rack for beginners
hqc
0
75
Chat Implementation with RESTful (Ruby) and Web Socket
hqc
0
64
Monkey patching in Ruby
hqc
0
300
Optimize Rails Asset Pipeline Deployment
hqc
0
74
Other Decks in Technology
See All in Technology
Claude Code のコード品質がばらつくので AI に品質保証させる仕組みを作った話 / A story about building a mechanism to have AI ensure quality, because the code quality from Claude Code was inconsistent
nrslib
13
6.7k
JAWS FESTA 2025でリリースしたほぼリアルタイム文字起こし/翻訳機能の構成について
naoki8408
1
350
[JAWSDAYS2026]Who is responsible for IAM
mizukibbb
0
450
聲の形にみるアクセシビリティ
tomokusaba
0
170
わたしがセキュアにAWSを使えるわけないじゃん、ムリムリ!(※ムリじゃなかった!?)
cmusudakeisuke
1
550
Abuse report だけじゃない。AWS から緊急連絡が来る状況とは?昨今の攻撃や被害の事例の紹介と備えておきたい考え方について
kazzpapa3
1
510
NewSQL_ ストレージ分離と分散合意を用いたスケーラブルアーキテクチャ
hacomono
PRO
2
250
脳内メモリ、思ったより揮発性だった
koutorino
0
210
kintone開発のプラットフォームエンジニアの紹介
cybozuinsideout
PRO
0
860
The_Evolution_of_Bits_AI_SRE.pdf
nulabinc
PRO
0
140
DevOpsエージェントで実現する!! AWS Well-Architected(W-A) を実現するシステム設計 / 20260307 Masaki Okuda
shift_evolve
PRO
3
600
開発組織の課題解決を加速するための権限委譲 -する側、される側としての向き合い方-
daitasu
5
590
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
170
Amusing Abliteration
ianozsvald
0
130
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
90
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
53k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
140
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
210
RailsConf 2023
tenderlove
30
1.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
300
KATA
mclloyd
PRO
35
15k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Transcript
DevOps ToolChain Fwz DevOps Workshop Day I
What’s included?
Vagrant
What’s Vagrant? Create and configure lightweight, reproducible, and portable development
environments.
Vagrantfile Example
Why Vagrant? Infrastructure as code. Identical environments across machines. Reproduce
production environment on local machines.
Install Vagrant - Download from https://www.vagrantup.com/ - Execute the installation
by following the steps.
Boot Vagrant Box vagrant init ubuntu/trusty64 vagrant up vagrant ssh
Vagrant Boxes More boxes can be found by the URL
below. https://atlas.hashicorp.com/boxes/search
Ansible
What’s Ansible? Ansible is the simplest way to automate apps
and IT infrastructure.
Similar Tools - Mina, Capistrano. - Chef, Puppet. - AWS
Code Deploy. - … and more
Why Ansible? ANSIBLE - Written in Python (supporting Python 3
soon). - Lightweight. - Open source. - Playbook written in YAML. - Various modules are available. CHEF, PUPPET - Written in Ruby. - Heavyweight. - Open source. - Ruby language is required. - Widely support. - Various recipes are available.
Ansible Playbook Structure - Inventory - Vars, Group Vars, Host
Vars - Roles - Tasks
Install Ansible sudo pip install ansible ansible-playbook --version
Write your own Ansible Playbook - Set up an Ubuntu
server. - Install common modules (build-essentials) - Install nginx. - Start nginx. - Check if it works.
Docker
What’s Docker? Docker allows you to package an application with
all of its dependencies into a standardized unit for software development.
Docker vs Virtual Machines
Why Docker - Package, containerize, and standardize applications. - Eliminate
Environment Inconsistencies. - Facilitate Microservices Architecture. - Accelerate Developer Onboarding
Install Docker Install Docker Toolbox by following the guide in
this URL: https://docs.docker.com/engine/installation/mac/
Docker Toolbox - Docker Engine - Docker Machine - Docker
Compose - Kitematic - And more...
Start Docker Machine docker-machine create dev docker-machine env dev docker-machine
start dev
Run a Docker container docker run redis docker run -d
--name redis redis
Docker Port Binding
docker run -d --name nginx -p 6969:80 nginx Docker Port
Binding