๐Ÿ“‚ AWS

[AWS] Backup

dhyuck 2021. 10. 20. 00:03
๋ฐ˜์‘ํ˜•

AWS Backup

  • AWS Backup์€ ํด๋ผ์šฐ๋“œ์—์„œ ๋ฟ๋งŒ ์•„๋‹ˆ๋ผ ์˜จํ”„๋ ˆ๋ฏธ์Šค์—์„œ๋„ AWS ์„œ๋น„์Šค ์ „๋ฐ˜์— ๊ฑธ์นœ ๋ฐ์ดํ„ฐ ๋ฐฑ์—…์„ ์‰ฝ๊ฒŒ ์ค‘์•™ ์ง‘์ค‘ํ™”ํ•˜๊ณ  ์ž๋™ํ™”ํ•  ์ˆ˜ ์žˆ๋Š” ์ข…ํ•ฉ ๊ด€๋ฆฌํ˜• ๋ฐฑ์—… ์„œ๋น„์Šค ์ž…๋‹ˆ๋‹ค.

AWS Backup ๊ฐœ์š”

  • Centralized backup managementAWS Backup์„ ์‚ฌ์šฉํ•˜๋ฉด ๋ฐฑ์—… ์š”๊ตฌ์‚ฌํ•ญ(backup requirements)์„ ์ถฉ์กฑํ•˜๋Š” ๋ฐฑ์—… ์ •์ฑ…(backup policies)์„ ์ค‘์•™์—์„œ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • AWS Backup์€ ์ค‘์•™ ์ง‘์ค‘์‹ ๋ฐฑ์—… ์ฝ˜์†”(a centralized backup console), ๋ฐฑ์—… API(a set of backup APIs), AWS CLI๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
  • Policy-based backup๋ฐฑ์—… ๊ณ„ํš(Backup Plan)์€ ๋ฐฑ์—… ์š”๊ตฌ ์‚ฌํ•ญ์„ ์ •์˜(define your backup requirements)ํ•˜๊ณ  ๋ฐฑ์—…ํ•˜๋ ค๋Š” AWS๋ฆฌ์†Œ์Šค์— ์ ์šฉํ•ฉ๋‹ˆ๋‹ค.
  • AWS Backup์„ ์‚ฌ์šฉํ•˜๋ฉด ๋ฐฑ์—… ๊ณ„ํš(Backup Plan)์ด๋ผ๋Š” ๋ฐฑ์—… ์ •์ฑ…(backup policies)์„ ์ƒ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • Tag-based backup policies
  • AWS Backup์€ ํƒœ๊ทธ๋ฅผ ์ง€์ •ํ•˜์—ฌ AWS ๋ฆฌ์†Œ์Šค์— ๋ฐฑ์—…์„ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. ํƒœ๊ทธ๋Š” AWS ๋ฆฌ์†Œ์Šค๋ฅผ ๊ตฌ์„ฑํ•˜๊ณ  ๋ถ„๋ฅ˜ํ•˜๋Š” ์ข‹์€ ๋ฐฉ๋ฒ•์ž…๋‹ˆ๋‹ค.
  • Lifecycle management policies
  • AWS Backup์„ ์‚ฌ์šฉํ•˜๋ฉด ๋ฐฑ์—…์„ ์ €๋ ดํ•œ ์ฝœ๋“œ ์Šคํ† ๋ฆฌ์ง€ ํ‹ฐ์–ด์— ์ €์žฅํ•˜์—ฌ ์Šคํ† ๋ฆฌ์ง€ ๋น„์šฉ์„ ์ตœ์†Œํ™”ํ•˜๋Š” ๋™์‹œ์— ๊ทœ์ • ์ค€์ˆ˜ ์š”๊ฑด(compliance requirements)์„ ์ถฉ์กฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค
  • Incremental backups(์ฆ๋ถ„ ๋ฐฑ์—…)์ฒซ ๋ฒˆ์งธ ๋ฐฑ์—…์€ AWS ๋ฆฌ์†Œ์Šค์˜ ์ „์ฒด ๋ณต์‚ฌ๋ณธ(full copy)์„ ๋ฐฑ์—…ํ•˜๊ณ , ์ดํ›„ ๋ณ€๊ฒฝ์‚ฌํ•ญ๋งŒ ๋ฐฑ์—…๋ฉ๋‹ˆ๋‹ค. ์ฆ๋ถ„ ๋ฐฑ์—…์„ ์‚ฌ์šฉํ•˜๋ฉด ์Šคํ† ๋ฆฌ์ง€ ๋น„์šฉ์„ ์ตœ์†Œํ™”ํ•˜๋ฉด์„œ ๋นˆ๋ฒˆํ•œ ๋ฐฑ์—…์˜ ๋ฐ์ดํ„ฐ ๋ณดํ˜ธ ํ—คํƒ์„ ๋ˆ„๋ฆด ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • AWS Backup์€ ์ฃผ๊ธฐ์  ๋ฐฑ์—…(periodic backups)์„ ์ฆ๋ถ„ ๋ฐฉ์‹(incrementally)์œผ๋กœ ํšจ์œจ์ ์œผ๋กœ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.
  • Backup activity monitoring
  • AWS Backup์€ ๋ฐฑ์—… ๋ฐ ๋ณต์› ์ž‘์—…(restore activity)์„ ๊ฐ„๋‹จํ•˜๊ฒŒ ๊ฐ์‚ฌ(audit)ํ•  ์ˆ˜ ์žˆ๋Š” ๋Œ€์‹œ๋ณด๋“œ(dashboard)๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
  • Auditing and reporting with AWS Backup Audit Manager
  • AWS Backup Audit Manager๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด AWS ์ „๋ฐ˜์—์„œ ๋ฐฑ์—…์˜ ๋ฐ์ดํ„ฐ ๊ฑฐ๋ฒ„๋„Œ์Šค์™€ ๊ทœ์ • ์ค€์ˆ˜ ๊ด€๋ฆฌ๋ฅผ ๊ฐ„์†Œํ™”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • Secure your data in backup vaults
  • AWS Backup์˜ ๊ฐ๊ฐ์˜ ๋ฐฑ์—… ์ปจํ…์ธ ๋Š” ๋ณ€๊ฒฝํ•  ์ˆ˜ ์—†๊ณ (immutable), AWS Backup์€ backup vaults๊ณผ source instances๋ฅผ ์•ˆ์ „ํ•˜๊ฒŒ ๋ถ„๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

Backup ํ•ต์‹ฌ ๊ฐœ๋…

  • Recovery Point (๋ณต๊ตฌ ์‹œ์ )
  • ๋ณต๊ตฌ ์‹œ์ ์€ ํŠน์ •ํ•œ ์‹œ๊ฐ์˜ ๋ฆฌ์†Œ์Šค์˜ ๋‚ด์šฉ์„ ๋‚˜ํƒ€๋‚ด๊ณ  ๋ฆฌ์†Œ์Šค์— ๋Œ€ํ•œ ์ •๋ณด, ๋ณต์› ํŒŒ๋ผ๋ฏธํ„ฐ, ํƒœ๊ทธ์™€ ๊ฐ™์€ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๊ฐ€ ๋“ค์–ด์žˆ์Šต๋‹ˆ๋‹ค.
  • Backup Plan (๋ฐฑ์—… ํ”Œ๋žœ, ๋ฐฑ์—… ๊ณ„ํš)
  • ๋ฐฑ์—… ํ”Œ๋žœ์€ ๋ฆฌ์†Œ์Šค ๋ฐฑ์—… ์‹œ๊ธฐ์™€ ๋ฐฉ๋ฒ•์„ ์ •์˜ํ•˜๋Š” ์ •์ฑ… ํ‘œํ˜„์‹์ž…๋‹ˆ๋‹ค. ๋ฆฌ์†Œ์Šค๋ฅผ ๋ฐฑ์—… ํ”Œ๋žœ์— ํ• ๋‹นํ•˜๋ฉด AWS Backup์ด ๋ฐฑ์—… ํ”Œ๋žœ์— ๋”ฐ๋ผ ๋ฆฌ์†Œ์Šค๋ฅผ ๋ฐฑ์—…ํ•˜๊ณ  ์œ ์ง€ํ•ฉ๋‹ˆ๋‹ค. ๋ฐฑ์—… ํ”Œ๋žœ์€ ํ•˜๋‚˜ ์ด์ƒ์˜ ๋ฐฑ์—… ๊ทœ์น™(Backup Rule)์œผ๋กœ ๊ตฌ์„ฑ๋ฉ๋‹ˆ๋‹ค.
  • Backup Rule(๋ฐฑ์—… ๊ทœ์น™)
    • Backup rule name(๋ฐฑ์—… ๊ทœ์น™ ์ด๋ฆ„)
    • Backup frequency(๋ฐฑ์—… ๋นˆ๋„)
    • ๋ฐฑ์—… ๋นˆ๋„๋Š” ์Šค๋ƒ…์ƒท ๋ฐฑ์—…์„ ์ƒ์„ฑํ•˜๋Š” ๋นˆ๋„๋ฅผ ๊ฒฐ์ •ํ•ฉ๋‹ˆ๋‹ค. cron ํ‘œํ˜„์‹์„ ์‚ฌ์šฉํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.
    • Backup window(๋ฐฑ์—… ๊ธฐ๊ฐ„)
    • ํ•ด๋‹น ๋ฐฑ์—… ๊ธฐ๊ฐ„์ด ์‹œ์ž‘๋˜๋Š” ์‹œ๊ฐ„ ๋ฐ ๊ธฐ๊ฐ„์˜ ์ง€์† ์‹œ๊ฐ„์œผ๋กœ ๊ตฌ์„ฑ๋ฉ๋‹ˆ๋‹ค. ๋ฐฑ์—… ์ž‘์—…(Backup jobs)์€ ์ด ์‹œ๊ฐ„ ์•ˆ์—์„œ ์‹œ์ž‘๋ฉ๋‹ˆ๋‹ค.
    • Lifecycle(์ˆ˜๋ช…์ฃผ๊ธฐ)
    • ์ˆ˜๋ช… ์ฃผ๊ธฐ๋Š” ๋ฐฑ์—…์ด ์ฝœ๋“œ ์Šคํ† ๋ฆฌ์ง€๋กœ ์ „ํ™˜๋˜๋Š” ์‹œ๊ธฐ์™€ ๋งŒ๋ฃŒ๋˜๋Š” ์‹œ์ ์„ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค. AWS Backup์€ ์‚ฌ์šฉ์ž๊ฐ€ ์ •์˜ํ•œ ์ˆ˜๋ช… ์ฃผ๊ธฐ์— ๋”ฐ๋ผ ๋ฐฑ์—…์„ ์ž๋™์œผ๋กœ ์ „ํ™˜ํ•˜๊ณ  ๋งŒ๋ฃŒํ•ฉ๋‹ˆ๋‹ค.
    • Backup vault
    • ๋ฐฑ์—… ๊ทœ์น™์œผ๋กœ ์ƒ์„ฑ๋œ ๋ฐฑ์—…์€ ์‚ฌ์šฉ์ž๊ฐ€ ๋ฐฑ์—… ๊ทœ์น™์— ์ง€์ •ํ•œ ๋ฐฑ์—… ๋ณผํŠธ์—์„œ ๊ตฌ์„ฑ๋ฉ๋‹ˆ๋‹ค.
  • ๋ฐฑ์—… ๊ทœ์น™์€ ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์š”์†Œ๋กœ ์ด๋ฃจ์–ด ์ง‘๋‹ˆ๋‹ค.
  • Backup Vault (๋ฐฑ์—… ๋ณผํŠธ, ๋ฐฑ์—… ์ €์žฅ์†Œ)
  • ๋ฐฑ์—… ๋ณผํŠธ๋Š” ๋ฐฑ์—…์„ ์ €์žฅํ•˜๊ณ  ๊ตฌ์„ฑํ•˜๋Š” ์ปจํ…Œ์ด๋„ˆ์ž…๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•

'๐Ÿ“‚ AWS' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[AWS/CLI] create-route  (0) 2021.10.27
[AWS/CLI] authorize-security-group-ingress  (0) 2021.10.20
[AWS] RDS  (0) 2021.10.15
[AWS] IAM  (0) 2021.10.13
[AWS/CLI] describe-route-tables  (0) 2021.10.07