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
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
1
230
サーバレスアプリ開発者向けアップデートをキャッチアップしてきた #AWSreInvent #regrowth_fuk
drumnistnakano
0
190
10分で学ぶKubernetesコンテナセキュリティ/10min-k8s-container-sec
mochizuki875
3
330
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
160
Storage Browser for Amazon S3
miu_crescent
1
130
UI State設計とテスト方針
rmakiyama
2
390
マイクロサービスにおける容易なトランザクション管理に向けて
scalar
0
110
ガバメントクラウドのセキュリティ対策事例について
fujisawaryohei
0
530
統計データで2024年の クラウド・インフラ動向を眺める
ysknsid25
2
840
生成AIのガバナンスの全体像と現実解
fnifni
1
180
OpenShift Virtualizationのネットワーク構成を真剣に考えてみた/OpenShift Virtualization's Network Configuration
tnk4on
0
130
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
2
2.2k
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Optimising Largest Contentful Paint
csswizardry
33
3k
A better future with KSS
kneath
238
17k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Documentation Writing (for coders)
carmenintech
66
4.5k
Making the Leap to Tech Lead
cromwellryan
133
9k
4 Signs Your Business is Dying
shpigford
181
21k
Making Projects Easy
brettharned
116
5.9k
Designing Experiences People Love
moore
138
23k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
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!