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 ToolChain
Search
Cam Huynh
April 08, 2016
Technology
0
62
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
98
FutureWorkz DevOps Workshop Day II - Deploying Rails
hqc
0
42
FutureWorkz DevOps Workshop Day III - Gitlab Runner for CD
hqc
0
89
FutureWorkz DevOps Workshop Intro
hqc
1
55
Rack for beginners
hqc
0
66
Chat Implementation with RESTful (Ruby) and Web Socket
hqc
0
49
Monkey patching in Ruby
hqc
0
290
Optimize Rails Asset Pipeline Deployment
hqc
0
63
Other Decks in Technology
See All in Technology
Autopsy of a Cascading Outage from a MySQL Crashing Bug
jfg956
0
200
Tohoku.Tech #1 「Cursorを使ったRaspberry Piの開発」by ねこまた
jun2882
0
250
ビジネスロジックを「型」で表現するOOPのための関数型DDD / Functional And Type-Safe DDD for OOP
yuitosato
29
12k
生成AI・LLM時代における 機械学習エンジニアとしてのキャリア戦略・開発戦略 / my-career-and-development-strategies-for-ml-engineer-2024
yuya4
4
850
技育祭2024春 LT Finatextホールディングス
kevinrobot34
1
170
BDD(Cucumber)コミュニティが無料提供しているコンテンツの紹介と現在起きている危機
nihonbuson
4
750
OpenTelemetry実践 はじめの一歩
taxin
0
320
MongoDB Atlas Vectorsearchではじめる生成AIアプリ開発
chie8842
3
510
マイクロサービス環境におけるDB戦略 in DMMプラットフォーム
pospome
11
3k
継続的テストモデルを実現するためにスリーアミーゴスを用いた10Xでのシフトレフトの事例
nihonbuson
3
240
2023 Japan AWS Jr.Championsに選出されての振り返りとこれから
hiropy877
1
130
生成AIサービスPanorama AIご説明資料
sdt
0
300
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
24
5.7k
Atom: Resistance is Futile
akmur
258
25k
Debugging Ruby Performance
tmm1
68
11k
Reflections from 52 weeks, 52 projects
jeffersonlam
343
19k
How GitHub Uses GitHub to Build GitHub
holman
467
290k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
185
15k
Gamification - CAS2011
davidbonilla
76
4.5k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Practical Orchestrator
shlominoach
180
9.7k
The Power of CSS Pseudo Elements
geoffreycrofte
58
4.9k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.8k
A designer walks into a library…
pauljervisheath
199
23k
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