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
Accelerating DevOps with Serverless
Search
Michael H. Oshita
February 15, 2018
Technology
0
6.9k
Accelerating DevOps with Serverless
ServerlessConf Paris 2018 talk
Michael H. Oshita
February 15, 2018
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
My DevOps toolsets
ijin
1
1.5k
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
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
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
620
組織成長を加速させるオンボーディングの取り組み
sudoakiy
2
200
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
950
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
9
1.1k
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
37
12k
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
760
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
390
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
130
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
870
心が動くエンジニアリング ── 私が夢中になる理由
16bitidol
0
100
DynamoDB でスロットリングが発生したとき_大盛りver/when_throttling_occurs_in_dynamodb_long
emiki
1
430
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Why Our Code Smells
bkeepers
PRO
334
57k
We Have a Design System, Now What?
morganepeng
50
7.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Raft: Consensus for Rubyists
vanstee
136
6.6k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Optimizing for Happiness
mojombo
376
70k
Transcript
Accelerating DevOps with Serverless ServerlessConf Paris 2018 Michael H. Oshita
@ijin Feb 15, 2018
Bonjour!!
France <-> Japan
Michael H. Oshita (@ijin) • Cloud Engineer/ Architect • From
Japan • AWS community • Serverless community • https://ijin.github.io
JAWS-UG • ~2300 members (FB) • 50+ subdivisions nationwide
Serverless Community • 600+ members (FB) • Monthly Serverless meetups
• ServerlessConf Tokyo 2016 (380), 2017 (462 attendees)
Story… One example of using serverless to help and accelerate
DevOps
AGENDA • Background • Issues/Demands • Solution • Architecture •
Demo
Background (simplified)
Issues • Resource (CPU, memory) bound • Maintenance (disk usage,
server failures) • Updates (ruby, jenkins, docker version) • Sequential execution • More projects, more load
New demands • Faster (concurrent) deployments • Test and deploy
multiple versions • On-demand environments • ECS
Solution: Automate
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… ..
[ Demo ]
Create env (youtube: http://bit.ly/ecs-deity1)
Destroy env (youtube: http://bit.ly/ecs-deity2)
On-Demand env!! • Devs Happy :D • Ops Happy :D
Why Serverless (Framework)? • Concurrency • Scalability • Less maintenance,
more coding • Easy deployments (w/ frameworks)
Afterthoughts • Overall satisfied • Scales pretty well • Visualization
is awesome • Complex Obervability (Logs spread across streams)
ECS Deity Sample on github: https://github.com/ijin/ecs-deity
Merci :D