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
My DevOps toolsets
Search
Michael H. Oshita
May 21, 2019
Technology
1
1.5k
My DevOps toolsets
JAWS-UG Yokohama #16
May 21, 2019
Introduction to some of my DevOps toolsets
Michael H. Oshita
May 21, 2019
Tweet
Share
More Decks by Michael H. Oshita
See All by Michael H. Oshita
Fastest AWS re:Invent 2019 story in the galaxy
ijin
0
140
Serverless Communities (AWS Users Group Netherlands)
ijin
0
46
Serverless Communities (Serverless Days Hamburg 2019)
ijin
0
6.3k
Fastest AWS re:Invent 2018 story in the galaxy
ijin
0
6.1k
Accelerating DevOps with Serverless
ijin
0
6.9k
Fastest AWS re:Invent 2017 story in the galaxy
ijin
0
6.6k
Fastest AWS re:Invent 2016 story in the galaxy
ijin
1
8k
To DockerCon you go!
ijin
0
4k
MySQL Failover with Consul vol.2
ijin
3
7.5k
Other Decks in Technology
See All in Technology
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.5k
Platform Engineering for Software Developers and Architects
syntasso
1
520
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
6
660
組織成長を加速させるオンボーディングの取り組み
sudoakiy
2
200
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
390
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
310
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
140
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
180
SSMRunbook作成の勘所_20241120
koichiotomo
3
160
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
13k
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
150
日経電子版のStoreKit2フルリニューアル
shimastripe
1
130
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
A Philosophy of Restraint
colly
203
16k
Adopting Sorbet at Scale
ufuk
73
9.1k
Statistics for Hackers
jakevdp
796
220k
Happy Clients
brianwarren
98
6.7k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Optimizing for Happiness
mojombo
376
70k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Music & Morning Musume
bryan
46
6.2k
Transcript
My DevOps toolsets @ijin May 21, 2019 JAWS-UG Yokohama #16
Michael H. Oshita (@ijin) • Cloud Engineer/ Architect • From
Japan/US • AWS community • Serverless community • https://ijin.github.io
AGENDA • Infrastructure as Code • Continuous Integration • Continuous
Testing • Process Automation
Infrastructure as Code
Terraform • Common - common infra like rds parameter groups,
IAM service roles, CircleCI users, etc. • Modules - modules based by service • Main - simply call modules
Terraform • Retreive variables from common state file • Use
terraform workspace for env (stg/prd) • Pass variables from module outputs
Terraform • Retreive variables from common state file or ssm
parameter store • Use terraform workspace for env (stg/prd) • Pass variables from module outputs
Terraform SSM parameter store Chamber - CLI to manage secrets
(https://github.com/segmentio/chamber)
Continuous Integration
CircleCI
CircleCI
.circleci/config.yml
.circleci/config.yml
ecspresso a deployment tool for Amazon ECS (https://github.com/kayac/ecspresso)
Continuous Integration
Continuous Integration
Continuous Integration
Continuous Testing Test environments per git branch!
On-Demand ECS environments
Branch A
Branch B
Branch C
Create env • Create target group • Create ALB listener
• Create ECS service • Deploy if necessary
Create env (reality) • Create target group • Create ALB
listener • Create ECS service…….wait • Deploy if necessary
Destroy env • Stop tasks • Delete service • Delete
listener • Delete target group
Destroy env (reality) • Stop tasks…wait…wait…. • Delete service…..wait •
Delete listener • Delete target group
Create env w/ step fns
Destroy env w/ step fns
Step Functions Serverless Step Functions plugin by @horike37 https://github.com/horike37/serverless-step-functions sls
plugin install -n serverless-step-functions
Step Functions JSON =( Not something a human should touch
Step Functions YAML =) Somewhat better… ..
On-Demand env!! • Devs Happy :D • Ops Happy :D
Why Serverless (Framework)? • Concurrency • Scalability • Less maintenance,
more coding • Easy deployments (w/ frameworks)
Process Automation Using chat bots to create release pull requests!
Create pull request
Pull request
Deploy!
ruboty-github_pr_release Sample on github: https://github.com/ijin/ruboty- github_pr_release
Thanks!