Upgrade to Pro — share decks privately, control downloads, hide ads and more …

jaws-ug-asa-datasync-20220510

 jaws-ug-asa-datasync-20220510

3cb071df50ed06febdfb3262fb5a67a3?s=128

h-ashisan

May 10, 2022
Tweet

More Decks by h-ashisan

Other Decks in Technology

Transcript

  1. AWS DataSyncΛߏங/ӡ༻ͯ͠Θ͔ͬͨ͜ͱ  +"846(ேձ ͋͠͞Μ )JSPBLJ"TIJ[BXB

  2. ࣗݾ঺հ  ͋͠͞Μ / Ἑ୔޿ত • ॴଐɿΫϥεϝιουגࣜձࣾ • Twitterɿ@ashi_ssan •

    ޷͖ͳαʔϏεɿ • AWS WAF • Media Services
  3. "84%BUB4ZODʹ͍ͭͯ࿩͠·͢ 

  4. ຊ೔࿩͢͜ͱ  ɾAWS DataSyncͱ͸ʁ ɾߏஙͯ͠Έͯؾ͍ͮͨ͜ͱ ɾӡ༻ͯ͠ΈͯΘ͔ͬͨ͜ͱ ɾ·ͱΊ

  5.  AWS DataSyncͱ͸ʁ

  6. "84%BUB4ZODͱ͸ʁ  ҎԼΑ͏ͳσʔλసૹΛ؆୯ʹ࣮ߦͰ͖ΔαʔϏε - ΦϯϓϨϛε-AWSετϨʔδαʔϏεؒ - AWSετϨʔδαʔϏε-AWSετϨʔδαʔϏεؒ etc…

  7. "84%BUB4ZODͷ͍͍ͱ͜Ζ  ɾߴ଎σʔλసૹ - Ϛϧνηογϣϯɺ௨৴σʔλѹॖɺϩʔυόϥϯε ɾ؆қͳૢ࡞ੑ - ΤʔδΣϯτɺ̏εςοϓઃఆɺεέδϡʔϧઃఆ ɾηΩϡΞͰߴ৴པͳ௨৴ -

    TLS௨৴ɺอଘ࣌σʔλ҉߸Խ ɾ௿ίετ - సૹͨ͠σʔλྔͷΈʹ՝ۚ(౦ژɿ0.0125USD/GiB)
  8. ྨࣅαʔϏεͱͷ࢖͍෼͚  ɾDataSync - ΦϯϥΠϯͰେྔϑΝΠϧΛҠಈ ɾSnowball Edge(Snow Family) - ΦϑϥΠϯͰେྔͷϑΝΠϧΛҠಈ

    ɾStorage Gateway - Ϋϥ΢υετϨʔδ΁ͷΞΫηεΛఏڙ
  9. ྨࣅαʔϏεͱͷ࢖͍෼͚ 

  10.  ӡ༻ͯ͠ΈͯΘ͔ͬͨ͜ͱ

  11. ӡ༻ͯ͠ΈͯΘ͔ͬͨ͜ͱ  ɾλεΫ࣮ߦ͕ࣦഊͯ͠΋௨஌͞Εͳ͍(͜ͱ͕͋Δ) - EventBridge + SNS(ϝʔϧ)ͰλεΫͷঢ়ଶ؂ࢹΛઃఆ ɿλεΫ࣮ߦεςʔλε=“Error”ͰτϦΨʔ - λεΫ͕ࣦഊ(ΤʔδΣϯτҟৗʹΑΔ΋ͷ)ͨ͠ͷʹ௨஌

    ͞Εͳ͍ࣄҊ͕ൃੜ → ͳͥͰ͠ΐ͏ʁ
  12. Կ͕ى͖͍͔ͯͨ  ɾެࣜυΩϡϝϯτʮλεΫ࣮ߦεςʔλε:Errorʯͷ߲໨ʹ ҎԼͱهड़͞Ε͍ͯͨ ͜ͷ஋͸σʔλసૹ͕ࣦഊͨ͠ͱ͖ʹฦ͞Ε·͢ɻ 7FSJGZ.PEFΦϓγϣϯ͕ઃఆ͞Ε͍ͯͳ͍৔߹ɺ͜ͷεςʔλε͸ <53"/4'&33*/( సૹத >ϑΣʔζͷޙʹੜ͡·͢ɻͦΕҎ֎ͷ ৔߹͸ɺ<7&3*':*/(

    ݕূத >ϑΣʔζͷޙʹੜ͡·͢ɻ ࢀߟURLɿhttps://docs.aws.amazon.com/ja_jp/datasync/latest/userguide/working-with-task-executions.html
  13. ʮ53"/4'&3*/(ʯϑΣʔζͱ͸ 

  14. ʮ53"/4'&3*/(ʯϑΣʔζͱ͸  ΤʔδΣϯτҟৗ͸͜͜ Ͱ൑ఆͯͦ͠͏

  15. Ͳ͏΍ͬͯରॲ͔ͨ͠  ɾҎԼͷ̎୒Ͱݕ౼ - λεΫͷ੒ޭ(Success)Ͱ௨஌ͤ͞Δ - λεΫͷ੒ޭϝʔϧ͕དྷͳ͘ͳΔ͜ͱͰҟৗೝఆ͢Δ - ͦͷ··ʹ͢Δ -

    ΤʔδΣϯτҟৗͷύλʔϯ͸ผ్ΤʔδΣϯτͷεςʔλεͰ௨஌ઃ ఆ͢Δ͜ͱͰΧόʔ → ޙऀΛબ୒ɻ - ͦͷଞࠓى͖͍ͯͳ͍ྫ֎͸௨஌͞Εͳ͍͜ͱΛڐ༰ͨ͠
  16.  ɾλεΫͷঢ়ଶ؂ࢹઃఆʹ͍ͭͯ͸ϒϩάʹ·ͱΊ·ͨ͠

  17. ·ͱΊ  ɾDataSync͸ߴ଎ɾ؆୯ɾηΩϡΞʹΦϯϓϨϛε→AWS΁σʔλ Λૹ৴Ͱ͖ΔαʔϏε ɾλεΫͷ࣮ߦεςʔλεΛ؂ࢹ͢Δ৔߹͸ɺ௨஌Ͱ͖ͳ͍ύλʔ ϯʹ͍ͭͯ΋ϑΥϩʔͰ͖ΔΑ͏ʹઃܭ͠Α͏

  18. ΧδϡΞϧ໘ஊ΍ͬͯ·͢  Ϋϥεϝιου΍ࢲ(?)ʹڵຯͷ͋Δํɺ͓࿩͠͠·͠ΐ͏

  19. None