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

202112_FinJAWS

 202112_FinJAWS

Takuya Yonezawa

December 02, 2021
Tweet

More Decks by Takuya Yonezawa

Other Decks in Technology

Transcript

  1. 4UFQॳظߏ੒  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) VPC ap-northeast-1a ap-northeast-1c Public Subnet

    Private Subnet Public Subnet Private Subnet Security Group ؅ཧΞΧ΢ϯτ Security Group
  2. 4UFQ".*͔Β&$Λىಈ  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) VPC ap-northeast-1a ap-northeast-1c Private Subnet

    Public Subnet Private Subnet Security Group Public Subnet Security Group ؅ཧΞΧ΢ϯτ ॳظ".*
  3. ؅ཧΞΧ΢ϯτ  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) VPC ap-northeast-1a ap-northeast-1c Private Subnet

    Private Subnet Public Subnet Security Group 4UFQηΩϡϦςΟάϧʔϓ݀։͚ Public Subnet Security Group )551)551444) ࢀՃऀ
  4. Public Subnet Security Group ؅ཧΞΧ΢ϯτ  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) ap-northeast-1a

    ap-northeast-1c Private Subnet Private Subnet Public Subnet Security Group ࢀՃऀ 4UFQ8&#αʔόߏஙPO&$ ࣄલ֨ೲࡁΈ 8&#ίϯςϯπ /HJOYߏங ίϯςϯπऔಘ VPC 44)
  5. Public Subnet Security Group ؅ཧΞΧ΢ϯτ  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) ap-northeast-1a

    ap-northeast-1c Private Subnet Private Subnet Public Subnet Security Group ࢀՃऀ 4UFQ4FSWFSMFTT -BNCEB%ZOBNP%# 1ZUIPOX#PUP %ZOBNP%#ΑΓ Ϩίʔυऔಘ ߏஙࡁ%ZOBNP%# VPC )551
  6. Public Subnet Security Group ؅ཧΞΧ΢ϯτ  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) ap-northeast-1a

    ap-northeast-1c Private Subnet Private Subnet Public Subnet Security Group ࢀՃऀ 4UFQ4FSWFSMFTT -BNCEB%ZOBNP%# 1ZUIPOX#PUP %ZOBNP%#ΑΓ Ϩίʔυऔಘ ߏஙࡁ%ZOBNP%# VPC )551 ॱௐʹߏஙͰ͖ͯ΋هԱʹ࢒Βͳ͍Ͱ͢ΑͶʁ😇
  7. Public Subnet Security Group ؅ཧΞΧ΢ϯτ  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) ap-northeast-1a

    ap-northeast-1c Private Subnet Private Subnet ࢀՃऀ 4UFQ$IBPTͷ஫ೖʙ4&͸τϥϒϧԼͰ੒௕͢Δʙ 1ZUIPOX#PUP %ZOBNP%#ΑΓ Ϩίʔυऔಘ ߏஙࡁ%ZOBNP%# VPC )551 Public Subnet Security Group ӡӦ &$ఀࢭ
  8. 4UFQ"-#ʷ&$"VUP4DBMJOH  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) ap-northeast-1a ap-northeast-1c Public Subnet Security

    Group ؅ཧΞΧ΢ϯτ Security Group Private Subnet Private Subnet Public Subnet ࢀՃऀ ߏஙͨ͠&$ΑΓ ".*Λ࡞੒ ".*ΑΓىಈςϯϓϨʔτͱ "VUP4DBMJOHάϧʔϓΛ࡞੒ "-#PO1VCMJD4VCOFU ͔Βͷ௨৴ͷΈ"MMPX VPC )551
  9. 4UFQ$IBPT͸࠶ͼ๚ΕΔ  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) ap-northeast-1a ap-northeast-1c Public Subnet Security

    Group ؅ཧΞΧ΢ϯτ Security Group Public Subnet ࢀՃऀ ߏஙͨ͠&$ΑΓ ".*Λ࡞੒ ".*ΑΓىಈςϯϓϨʔτͱ "VUP4DBMJOHάϧʔϓΛ࡞੒ "-#PO1VCMJD4VCOFU ͔Βͷ௨৴ͷΈ"MMPX VPC )551 Private Subnet Private Subnet ӡӦ &$ఀࢭ
  10. 4UFQ$IBPT͸࠶ͼ๚ΕΔ  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) ap-northeast-1a ap-northeast-1c Public Subnet Security

    Group ؅ཧΞΧ΢ϯτ Security Group Public Subnet ࢀՃऀ ߏஙͨ͠&$ΑΓ ".*Λ࡞੒ ".*ΑΓىಈςϯϓϨʔτͱ "VUP4DBMJOHάϧʔϓΛ࡞੒ "-#PO1VCMJD4VCOFU ͔Βͷ௨৴ͷΈ"MMPX VPC )551 Private Subnet Private Subnet "VUP4DBMJOHઃఆΛೖΕ͍ͯΔͨΊ&$͕ࣗಈ෮چ
  11. 4UFQ$IBPT͸࠶ͼ๚ΕΔ  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) ap-northeast-1a ap-northeast-1c Public Subnet Security

    Group ؅ཧΞΧ΢ϯτ Security Group Public Subnet ࢀՃऀ ߏஙͨ͠&$ΑΓ ".*Λ࡞੒ ".*ΑΓىಈςϯϓϨʔτͱ "VUP4DBMJOHάϧʔϓΛ࡞੒ "-#PO1VCMJD4VCOFU ͔Βͷ௨৴ͷΈ"MMPX VPC )551 Private Subnet Private Subnet "VUP4DBMJOHઃఆΛೖΕ͍ͯΔͨΊ&$͕ࣗಈ෮چ αʔόʔͷϝϯςਏ͘ͳ͍ʁ😇
  12. 4UFQ੩త8&#ϗεςΟϯάPO4  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) VPC ap-northeast-1a ap-northeast-1c Public Subnet

    Private Subnet Public Subnet Private Subnet Security Group ؅ཧΞΧ΢ϯτ Security Group ࢀՃऀ )551 8&#ϗεςΟϯά PO4
  13. 4UFQ$MPVE'SPOU഑ஔ  ࢀՃऀΞΧ΢ϯτ Region (ap-northeast-1) VPC ap-northeast-1a ap-northeast-1c Public Subnet

    Private Subnet Public Subnet Private Subnet Security Group ؅ཧΞΧ΢ϯτ Security Group ࢀՃऀ )5514 0"* 4௚ΞΫηεΛ%FOZ
  14. ΞΧ΢ϯτߏ੒ʢ؀ڥͷσϦόϦʔతͳ࿩ʣ  ࢀՃऀΞΧ΢ϯτ 1 ؅ཧΞΧ΢ϯτ ࢀՃऀ06 ɾɾɾ 0SHBOJ[BUJPOT ࢀՃऀ؀ڥ 5FNQMBUF

    4UBDL ࢀՃऀΞΧ΢ϯτ 2 ࢀՃऀΞΧ΢ϯτ n 4UFQ'VODUJPOT 8&#ίϯςϯπ 4UBDL 8&#ίϯςϯπ 4UBDL 8&#ίϯςϯπ $PEF#VJME $MPVE'PSNBUJPO 4UBDL4FUT
  15. ΞΧ΢ϯτߏ੒ʢ؀ڥͷσϦόϦʔతͳ࿩ʣ  ؅ཧΞΧ΢ϯτ ࢀՃऀ06 0SHBOJ[BUJPOT 4UFQ'VODUJPOT 8&#ίϯςϯπ 8&#ίϯςϯπ 8&#ίϯςϯπ $PEF#VJME

    ࢀՃऀΞΧ΢ϯτ 1 ࢀՃऀΞΧ΢ϯτ 2 ࢀՃऀΞΧ΢ϯτ n ࢀՃऀ؀ڥ 5FNQMBUF 4UBDL 4UBDL 4UBDL $MPVE'PSNBUJPO 4UBDL4FUT ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍ΞΧ΢ϯτ *%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ͔ͨͬͨ 06ʹରͯ͠ΦʔτσϓϩΠઃఆΛೖΕ͓͚ͯ͹ɺ 06ʹΞΧ΢ϯτΛͿΒԼ͛ͨλΠϛϯάͰ ࣗಈతʹ4UBDLΛσϓϩΠɺ؀ڥ͕Ͱ͖͕͋Δ ɾɾɾ ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍ΞΧ΢ϯτ *%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ͔ͨͬͨ ࢀՃऀΞΧ΢ϯτ͸͍ΘΏΔʮۚଠ࿠᷒ʯͳͷͰ 4UBDL4FUTͰͷࣗಈσϓϩΠ͕Ϛονͯͨ͠
  16. ΞΧ΢ϯτߏ੒ʢ؀ڥͷσϦόϦʔతͳ࿩ʣ  ؅ཧΞΧ΢ϯτ ࢀՃऀ06 0SHBOJ[BUJPOT 4UFQ'VODUJPOT 8&#ίϯςϯπ 8&#ίϯςϯπ 8&#ίϯςϯπ $PEF#VJME

    ࢀՃऀΞΧ΢ϯτ 1 ࢀՃऀΞΧ΢ϯτ 2 ࢀՃऀΞΧ΢ϯτ n ࢀՃऀ؀ڥ 5FNQMBUF 4UBDL 4UBDL 4UBDL $MPVE'PSNBUJPO 4UBDL4FUT ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍ΞΧ΢ϯτ *%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ͔ͨͬͨ 06ʹରͯ͠ΦʔτσϓϩΠઃఆΛೖΕ͓͚ͯ͹ɺ 06ʹΞΧ΢ϯτΛͿΒԼ͛ͨλΠϛϯάͰ ࣗಈతʹ4UBDLΛσϓϩΠɺ؀ڥ͕Ͱ͖͕͋Δ ɾɾɾ ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍ΞΧ΢ϯτ *%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ͔ͨͬͨ ࢀՃऀΞΧ΢ϯτ͸͍ΘΏΔʮۚଠ࿠᷒ʯͳͷͰ 4UBDL4FUTͰͷࣗಈσϓϩΠ͕Ϛονͯͨ͠ ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍ΞΧ΢ϯτ *%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ͔ͨͬͨ 4UBDL4FUTΛ࢖͏ͱ͜ͷΑ͏ʹࣗಈͰΞΧ΢ϯτ୯ҐͰ4UBDL ͕࡞੒͞Ε͍ͯ͘ͷͰɺखಈΦϖϨʔγϣϯ͕Ұ੾ෆཁʂ ײಈʂ👏👏
  17. ؅ཧΞΧ΢ϯτ ΞΧ΢ϯτߏ੒ʢ؀ڥͷσϦόϦʔతͳ࿩ʣ  ࢀՃऀ06 0SHBOJ[BUJPOT ࢀՃऀ؀ڥ 5FNQMBUF 4UBDL 4UBDL 4UBDL

    $MPVE'PSNBUJPO 4UBDL4FUT 4UFQ'VODUJPOT $PEF#VJME ࢀՃऀΞΧ΢ϯτ 1 ɾɾɾ ࢀՃऀΞΧ΢ϯτ 2 ࢀՃऀΞΧ΢ϯτ n 8&#ίϯςϯπ 8&#ίϯςϯπ 8&#ίϯςϯπ ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍ΞΧ΢ϯτ *%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ͔ͨͬͨ ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ ʢ"1*(BUFXBZͷύεɺΞΧ΢ϯτ*%ɺFUDʣ Λٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTͰϥοϓ ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍ΞΧ΢ϯτ *%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ͔ͨͬͨ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ ࢖ͬͯΈ͔ͨͬͨʢ͖ͬͱ$PEF1JQFMJOFͰ΋ग़དྷΔʣ
  18. ΞΧ΢ϯτߏ੒ʢ౷੍తͳ࿩ʣ  ࢀՃऀ06 0SHBOJ[BUJPOT ࢀՃऀΞΧ΢ϯτ 1 ࢀՃऀΞΧ΢ϯτ 2 ࢀՃऀΞΧ΢ϯτ n

    ӡӦάϧʔϓ ࢀՃऀάϧʔϓ1 ࢀՃऀάϧʔϓ2 ࢀՃऀάϧʔϓn "84440 ؅ཧΞΧ΢ϯτ ɾɾɾ "ENJOJTUSBUPS "ENJOJTUSBUPS "ENJOJTUSBUPS "ENJOJTUSBUPS 4$11PMJDZ $PO fi H ɾɾɾ
  19. ΞΧ΢ϯτߏ੒ʢ౷੍తͳ࿩ʣ  0SHBOJ[BUJPOT 4$11PMJDZ $PO fi H ࢀՃऀ06 ࢀՃऀΞΧ΢ϯτ 1

    ࢀՃऀΞΧ΢ϯτ 2 ࢀՃऀΞΧ΢ϯτ n ӡӦάϧʔϓ ࢀՃऀάϧʔϓ1 ࢀՃऀάϧʔϓ2 ࢀՃऀάϧʔϓn "84440 ؅ཧΞΧ΢ϯτ ɾɾɾ "ENJOJTUSBUPS "ENJOJTUSBUPS "ENJOJTUSBUPS "ENJOJTUSBUPS ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍ΞΧ΢ϯτ *%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ͔ͨͬͨ "84440Λར༻ͯ͠ ࢀՃऀͷΞΧ΢ϯτΞΫηεݖݶΛ੍ޚ ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍ΞΧ΢ϯτ *%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ͔ͨͬͨ ؅ཧऀάϧʔϓ͸ࢀՃऀϑΥϩʔͷͨΊ 06഑ԼͷΞΧ΢ϯτʹ΋ϩάΠϯݖݶΛ෇༩ ɾɾɾ
  20. ΞΧ΢ϯτߏ੒ʢ౷੍తͳ࿩ʣ  0SHBOJ[BUJPOT ӡӦάϧʔϓ ࢀՃऀάϧʔϓ1 ࢀՃऀάϧʔϓ2 ࢀՃऀάϧʔϓn "84440 ؅ཧΞΧ΢ϯτ ɾɾɾ

    "ENJOJTUSBUPS "ENJOJTUSBUPS "ENJOJTUSBUPS "ENJOJTUSBUPS ࢀՃऀ06 ࢀՃऀΞΧ΢ϯτ 1 ࢀՃऀΞΧ΢ϯτ 2 ࢀՃऀΞΧ΢ϯτ n 4$11PMJDZ $PO fi H ɾɾɾ ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍Ξ Χ΢ϯτ*%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥ ϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ ͔ͨͬͨ 0SHBOJ[BUJPOº4$1ʹͯɺࣾ಺ϧʔϧΛҳ୤ ͠ͳ͍Α͏༧๷తΨʔυϨʔϧΛෑઃ ʢFY(SPVOE4UBUJPO࢖ͬͯӉ஦ͱͭͳ͍ͩΖʂʣ ΞΧ΢ϯτຖͷύϥϝʔλࠩ෼ʢ"1*(BUFXBZͷύεͳ΍Ξ Χ΢ϯτ*%ʣΛٵऩ͢ΔͨΊʹ4UFQ'VODUJPOTº*OQVUύϥ ϝʔλͰϥοϓɻ 4%,֦ॆΞοϓσʔτͷ௚ޙͩͬͨͷͰͱΓ͋͑ͣ࢖ͬͯΈ ͔ͨͬͨ ࢀՃऀଆͰඞཁҎ্ͷݖݶΛ։์ͨ͠৔߹͸ $PO fi Hͷࣗݾम෮ϧʔϧΛద༻͢Δɺ ൃݟతΨʔυϨʔϧΛෑઃ