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.2k
Accelerating DevOps with Serverless
ijin
0
7k
Fastest AWS re:Invent 2017 story in the galaxy
ijin
0
6.7k
Fastest AWS re:Invent 2016 story in the galaxy
ijin
1
8.1k
To DockerCon you go!
ijin
0
4k
MySQL Failover with Consul vol.2
ijin
3
7.6k
Other Decks in Technology
See All in Technology
Amazon Kendra GenAI Index 登場でどう変わる? 評価から学ぶ最適なRAG構成
naoki_0531
0
130
Fanstaの1年を大解剖! 一人SREはどこまでできるのか!?
syossan27
2
180
ハイテク休憩
sat
PRO
2
170
JVM(JavaVM)の性能分析者観点で探るInstanaの可能性
instanautsjp
0
100
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
3
1.4k
生成AIのガバナンスの全体像と現実解
fnifni
1
210
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
500
20241220_S3 tablesの使い方を検証してみた
handy
4
680
サイバー攻撃を想定したセキュリティガイドライン 策定とASM及びCNAPPの活用方法
syoshie
3
1.4k
サーバーなしでWordPress運用、できますよ。
sogaoh
PRO
0
120
終了の危機にあった15年続くWebサービスを全力で存続させる - phpcon2024
yositosi
27
23k
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
190
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
66
4.5k
We Have a Design System, Now What?
morganepeng
51
7.3k
Testing 201, or: Great Expectations
jmmastey
41
7.1k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
How STYLIGHT went responsive
nonsquared
96
5.2k
Optimising Largest Contentful Paint
csswizardry
33
3k
Into the Great Unknown - MozCon
thekraken
33
1.5k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Code Reviewing Like a Champion
maltzj
521
39k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Visualization
eitanlees
146
15k
Producing Creativity
orderedlist
PRO
342
39k
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!