Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Auto Scaling Guided By Code
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Pablo Cantero
September 19, 2012
Programming
70
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Auto Scaling Guided By Code
Pablo Cantero
September 19, 2012
More Decks by Pablo Cantero
See All by Pablo Cantero
Deploy in the cloud
phstc
0
71
Look Who's Talking
phstc
0
58
Other Decks in Programming
See All in Programming
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
420
APNsからLive Activityを開始する話
yumnumm
0
170
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
残高管理から台帳サービスへの進化
artoy
1
200
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.2k
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
600
contenteditable と日本語入力に向き合う
colorful12
0
200
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
The Rails Doctrine Decade
koic
2
590
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.6k
Featured
See All Featured
Designing for Timeless Needs
cassininazir
1
530
Leo the Paperboy
mayatellez
10
2.4k
Navigating Weather and Climate Data
rabernat
0
560
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
sira's awesome portfolio website redesign presentation
elsirapls
0
460
Thoughts on Productivity
jonyablonski
76
5.4k
The Curious Case for Waylosing
cassininazir
1
570
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
990
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
Transcript
Auto Scaling Guided by Code Pablo Cantero @pablocantero http://pablocantero.com 19/09/2012
Cloud Computing • Pay-as-you-go • Scale Resources up or down
based on demand (Elastic Architecture) http://aws.amazon.com/
Auto Scaling steps
Instance provisioning • Manually • Image (preconfigured) • Automated •
Chef • Puppet • CloudFormation http://aws.amazon.com/
Create a launch configuration. The launch configuration are parameters to
launch instances, such as image (AMI), instance type, security group, key pair and user data.
Create an auto scaling group. The auto scaling group defines
the auto scaling conditions, minimum and maximum number of instances, available zones, default cool down and load balancer (ELB).
Create a scaling policy. The scaling policy defines how the
auto scaling should scale up or down, if it is by size or percent and the cool down.
Create an alarm metric. The alarm metric is the metric
used to decide when to increase or decrease the instances. Usually by response time. The metrics are provided by CloudWatch.
Alarm metrics
Create an alarm request. It is the last step to
setup the Auto Scaling. The alarm request defines how to measure the metrics defined by the alarm metric, for example the time and period to evaluate the metric.
Talk is cheap. Show me the code.
Some advices
Don’t name your instances You should change your instances as
you change your underwear. Lucas Teixeira
Don’t forget to remove your tests
Use Auto Scaling, avoid Cloud Smells http://pablocantero.com/blog/ 2012/09/07/use-auto-scaling- avoid-cloud-smells/
Thank you Pablo Cantero @pablocantero http://pablocantero.com