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
20211206_jaws-ug_asa_backup
Search
h-ashisan
December 06, 2021
Technology
0
2k
20211206_jaws-ug_asa_backup
2021.12.6のJAWS-UG朝会で発表した内容です
h-ashisan
December 06, 2021
Tweet
Share
More Decks by h-ashisan
See All by h-ashisan
Tokyo_reInforce_2025_recap_iam_access_analyzer
hiashisan
0
230
OpsJAWS34_CloudTrailLake_for_Organizations
hiashisan
0
470
Classmethod_regrowth_2024_tokyo_security_identity_governance_summary
hiashisan
0
1.4k
2024/11/29_失敗談から学ぶ! エンジニア向けre:Invent攻略アンチパターン集
hiashisan
0
640
20241015 Toranomon Tech Hub#1 Service Catalog使ってみた
hiashisan
0
580
Practical-AWS-Security-measures-you-can-implement-now
hiashisan
0
680
20240724_cm_odyssey_hibiyatech
hiashisan
0
460
[2024最新版]AWS Control Towerを使ったセキュアなマルチアカウント環境の作り方
hiashisan
0
1.2k
クラウド利用者の「責任」をどう果たす?AWSセキュリティ対策のススメ #AWSSummit
hiashisan
0
730
Other Decks in Technology
See All in Technology
Understanding Go GC #coefl_go_jp
bengo4com
0
1.1k
Evolution on AI Agent and Beyond - AGI への道のりと、シンギュラリティの3つのシナリオ
masayamoriofficial
0
180
どこで動かすか、誰が動かすか 〜 kintoneのインフラ基盤刷新と運用体制のシフト 〜
ueokande
0
190
JavaScript 研修
recruitengineers
PRO
3
180
[CVPR2025論文読み会] Linguistics-aware Masked Image Modelingfor Self-supervised Scene Text Recognition
s_aiueo32
0
210
Goss: Faiss向けの新しい本番環境対応 Goバインディング #coefl_go_jp
bengo4com
0
1.4k
ABEMAにおける 生成AI活用の現在地 / The Current Status of Generative AI at ABEMA
dekatotoro
0
660
Goでマークダウンの独自記法を実装する
lag129
0
220
実践アプリケーション設計 ①データモデルとドメインモデル
recruitengineers
PRO
3
260
Goss: New Production-Ready Go Binding for Faiss #coefl_go_jp
bengo4com
0
1.1k
新卒(ほぼ)専業Kagglerという選択肢
nocchi1
1
2.3k
会社にデータエンジニアがいることでできるようになること
10xinc
9
1.6k
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.6k
Scaling GitHub
holman
462
140k
Making Projects Easy
brettharned
117
6.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Embracing the Ebb and Flow
colly
87
4.8k
RailsConf 2023
tenderlove
30
1.2k
Designing for humans not robots
tammielis
253
25k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
A better future with KSS
kneath
239
17k
We Have a Design System, Now What?
morganepeng
53
7.7k
Transcript
EC2ΠϯελϯεͷBackupͬͯͲ͏͢ΔΜ͚ͩͬʁ +"846(ேձ ͋͠͞Μ )JSPBLJ"TIJ[BXB
ࣗݾհ ͋͠͞Μ /Ἑত (͋͟͠ΘͻΖ͖͋) • Ϋϥεϝιουגࣜձࣾ • AWSࣄۀຊ෦ίϯαϧςΟϯά෦ •
͖ͳαʔϏεɿ • JAWS-UGྺɿ1͘Β͍ • ࠷ۙͷϒʔϜɿຑ
ࠓ͢͜ͱ EC2ͷόοΫΞοϓํ๏ʹ͍ͭͯ ෮शͯ͠Έͨ
ͦͦEC2ͷόοΫΞοϓͬͯʁ
ɾεφοϓγϣοτͱAMIͷҧ͍ εφοϓγϣοτɿʮEBS ϘϦϡʔϜͷதͷσʔλʯΛಛఆͷλΠϛϯάͰऔಘ͠S3ʹอଘͨ͠ ͷ AMIɿʮEBS ϘϦϡʔϜͷதͷσʔλ(εφοϓγϣοτ) ͱΠϯελϯεΛߏ͢ΔཧใʯΛ ؚΉىಈςϯϓϨʔτ https://aws.typepad.com/sajp/2014/04/trainingfaqbest10.html
ɾόοΫΞοϓͷߟ͑ํʹ͍ͭ ͯɺաڈͷࣾษڧձ͕ࢀߟʹ ͳͬͨͷͰ͝հ https:// dev.classmethod.jp/ articles/orekike-study- snapshot-and-backup/
֓ཁ ɾόοΫΞοϓʹඞཁͳͷ=σʔλͷෳ+߹ੑ(OS/ ΞϓϦ/DB) ɾجຊతͳSnapshot≠όοΫΞοϓ ɾσʔλͷ߹ੑΛߟྀͨ͠औಘํ๏͋Δ ྫʣϚϧνϘϦϡʔϜΫϥογϡ߹ੑɺVSS(WinͷΈ) ɾAMIͰಉ͘͡߹ੑ֬อ͕ඞཁ ɾαʔόͷఀࢭͰ੩ࢭΛऔΓ߹ੑΛ֬อ
ཁ͢Δʹ ʢγεςϜཁ݅ʹΑΔ͕εφοϓγϣοτɾAMIͲͪΒʣ σʔλͷ߹ੑΛॏࢹ͠ͳ͍όοΫΞοϓΛݕ౼͢Δ߹ ɺͦͷํ๏Ͱຊʹ͕ͳ͍͔͔ͬ͠Γ֬ೝ͠Α͏
ͲΜͳΓํ͕͋Δʁ
▪ AWS Backup ɾAWSαʔϏεશମͷόοΫΞοϓͷूதཧΛࣗಈԽ ɾ2019/6/19 ౦ژϦʔδϣϯͰར༻Մೳʹ ɾEC2ରԠ2020/1/13ʙ ɾEC2Ҏ֎ʹ͞·͟·ͳαʔϏεΛαϙʔτ ɾRDSɺDynamoDBɺNeptuneɺDocumentDBɺEFSɺFsXͳͲ
ʙAWS BackupۙͷUpdateʙ ɾre:invent2021ʹͯʮS3ʯରԠ ͢Δ͜ͱ͕ൃද ɾݱࡏόʔδχΞ෦Ϧʔδϣϯ ɹͷΈରԠ(Preview൛) https://dev.classmethod.jp/ articles/aws-backup-for-s3- reinvent2021/
▪ Amazon Data Lifecycle Manager(DLM) ɾSnapshotAMIऔಘɺϥΠϑαΠΫϧཧͷࣗಈԽ͕Ͱ͖Δ ɾ2019/8/22 ౦ژϦʔδϣϯͰར༻։࢝ ɾAWSίϯιʔϧ্EBSͷҰػೳͱ͍͏ཱ͚ͯ
ൺֱͯ͠Έͨ
جຊతͳ͜ͱ "84#BDLVQ "NB[PO%-. αʔϏεར༻ྉۚ ແྉ όοΫΞοϓऔಘͷΈͷ߹ ఏڙݩ ɾαʔϏεར༻ྉۚແྉ
ɾͲͪΒAWSϚωʔδυαʔϏε
όοΫΞοϓํ๏ "84#BDLVQ "NB[PO%-. όοΫΞοϓํ๏ &$".* 4OBQTIPU 4OBQTIPU 744 &$".*
4OBQTIPU ɾEC2 AMIͱSnapshotͷऔಘͲͪΒରԠ ɾAWS BackupɺSnapshot(VSS)ʹରԠ
όοΫΞοϓ࣌ͷ࠶ىಈ "84#BDLVQ "NB[PO%-. όοΫΞοϓ࣌ͷ ࠶ىಈ ❌ ✅
ˠϙϦγʔͷ Φϓγϣϯࢦఆ ɾAWS BackupαʔόఀࢭʹΑΔ੩ࢭ͕ͱΕͳ͍ ɾAmazon DLMɺෳΠϯελϯεಉ࣌ʹ࠶ىಈ͕ͬͯ͠· ͏߹͕͋ΔͷͰɺ࠶ىಈ࣌ؒͷߟྀඞཁ
ΦϯσϚϯυ खಈ όοΫΞοϓ "84#BDLVQ "NB[PO%-. ΦϯσϚϯυ खಈ όοΫΞοϓ
✅ ˠ࣮ߦ͔ͯ͠Β ࣌ؒҎʹ։࢝ ඇରԠ ɾAWS BackupରԠ͍ͯ͠Δ͕ɺଈ࣮࣌ߦͰͳ͍ͷͰҙ
ϥΠϑαΠΫϧཧ "84#BDLVQ "NB[PO%-. ϥΠϑαΠΫϧཧ FYQJSF SFUBJO ϥΠϑαΠΫϧཧҎԼͷ̎ύλʔϯ͕͋Δ ɾretain(อ࣋)ɿอ࣋ݸΛࢦఆɺࢦఆΛ͑ͨΒݹ͍ͷΛআ ɾexpire(ظݶΕ)ɿ༗ޮظݶΛࢦఆɺظݶΕͰআɹɹɹɹɹɹɹɹ
ΫϩεϦʔδϣϯίϐʔ "84#BDLVQ "NB[PO%-. ΫϩεϦʔδϣϯ ίϐʔ ✅ ˠόοΫΞοϓϧʔϧຖʹ Ϧʔδϣϯ ✅
ˠϙϦγʔຖʹ Ϧʔδϣϯ·Ͱ ɾΫϩεϦʔδϣϯίϐʔͲͪΒରԠ ɾͦΕͧΕͷ୯ҐͰϦʔδϣϯΛࢦఆ
ͦͷଞ "84#BDLVQ "NB[PO%-. ΫϩεΞΧϯτ ίϐʔ ✅ ❌ ίʔϧυετϨʔδҠߦ
ɾҎԼͷΑ͏ͳػೳAWS BackupͷΈରԠ
݁ہͲΕ͕͍͍ͷʁ
ɾSnapshot or AMIʁ ɾͲͪΒ߹ੑ֬อ͕ඞཁͳ͜ͱಉ͡ ɾҎԼͷΑ͏ͳҧ͍͕͋Δ͜ͱΛཧղ͠ɺόοΫΞοϓํࣜ Λݕ౼͢Δ ɾSnapshot=Ϣʔβʔσʔλ ɾAMI=ϝλσʔλ+Ϣʔβʔσʔλ
ɾBackup or DLM ɾ͜Μͳ߹ͳΒAWS Backup ɾ࠶ىಈҎ֎ͷ੩ࢭ֬อ͕Մೳɺ͘͠AMIόοΫΞοϓʹݫ ີͳ߹ੑΛཁٻ͞Εͳ͍߹ ɾϚϧνΞΧϯτཧɺίʔϧυετϨʔδҠߦͳͲͬͪ͜Ͱ͠ ͔Ͱ͖ͳ͍ཁ͕݅͋Δ߹
ɾ͜Μͳ߹ͳΒAmazon DLM ɾAMIόοΫΞοϓͰ࠶ىಈʹΑΔ੩ࢭ֬อ͕ඞཁͳ߹
·ͱΊ
ɾ·ͱΊ ɾSnapshotͱAMIͷҧ͍Λཧղ͠Α͏ ɾόοΫΞοϓͱʁΛ࠶ೝࣝ͠Α͏ ɾཁ݅ʹ߹ΘͤͯόοΫΞοϓํ๏Λબ͠Α͏
None