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
81
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Futureworkz DevOps Workshop Day 1 - DevOps ToolChain
- Ansible
- Docker
- Vagrant.
Cam Huynh
April 08, 2016
More Decks by Cam Huynh
See All by Cam Huynh
Reddit Ruby Conf 2016 Recap
hqc
0
130
FutureWorkz DevOps Workshop Day II - Deploying Rails
hqc
0
68
FutureWorkz DevOps Workshop Day III - Gitlab Runner for CD
hqc
0
110
FutureWorkz DevOps Workshop Intro
hqc
1
70
Rack for beginners
hqc
0
81
Chat Implementation with RESTful (Ruby) and Web Socket
hqc
0
72
Monkey patching in Ruby
hqc
0
310
Optimize Rails Asset Pipeline Deployment
hqc
0
83
Other Decks in Technology
See All in Technology
いま、生成AIにKaggleをどこまで 任せられるか — ROGIIコンペでの進め方とTips
k951286
3
1.4k
ブラウザアプリの継続的パフォーマンスモニタリング (序) / Continuous Browser Application Performance Monitoring; Act 1
moznion
0
110
WAF 運用改善の承認サイクル/SRE_BizReach_MIXI_1
visional_engineering_and_design
1
190
AIエージェントの開発・提供におけるセキュリティリスクの論点と対策
flatt_security
1
590
PM領域でのAI Agentの活用
lycorptech_jp
PRO
0
270
grill-me(grilling):AI駆動開発を超助けてくれるSkill / grill me
mathbullet
0
110
Azure App Service / Container Apps の組み込み認証
kuniteru
0
200
IoTハンズオンの舞台裏
shirouz
2
150
スクラムで身についていた動き方を、XPで捉え直してみた
codmoninc
PRO
1
250
Kiro Crewしか勝たん!?
miu_crescent
PRO
0
180
はじめてのDatabricks:技術者向けワークショップ / beginner-workshop
databricksjapan
PRO
0
230
AIで実装は速くなった。なのにプロダクトは速くならない。職能の壁を越えて価値のフローを設計する
nwiizo
6
7.2k
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
5.2k
Automating Front-end Workflow
addyosmani
1369
210k
A Modern Web Designer's Workflow
chriscoyier
698
190k
The World Runs on Bad Software
bkeepers
PRO
72
12k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
560
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
500
Being A Developer After 40
akosma
91
590k
Producing Creativity
orderedlist
PRO
348
41k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
510
The Invisible Side of Design
smashingmag
301
52k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
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