ããã«ã¡ã¯ï¼ãã¯ã©ã¯äºæ¥é¨ Platform Engineering é¨ DevOps ãã¼ã ã® id:sadayoshi_tadaã§ããä»æã®åªè¡å»»æ¦ã®ã¢ãã¡ã¯åä½ã«ãªãæåãæããã¦ã¦æé«ã§ããã
ãã®è¨äºã¯Â LayerXããã¯ã¢ãã«ã¬Â 49æ¥ç®ã®è¨äºã§ããåæ¥ã¯ id:watau_lx ããã«ãã ç¶ç¶çãªããã©ã¼ãã³ã¹æ¹åã®ããã»ã¹ãç´¹ä»ãã¾ã ã§ãããææ¥ã¯Â kakeruãããæ å½ãã¾ãããã®è¨äºã§ã¯ AWS ã®å¦ç¿åã«ã³ãã¡ã¬ã³ã¹ã§ãããre:Invnent 2023 ã§ç»å ´ãã AWS Backup Restore testing ãæ¤è¨¼ããå 容ãã¾ã¨ãã¦ããã¾ãããªããre:Invent 2023 ã§ã®ã¢ãããã¼ããæ°ãµã¼ãã¹ããããã AWS re:Invent 2023éå ± ã®è³æã¨åç»ããããã§ãã¯ããã¦ãªãæ¹ããããå¹´æ«å¹´å§ã®ã¿ã¤ãã³ã°ã§ãã§ãã¯ãã¦ã¿ã¦ãã ããð
- AWS Backup Restore testing ã¨ã¯
- Restore testing ã®æºå
- Restore testing ã®å®è¡çµæã®ç¢ºèª
- ã¾ã¨ã
AWS Backup Restore testing ã¨ã¯
ããã¾ã§ã¯ããã¯ã¢ããã®å¾©å ãã§ãããã©ããã®ç¢ºèªã¯å®éã«ãªã¹ãã¢ãã¦ç¢ºèªããå¿ è¦ãããã¾ããããAWS Backup Restore testing(以ä¸ãRestore testing)ã§ã¯ãªã¹ãã¢ãã¹ã±ã¸ã¥ã¼ã«ã§èªåã§å®è¡ãã¦æ£å¸¸ã«å¾©å ã§ãããã©ããã確èªãããã¨ãã§ãã¾ããã¾ãããªã¹ãã¢ãã¹ãå¾ã®ãªã½ã¼ã¹ã¯åé¤ãããããã«ãªã£ã¦ãããä½è¨ãªèª²éãããããªãå¶å¾¡ãå ¥ã£ã¦ãã¾ãã
Restore testing ããªãªã¼ã¹ããããã¨ã§ããªã¼ã¸ã§ã³ãã¾ããã ããã¯ã¢ããã®ã³ãã¼ãçµã¿åããã¦å¥ãªã¼ã¸ã§ã³ã«ããã¯ã¢ãããè¤è£½ â 復å ã®å®è¡ç¢ºèªã®ããã»ã¹ãèªååãã§ããããã«ãªã£ãã®ã¯å¬ããã§ããï¼
Restore testing ã®ãµãã¼ããªã½ã¼ã¹
2023å¹´12ææç¹ã§ãµãã¼ãããã¦ãããªã½ã¼ã¹ã¯ Aurora/Amazon DocumentDB/DynamoDB/EBS/EC2/EFS/FSx (LustreãONTAPãOpenZFSãWindows)/Neptune/RDS/S3 ã§ããéã«ãµãã¼ãããã¦ãªãã®ã SAP HANA EC2 Database/VMware Backup/Timestream/Redshift ã§ãã
å©ç¨å¯è½ãªãªã¼ã¸ã§ã³
2023å¹´12ææç¹ã§å©ç¨å¯è½ãªãªã¼ã¸ã§ã³ã¯ ã¤ã¹ã©ã¨ã«/GovCloud (US-East/US-West)/ä¸å½(å京/寧å¤) ãé¤ãåç¨ãªã¼ã¸ã§ã³ã§ãã
Restore testing ã«ãããã³ã¹ã
ã³ã¹ãæã確èªãã¦ããã¾ãããã¹ããã¨ã«æéãçºçããé ç®ã¨ãã¦ã¯ãã¹ãå®è¡ã«ãããæéã¨ãªã¹ãã¢ãã¹ãç¨ã¹ãã¬ã¼ã¸ã®æéã§ãã
ä¾ãã°ãæ±äº¬ãªã¼ã¸ã§ã³ã«ã¦ Aurora 㧠Restore testing ãå®è¡ããå ´åã¯æ¬¡ã®è²»ç¨ããããã¾ãã
課éé ç® | ãããè²»ç¨ | åè |
---|---|---|
ãªã¹ãã¢ãã¹ãå®è¡ã«ãããæé | ããã¯ã¢ããã¾ãã¯ãªã«ããªãã¤ã³ãããã$1.8 | - |
ãªã¹ãã¢ãã¹ãç¨ã®ã¹ãã¬ã¼ã¸è²»ç¨ | Aurora ã®å¾©å ã¯ç¡æ | ãªã¹ãã¢ã®ãµã¼ãã¹ã«ãã£ã¦ç°ãªãã¾ã |
Restore testing ã®å¶ç´
ä»ãµã¼ãã¹åæ§ã« Restore testing ã«ã次ã®å¶ç´ãããã¾ãããã¹ããå®è¡ã§ããæ°ãä¿è·å¯è½ãªãªã½ã¼ã¹ãå½åã®å¶ç´ã¯æ¥é ã®å©ç¨ã§æ°ã«ããã¦ããããã¨ããã§ãã
ã»100 restore testing plan
ã»50 tags can be added to each restore testing plan
ã»30 selections per plan
ã»30 protected resource ARNs per selection
ã»30 protected resource conditions per selection (including those within both StringEquals and StringNotEquals)
ã»30 vault selectors per selection
ã»Max selection window days: 365 days
ã»Start window hours: Min: 1 hour; Max: 168 hours (7 days)
ã»Max plan name length: 50 characters
ã»Max selection name length: 50 characters
ããã¥ã¡ã³ããªã³ã¯
Restore testing ã®æºå
Restore testing ã®å®è¡ã«ã¯2ã¹ãããå¿ è¦ã§ããâ Restore testing plan ã®ä½æãâ¡Restore testing resources ã®è¨å®ã«ãªãã¾ãã
â Restore testing plan ã®ä½æ
ã¾ã㯠Restore testing plan ã®ä½æãè¡ãã¾ããããã§ã¯ãªã¹ãã¢ãã¹ãåããã¹ãã®é »åº¦ã»éå§æéã復æ§æç¹ã®é ç®ãè¨å®ãã¾ãã
â¡Restore testing resources ã®è¨å®
次㫠Restore testubg ã®ãªã½ã¼ã¹ãè¨å®ãã¦ãã¾ããããã§ã¯ãªã¹ãã¢ã«ä½¿ã IAM ãã¼ã«ããªã¹ãã¢å¾ã®ãªã½ã¼ã¹åé¤ã®ã¿ã¤ãã³ã°ããªã¹ãã¢ã®å¯¾è±¡ AWS ãªã½ã¼ã¹ãè¨å®ãã¾ãããªã½ã¼ã¹åé¤ã¯ããã©ã«ãã¯å³åé¤ã§ããããã¹ãã®å
容ã«ãã£ã¦ã¯ãªã¹ãã¢å¾ããã«åé¤ããã«ãã¦ããããå ´åãããã¨æãã¾ãããããã£ãå ´å㯠Retention period before cleanup
ã®ã»ã¯ã·ã§ã³ã§ Retain for a specific number of hours
ãé¸æãã¦ãªã½ã¼ã¹ãä¿æããæéã®æå®ãè¡ãã¾ãã
ãªããããã¸ã¡ã³ãã³ã³ã½ã¼ã«ä»¥å¤ã®è¨å®æ¹æ³ã¨ã㦠AWS CLI(â Restore testing plan ä½æãâ¡Restore testing resources ã®è¨å®) ã CloudFormation ã§ãè¨å®å¯è½ã§ããTerraform ã¯ã¾ãæªãµãã¼ãã§ãã
Restore testing ã«é¢ãã権éå¶å¾¡
Restore testing ã§ä½¿ç¨ãã IAM ã®æ¨©éã«ã¤ãã¦ãç°¡åã«ã¾ã¨ãã¦ããã¾ãããªã¹ãã¢æã«ä½¿ã IAM ã®æ¨©éã¯ããã¥ã¡ã³ãã«è¨è¼ã®ã«ã¹ã¿ãã¼ç®¡çããªã·ã¼ã®æ¨©éã§åé¡ããã¾ããã§ãããã¾ããããã¯ã¢ããã KMS ã§æå·åããã¦ããå ´åã¯å¿ è¦ãªæ¨©éã追å ãã¦ããã¾ãããã
Restore testing ã®å®è¡çµæã®ç¢ºèª
ãªã¹ãã¢ãã¹ãã®çµæ㯠Restore testing > ãªã¹ãã¢ãã¹ãå
ãé¸æãã㨠Restore testing jobs
ãã確èªã§ãã¾ããç»åã®çµæã§ã¯ã¹ã±ã¸ã¥ã¼ãªã³ã°ãã¦ãã1æé以å
ã«ãã¹ããéå§ããã¦16åã»ã©ã§ãã¹ããå®äºãã¾ãããAurora ã®ãã¹ãã§ã¯ awsbackup-restore-test-[ããã¯ã¢ãããªã½ã¼ã¹ ID]
ã§ã¯ã©ã¹ã¿ã¼ãã¹ãããã·ã§ããããä½ããã¦ãã¾ããã
ãªã³ããã³ãããã¯ã¢ããã®å®è¡æéã¨æ¯è¼
æ°ã«ãªã£ãã®ã§ Restore testing 㨠AWS Backup ã®ãªã³ããã³ããªã¹ãã¢ã§ã©ããããæéã«å·®ãããã®ãã確èªãã¾ãããRestore testing ã§ä½¿ç¨ããã®ã¨åãããã¯ã¢ããã使ã£ã¦ãªã¹ãã¢ãã¦ã¿ãã¨ãã26åã»ã©ã§ãªã¹ãã¢ãå®äºãã¾ããã復æ§æéã®ç¢ºèªã¯ Restore testing ã¨ã¯å¥ã§ç¢ºèªãã¦ãããã¨ã«çæããã®ãè¯ãããã§ãã
ã¾ã¨ã
AWS Backup Restore testing æ¦è¦ãæ¤è¨¼ããå 容ãç´¹ä»ããã¦ãããã¾ãããè¨å®æ㯠KMS ã IAM ã®æ¨©éä¸è¶³ããªãã確èªãã¤ã¤ãå®è¡æã¯ã³ã¹ããæ°ã«ããã¦ããã°ããã¾ã§ããã£ã¦ããéç¨è² æ ãçååãããã¨ã«ã¤ãªãããã¢ãããã¼ãã ã¨æãã¾ããï¼re:Invent 2023 ã§çºè¡¨ãããã¢ãããã¼ãã§ãã¬ãã¥ã¼ã ã£ãããããã®ãããã触ããªããã®ãããã¾ãããããã£ãã¢ãããã¼ããçµã¿è¾¼ãã§éçºã»éç¨ããããããã¦ããããã§ããã