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.4k
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
39
Serverless Communities (Serverless Days Hamburg 2019)
ijin
0
5.8k
Fastest AWS re:Invent 2018 story in the galaxy
ijin
0
5.6k
Accelerating DevOps with Serverless
ijin
0
6.4k
Fastest AWS re:Invent 2017 story in the galaxy
ijin
0
6.1k
Fastest AWS re:Invent 2016 story in the galaxy
ijin
1
7.5k
To DockerCon you go!
ijin
0
3.9k
MySQL Failover with Consul vol.2
ijin
3
7.4k
Other Decks in Technology
See All in Technology
IaCジェネレーターとBedrockで詳細設計書を生成してみた
tsukasa_ishimaru
1
280
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
210
DMM.com アルファ室採用案内資料
hsugita
1
160
チームでロジカルシンキングに改めて向き合っている話 〜学習環境と実践⽅法〜
sansantech
PRO
3
2.6k
よく聞くけど使ったことないソフトウェアNo.1 KafkaとSnowflake
foursue
4
360
LangSmith入門―トレース/評価/プロンプト管理などを担うLLMアプリ開発プラットフォーム
os1ma
3
320
LLM開発・活用の舞台裏@2024.04.25
yushin_n
1
340
[新卒向け研修資料] テスト文字列に「うんこ」と入れるな(2024年版)
infiniteloop_inc
4
16k
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
170
生成AIの変革の時代に、直近1年で直面した課題とその解決策
ktc_wada
0
310
JAWS-UG Bedrock Claude Night
yamahiro
3
610
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
240
Featured
See All Featured
Bash Introduction
62gerente
604
210k
How GitHub (no longer) Works
holman
304
140k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
Debugging Ruby Performance
tmm1
70
11k
Making Projects Easy
brettharned
108
5.5k
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Agile that works and the tools we love
rasmusluckow
325
20k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
78
43k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
1k
Designing for Performance
lara
601
67k
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!