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
Instance Schedulerを使ってEC2の稼働時間を管理してみた
Search
YouYou
August 28, 2021
Programming
5.2k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Instance Schedulerを使ってEC2の稼働時間を管理してみた
詳細ブログ↓
https://zenn.dev/yuta28/articles/ec2-schedule
YouYou
August 28, 2021
More Decks by YouYou
See All by YouYou
AWSマネコンに複数のアカウントで入れるようになりました
yuhta28
2
310
今インフラ技術をイチから学び直すなら
yuhta28
1
310
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
3
690
Datadog外形監視基盤をEC2から ECSへ移行してみた
yuhta28
0
1.9k
アウトプット頑張ったら企業からLT登壇の依頼がきた話
yuhta28
1
1.9k
小さなことから始めるAWSコスト最適入門
yuhta28
1
1.5k
Datadogのコストも監視しよう
yuhta28
1
1.1k
Rcloneを使った定期的なストレージ同期
yuhta28
0
880
Pulumiを触ってみよう
yuhta28
1
2.8k
Other Decks in Programming
See All in Programming
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
120
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
140
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
200
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
710
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
250
新卒PdEのリアル
ryu1013
1
500
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
390
wkhtmltopdfの次どうするか問題2026
willnet
1
110
一人だけ、Kiroが静止する日
hideg
0
110
kubernetes コンポーネント開発入門 / 新卒N年目の勉強会&交流会!〜〇〇への誘い〜 #n_study
mazrean
0
240
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
4
690
速習iPhone Duo対応
yuukiw00w
1
510
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
Designing for Performance
lara
611
70k
How to train your dragon (web standard)
notwaldorf
97
6.8k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
530
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
The SEO identity crisis: Don't let AI make you average
varn
0
560
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.8k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
58k
Discover your Explorer Soul
emna__ayadi
2
1.3k
We Are The Robots
honzajavorek
0
370
Transcript
Instance Schedulerを使ってEC2 の稼働時間を管理してみた
Name:ユータ Occupation:SRE Twitter:@Y0u281 (オーでなくゼロです) ブログ:https://zenn.dev/yuta28 自己紹介 Twitter
目次 • 背景 • Instance Schedulerについて • 実装 • DynamoDB設定
• Tags設定 • まとめ
背景
背景
Instance Schedulerについて 特徴 • 自動タグつけ • タグ別でのスケジューリング設定 • 専用のCLIツールも用意 Instance
Scheduler | 実装 引用元
実装 CloudFormationのテンプレートファイルで楽々実装! 以下のS3にあります。 https://s3.amazonaws.com/solutions-reference/aws-instance-scheduler/latest /aws-instance-scheduler.template
実装 Regionとtimezoneだけ日本仕様にすれば他は標準設定でOK • ap-northeast-1 • Asia/Tokyo
DynamoDB設定 • 期間設定 ◦ 開始時刻 ◦ 終了時刻 ◦ 日付指定
DynamoDB設定 • スケジューリング設定 ◦ period設定
Tags設定
Tags設定
まとめ • インスタンスの停止起動は自動化 • インフラに詳しくなくても設定できる
ありがとうございました より詳しい内容は以下のブログで ↓ Instance Schedulerを使ってEC2 の稼働時間を管理してみた