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
XHTMLが残したもの
yosuke_furukawa
PRO
2
810
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
320
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2k
AHC070解法紹介
eijirou
0
120
WebAssembly in Android Apps 〜 WASMはJNIの夢を見るか
keiji
1
110
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.1k
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
290
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
160
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
1
340
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
450
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
370
wkhtmltopdfの次どうするか問題2026
willnet
2
1.4k
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
3.2k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
ラッコキーワード サービス紹介資料
rakko
1
4.9M
BBQ
matthewcrist
89
10k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Ruling the World: When Life Gets Gamed
codingconduct
0
340
KATA
mclloyd
PRO
35
15k
Building AI with AI
inesmontani
PRO
1
1.2k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
550
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
690
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
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 の稼働時間を管理してみた