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
70
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
50
FutureWorkz DevOps Workshop Day III - Gitlab Runner for CD
hqc
0
96
FutureWorkz DevOps Workshop Intro
hqc
1
60
Rack for beginners
hqc
0
70
Chat Implementation with RESTful (Ruby) and Web Socket
hqc
0
61
Monkey patching in Ruby
hqc
0
300
Optimize Rails Asset Pipeline Deployment
hqc
0
70
Other Decks in Technology
See All in Technology
cdk initで生成されるあのファイル達は何なのか/cdk-init-generated-files
tomoki10
1
540
united airlines ™®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedhelp
1
470
20250708オープンエンドな探索と知識発見
sakana_ai
PRO
4
860
「クラウドコスト絶対削減」を支える技術—FinOpsを超えた徹底的なクラウドコスト削減の実践論
delta_tech
4
190
[ JAWS-UG千葉支部 x 彩の国埼玉支部 ]ムダ遣い卒業!FinOpsで始めるAWSコスト最適化の第一歩
sh_fk2
2
150
OpenTelemetryセマンティック規約の恩恵とMackerel APMにおける活用例 / SRE NEXT 2025
mackerelio
3
1.6k
いつの間にか入れ替わってる!?新しいAWS Security Hubとは?
cmusudakeisuke
0
160
[SRE NEXT] ARR150億円_エンジニア140名_27チーム_17プロダクトから始めるSLO.pdf
satos
5
2.1k
助けて! XからWaylandに移行しないと新しいGNOMEが使えなくなっちゃう 2025-07-12
nobutomurata
2
140
SEQUENCE object comparison - db tech showcase 2025 LT2
nori_shinoda
0
280
American airlines ®️ USA Contact Numbers: Complete 2025 Support Guide
airhelpsupport
0
390
【あのMCPって、どんな処理してるの?】 AWS CDKでの開発で便利なAWS MCP Servers特集
yoshimi0227
6
730
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
430
65k
RailsConf 2023
tenderlove
30
1.1k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Fireside Chat
paigeccino
37
3.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
GitHub's CSS Performance
jonrohan
1031
460k
For a Future-Friendly Web
brad_frost
179
9.8k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
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