Recommended
PPTX
202109-New_Relic-for-csharp-engineers
PDF
PDF
PDF
PDF
PPTX
祝 top-level project Apache Geode
PDF
New Relic University ワークショップ@東京へのご招待
PDF
Web アプリケーション開発におけるテストの実践 ~ VSUG Day Summer
PDF
Functional Programming in Scala Reading #2
PDF
PDF
Let's try to use Background sync
PDF
Consumer Driven Contractsで REST API/マイクロサービスをテスト #m3tech
PDF
Code for Japan 勉強会 Vol.1 CKAN入門 プロジェクトのFork、デプロイ、CIまで
PDF
Microsoft Build 2021 Recap Day
PPTX
Copy Smallchat Arcana meetup#43
PDF
PPTX
マルチクラウド環境の膨大なAPIトラフィックをリアルタイムに処理するNGINXの仕組み
PDF
Openshift NGINX Kubernetes (Japanese Webinar)
PDF
PPTX
Monitoring Gengo using Saas
PPTX
Case Study on Gengo business Model
PPTX
OneHourTranslation - AWS Cloud Case Study
PDF
PDF
PPT
PPS
PDF
BCI Eurobib Schulz Speyer Kids Library Furniture Catalog
DOC
PDF
Haibu: dev deployment is fast and easy again
PDF
Open Data: The Future of Information?
More Related Content
PPTX
202109-New_Relic-for-csharp-engineers
PDF
PDF
PDF
PDF
PPTX
祝 top-level project Apache Geode
PDF
New Relic University ワークショップ@東京へのご招待
PDF
Web アプリケーション開発におけるテストの実践 ~ VSUG Day Summer
What's hot
PDF
Functional Programming in Scala Reading #2
PDF
PDF
Let's try to use Background sync
PDF
Consumer Driven Contractsで REST API/マイクロサービスをテスト #m3tech
PDF
Code for Japan 勉強会 Vol.1 CKAN入門 プロジェクトのFork、デプロイ、CIまで
PDF
Microsoft Build 2021 Recap Day
PPTX
Copy Smallchat Arcana meetup#43
PDF
PPTX
マルチクラウド環境の膨大なAPIトラフィックをリアルタイムに処理するNGINXの仕組み
PDF
Openshift NGINX Kubernetes (Japanese Webinar)
PDF
Viewers also liked
PPTX
Monitoring Gengo using Saas
PPTX
Case Study on Gengo business Model
PPTX
OneHourTranslation - AWS Cloud Case Study
PDF
PDF
PPT
PPS
PDF
BCI Eurobib Schulz Speyer Kids Library Furniture Catalog
DOC
PDF
Haibu: dev deployment is fast and easy again
PDF
Open Data: The Future of Information?
PPTX
Orientation digital literacy_course
DOCX
PPT
PDF
PDF
How to quickly make REST APIs with CompoundJS
PPTX
AICPA Interchange 2012 - Member Value
PPTX
Citrix TechXperts Perth May 2016
PPT
AAL - Big Brother vs. Big Mother (Dutch version)
DOCX
Formas basicas con sombra (1)
Similar to 2014_0206 aws startup_tech
PDF
Devops @ Gengo -- AWS日本語初会議
PPTX
ネットワークエンジニアのための Puppet / Chef
PDF
Chef Howto with Vagrant + Berkshelf
PDF
PDF
PDF
PDF
大規模化するピグライフを支えるインフラ ~MongoDBとChefについて~ (後編)
PPTX
PDF
Using Chef for Infrastructure Automation of Ameba Pigg
PPTX
3分間 開発環境クッキング 2012.07 #pyfes
PDF
Chefを利用した運用省力化とDevOpsの取り組みについて
PDF
Chef+serverspec+werckerでインフラCIする話
PDF
PDF
PDF
Sqale の Puppet と Chef (と テスト)
PPTX
Chef の気まぐれ環境構築 〜季節の Capistrano を添えて〜 #jawsug
KEY
PDF
PDF
ReVIEW & CI - ChefでCI環境構築
PDF
Recently uploaded
PPTX
楽々ナレッジベース「楽ナレ」3種比較 - Dify / AWS S3 Vector / Google File Search Tool
PDF
20251210_MultiDevinForEnterprise on Devin 1st Anniv Meetup
PDF
Machine Tests Benchmark Suite. Explain github.com/alexziskind1/machine_tests #2
PDF
エンジニアが選ぶべきAIエディタ & Antigravity 活用例@ウェビナー「触ってみてどうだった?Google Antigravity 既存IDEと...
PDF
Machine Tests Benchmark Suite. Explain github.com/alexziskind1/machine_tests #1
PDF
流行りに乗っかるClaris FileMaker 〜AI関連機能の紹介〜 by 合同会社イボルブ
2014_0206 aws startup_tech 2. 3. 4. 5. 6. 7. 8. 60 + production servers (120 total )
about 10 repos
3 environments (Git flow)
15 + active contributors
9. 10. 11. 12. 13. Changing server configuration in a template
cookbooks/repos/templates/api.erb
------
<%- case node[‘environment'] %>
<%- when "live" %>
api_url = 'http://api.gengo.com'
<%- when "qa" %>
api_url = 'http://yyy.api.gengo.com'
<%- when "dev" %>
api_url = 'http://localhost:8080'
<%- end %>
------
Define in nodes/xxx.json
or
Vagrantfile
14. Changing Resource in a Recipe.
cookbooks/repos/recipes/api/default.rb
if node['environment'] == "dev"
git "#{node['repos']['home']}/#{project}" do
repository "git@github.com:gengo/api.git"
ssh_wrapper "/tmp/private_code/wrap-ssh4git.sh"
action :checkout
notifies :restart, "service[#{project}]"
end
else
deploy "/mnt#{node['repos']['home']}/#{project}" do
ssh_wrapper "/tmp/private_code/wrap-ssh4git.sh"
repo 'git@github.com:gengo/api'
branch "#{node['repos']['branch']}"
keep_releases 3
notifies :restart, "service[#{project}]"
end
end
15. 感想
● Good
○ 動くコードが残る。(コードの壁 < 言葉の壁 )
○ マニュアル作業を(段々)しなくなる。
○ いつでも作り直せるという安心感。
( = disposable infrastructure)
● Bad / Question
○ デプロイだけしたい時にちょっと微妙。
○ Recipeのテスト書くべき? (監視とは継続的なテストである)
○ 冪等性?
disposable > idempotence
16. 18. Vagrantfileのメンテが大変
● サーバ / ローカルの二重メンテ
○ レシピの変更はサーバに流して終わりになりがち。
○ Vagrantの起動がよくエラーになる。。
● アプリケーションは進化する/増えていく
○ 処理がVangrantfileに一極集中。全体が見えない。
⇔ “Divide and Conquer”
○ 起動時間がどんどん長くなる
○ メンテが益々大変に。
19. 20. 21. 22. Vagrantfileのメンテが大変
● サーバ /ローカルの二重メンテ
○ レシピの変更はサーバに流して終わりになりがち。
○ Vagrantの起動がよくエラーになる。。
● アプリケーションは進化する/増えていく
○ 処理がVangrantfileに一極集中。全体が見えない。
⇔ “Divide and Conquer”
○ 起動時間がどんどん長くなる
○ メンテが益々大変に。
⇒サーバで流したレシピをそのままコンテナに流す
⇒コンテナが増えるだけ。他には影響しない。
23. 24. 25. 30.