Laravelのデプロイ戦略。VPSからDocker、Kubernates、サーバレスまで

 Laravelのデプロイ戦略。VPSからDocker、Kubernates、サーバレスまで

793fd8f822c708b5fb9f8c17af8e50e3?s=128

Tsuyoshi Tsurushima

February 16, 2019
Tweet

Transcript

  1. -BSBWFMͷσϓϩΠઓུ 714͔Β%PDLFSɺ,VCFSOBUFTɺαʔόϨε·Ͱ  -BSBWFM+1$POGFSFODF 5TVZPTIJ5TVSVTIJNB

  2. ௽ ౡ ߶ 4UPSF$MPVEגࣜձࣾ ୅දऔక໾ ελʔτΞοϓΛ͸͡Ί·ͨ͠ɻ&31Λ4BB4Ͱఏڙ༧ఆͰ͢ɻ -BSBWFM 7VFKT /VYUKT ࢖ͬͯ·͢ɻ

    ٻਓ͢ΒͰ͖ͳ͍খ͞ͳձࣾͰ͕͢օ͞Μ஥ྑ͍ͯͩ͘͘͠͞ʂ ࠓ·ͰडୗͰখചɾྲྀ௨ۀ޲͚ͷγεςϜΛ࡞ͬͯ·ͨ͠ɻ Πϯϑϥߏஙɺอकӡ༻΋୲౰͍ͯ͠·ͨ͠ɻ UTVSVTIJNB U@UTVSV UUTVSV ˞೥લ  5TVZPTIJ5TVSVTIJNB
  3.  ຊ೔ͷεϥΠυ͸ޙ΄Ͳɺ4QFBLFS%FDLʹ Ξοϓ͍͖ͤͯͨͩ͞·͢ɻ ຊτʔΫ͸ݸਓͷݟղͰ͋Γɺ ॴଐ͢Δ૊৫ͷެࣜݟղͰ͸͋Γ·ͤΜɻ ϝϞΛऔΔΑΓ΋օ༷ࣗ਎ͷσϓϩΠʹ͍ͭͯ ߟ͑ͳ͕Βฉ͍͍͚ͯͨͩΕ͹ͱࢥ͍·͢ɻ ؾʹͳΔτϐοΫ͸τʔΫத΋άάͬͯΈ͍ͯͩ͘͞ʂ

  4. ͸͡Ίʹ σϓϩΠʹ͸༷ʑͳ໰୊ղܾํ๏͕͋Γɺ ෼Ͱ͸ޠΓ੾Ε·ͤΜɻ σϓϩΠʹ౴͑͸͋Γ·ͤΜɻ ͦΕͧΕͷνʔϜ΍؀ڥʹΑͬͯɺબ୒ࢶ͸ҧ͍·͢ɻ ͦ͜Ͱɺ෼ͰಓےΛཱͯ·͠ΐ͏ɻ 

  5. օ͞ΜͷࠓͷσϓϩΠํ๏ΛΑΓਂ͘ཧղ͠ɺ ࠓޙͷϓϩΠઓུΛߟ͑ͯΈ͍ͯͩ͘͞ɻ 1SPT$POTΛ஌Γɺ σϓϩΠΛߦ͏ͨΊʹ͸ԿΛ஌͍ͬͯΔඞཁ͕͋Δͷ͔ɺ ԿʹؾΛ͚ͭΕ͹͍͍ͷ͔ΛҰॹʹߟ͑·͠ΐ͏ɻ ϝϞΛऔΔΑΓ΋ɺͥͻɺ࿩Λฉ͖ͳ͕Βߟ͑ͯΈ͍ͯͩ͘͞ɻ 

  6.  Ξϯέʔτ օ͞Μͷ͜ͱΛগ͠ڭ͍͑ͯͩ͘͞

  7. Ξϯέʔτ σϓϩΠઌ  "84 &$&#&$4 &$ &$4 'BSHBUF &,4-BNCEB 

    ($1 ($&("&(,&  "[VSF 7.",48FC"QQPO-JOVY8FC"QQGPS$POUBJOFST  )FSPLV  ͦͷଞΫϥ΢υ 714  ΦϯϓϨ  Ϩϯλϧαʔό  ͦͷଞ 
  8. Ξϯέʔτ σϓϩΠํ๏ $*$%ͰͷσϓϩΠͷ৔߹͸࠷ऴతͳίϚϯυ  '51ͳͲϩʔΧϧ͔ΒQVTI  HJUQVMMEPDLFSDPNQPTFQVMMͳͲαʔόͰQVMM  %FQMPZFS 

    &OWPZFS  "84$-*  HDMPVE  ͦͷଞ 
  9. Ξϯέʔτ %PDLFS  ຊ൪؀ڥɾ։ൃ؀ڥͰར༻  ։ൃ؀ڥͰར༻  ݕূதɾֶशத  ར༻͍ͯ͠ͳ͍

    
  10. Ξϯέʔτ ,VCFSOFUFT  ຊ൪؀ڥͰར༻  ݕূதɾֶशத  ར༻͍ͯ͠ͳ͍ 

  11.  ͍Ζ͍Ζ͋Γ͗͢·͢Ͷ ༷ʑͳํ๏͕͋Γɺॳ৺ऀ͔Βେن໛૊৫·Ͱɺ ͦΕͧΕͷεςʔδͰσϓϩΠʹ೰Έ͸͖ͭ·ͤΜɻ

  12. ΞδΣϯμ  -BSBWFM৬ਓʹཧ૝ͷσϓϩΠͱ͸  σϓϩΠͷछྨ  ୆͔ΒεέʔϧͰ͖ΔαʔϏε΁  -BSBWFM ΛΦʔτεέʔϧͤ͞ΔϙΠϯτ

     पลϙΠϯτ  ·ͱΊ 
  13. ΞδΣϯμ  -BSBWFM৬ਓʹཧ૝ͷσϓϩΠͱ͸  σϓϩΠͷछྨ  ୆͔ΒεέʔϧͰ͖ΔαʔϏε΁  -BSBWFM ΛΦʔτεέʔϧͤ͞ΔϙΠϯτ

     पลϙΠϯτ  ·ͱΊ 
  14. -BSBWFM৬ਓʹཧ૝ͷσϓϩΠͱ͸ • ։ൃ࣌ʹຊ൪؀ڥͷ͜ͱΛߟ͑ͳͯ͘΋ࡁΉɻ • ӡ༻ͷෛՙΛۃྗݮΒ͢ɻ • ٸʹେ͖ͳτϥϑΟοΫ͕དྷͯ΋ରԠͰ͖ΔΑ͏ʹɻ • Ͱ͖Δ͚ͩ҆͘ɻ •

    Ͱ͖Δ͚ͩૣ͘ɻ • ηΩϡΞͳΠϯϑϥʹ͍ͨ͠ɻ • ৽͍͠1)1࢖͍͍ͨɻ  σϓϩΠΛߟ͑ͳͯ͘΋ྑ͍ঢ়ଶ͍͍ͬͯΑͶ
  15. ΞδΣϯμ  -BSBWFM৬ਓʹཧ૝ͷσϓϩΠͱ͸  σϓϩΠΛ஌Δ  ୆͔ΒεέʔϧͰ͖ΔαʔϏε΁  -BSBWFM ΛΦʔτεέʔϧͤ͞ΔϙΠϯτ

     पลϙΠϯτ  ·ͱΊ 
  16. σϓϩΠͷछྨ ͬ͘͟Γ෼ྨ  ઌ૆୅ʑଓ͘ɺαʔό΁ͷσϓϩΠ ԿΒ͔ͷࣄ৘Ͱಉ͡αʔόΛར༻͠ଓ͚ͳ͍ͯ͘Δɻ େมͩͱ͸Θ͔ͬͯΔ͚Ͳɺม͑ͮΒ͍ɻ  1BB4 ͦΕͧΕͷ1BB4ݻ༗ͷ஌͕ࣝඞཁɻ1BB4ʹ৐ΕΔൣғͰ͋Ε͹ɺ͓खܰɻ ͳΜͱͳ͘ɺ؀ڥ͸͋Δ͚ͲɺϩʔΧϧ؀ڥͰ׬શͳ࠶ݱ͢Δͷ͸೉͍͠ɻ

     %PDLFS σϓϩΠେຊ໋ɻͲͷ؀ڥͰ΋ίϯςφ಺͸ಉҰ؀ڥɻ %PDLFSίϯςφΛͲ͏σϓϩΠ͢Δ͔͕ϙΠϯτɻ 
  17. σϓϩΠઌ  "84 &$ &#&$4 &$ &$4 'BSHBUF &,4-BNCEB 

    ($1 ($& ("&(,&  "[VSF 7. ",48FC"QQPO-JOVY8FC"QQGPS$POUBJOFST  )FSPLV  ͦͷଞΫϥ΢υ 714  ΦϯϓϨ  Ϩϯλϧαʔό  ͦͷଞ  ઌ૆୅ʑଓ͘ɺαʔό΁ͷσϓϩΠ
  18. σϓϩΠઌ  "84 &$&# &$4 &$ &$4 'BSHBUF &,4-BNCEB 

    ($1 ($&("& (,&  "[VSF 7.",48FC"QQPO-JOVY 8FC"QQGPS$POUBJOFST  )FSPLV  ͦͷଞΫϥ΢υ 714  ΦϯϓϨ  Ϩϯλϧαʔό  ͦͷଞ  1BB4
  19. σϓϩΠઌ  "84 &$&#&$4 &$ &$4 'BSHBUF &,4 -BNCEB 

    ($1 ($&("&(,&  "[VSF 7.",4 8FC"QQPO-JOVY8FC"QQGPS$POUBJOFST  )FSPLV  ͦͷଞΫϥ΢υ 714  ΦϯϓϨ  Ϩϯλϧαʔό  ͦͷଞ  %PDLFS
  20. ઌ૆୅ʑଓ͘ɺαʔό΁ͷσϓϩΠ 714Ϩϯλϧαʔό ͳͲ ·ͣ͸ɺσϓϩΠͷࣗಈԽΛ໨ࢦ͠·͠ΐ͏ɻ 1)1͕Α͚Ε͹ %FQMPZFS ͳͲ͕͋Γ·͢ɻӬଓσʔλͷѻ͍Λݟ௚͢ ϑΝʔετεςοϓͰ͢ɻ ·ͣ͸ࢦఆͨ͠ӬଓσʔλҎ֎͸͍ͭͰ΋ഁغͰ͖Δ؀ڥΛͭ͘Γɺ %PDLFS΍1BB4΁ͷҠߦ΋ݕ౼͠·͠ΐ͏ɻ

    
  21. 1BB4 &#("&8FC"QQPO-JOVY)FSPLVͳͲ جຊతʹ͸ͲͷαʔϏεͰ΋ઃఆϑΝΠϧͰઃఆΛߦ͍ɺ σϓϩΠ͸DMJͰҰൃɻ$*$% ͱͷ࿈ܞ΋༰қͰ͢ɻ શମతʹ-BSBWFM༻ͷυΩϡϝϯτ΋๛෋Ͱ͢ɻ &MBTUJD#FBOTUBML΁ͷ -BSBWFMΞϓϦέʔγϣϯͷσϓϩΠ IUUQTEPDTBXTBNB[PODPNKB@KQFMBTUJDCFBOTUBMLMBUFTUEHQIQMBSBWFMUVUPSJBMIUNM 1BB4ʹ৐͔ͬΔ͜ͱ͕େࣄͰ͢ɻ

    
  22. %PDLFSϚωʔδυ "NB[PO&$4&$4'BSHBUF 8FC"QQGPS$POUBJOFSTͳͲ &$4 &$Ͱ͸ΠϯελϯεͱίϯςφΛͦΕͧΕεέʔϧͤ͞Δඞཁ͕͋ ΔͨΊɺϙϦγʔ͕ͦΕͧΕඞཁͰ͢ɻ &$4͸ EPDLFSDPNQPTF ͷΑ͏ʹλεΫΛఆٛ͠ɺαʔϏεΛ࡞Γ·͢ɻ ޙ΄Ͳɺৄ͘͠આ໌͠·͢ɻ

    
  23. "84-BNCEB ࠷ۙ1)1ʹΦϑΟγϟϧͰରԠ͠·ͨ͠ɻ ࣮ߦํ๏ʹएׯٙ໰͸͋Δ΋ͷͷɺࢼ͍ͯ͠Δํ͕૿͖͑ͯ·ͨ͠ɻ ͞Βʹɺ%PDLFSͷΠϝʔδ͔Β-BNCEBΛ࡞੒͢Δίϯόʔλʔ΋ɻ IUUQTHJUIVCDPNBXTMBCTBXTMBNCEBDPOUBJOFSJNBHFDPOWFSUFS 

  24. ,VCFSOFUFT ؔ܎ &,4(,&",4 ,VCFSOFUFTͷϚωʔδυ؀ڥ΋֤ࣾଗͬͯ·͢ɻ 

  25. ΞδΣϯμ  -BSBWFM৬ਓʹཧ૝ͷσϓϩΠͱ͸  σϓϩΠΛ஌Δ  ୆͔ΒεέʔϧͰ͖ΔαʔϏε΁  -BSBWFM ΛΦʔτεέʔϧͤ͞ΔϙΠϯτ

     पลϙΠϯτ  ·ͱΊ 
  26.  ͜Ε͸ɺ൵͍͓͠࿩Ͱ͢ɾɾɾ

  27.  ̍୆͔ΒͷมભΛྫʹ ͋ΔΤϯδχΞ͕Ұਓ͚ͩͷελʔτΞοϓͰɺ -BSBWFMΛར༻ͯ͠αʔϏεΛ&$ͰϦϦʔεͨ͠ͱ͍͏γφϦΦɻ

  28.  VPC AWS Cloud Availability Zone Public subnet EC2 Apache

    PHP MySQL Elastic IP Address
  29.  ΞΫηε૿Ճ ·ͣ͸%#Λ෼཭ɻ3%4ར༻։࢝ɻ

  30.  VPC AWS Cloud Availability Zone Elastic IP Address Public

    subnet Private subnet EC2 Apache PHP RDS Aurora
  31.  ͪΐͬͱΞΫηε૿Ճ &$ΠϯελϯεͷεϖοΫΛ্͛Δɻ

  32.  VPC AWS Cloud Availability Zone Elastic IP Address Public

    subnet Private subnet EC2 Apache PHP RDS Aurora
  33.  ͞ΒʹΞΫηε૿Ճ νϡʔχϯάͱ͔ࢼ͠·͢ΑͶɻ ୆ͰੑೳΛग़͢ͷ͕೉͘͠ͳΓɺ&$ΠϯελϯεΛෳ਺୆ʹɻ ͜ͷλΠϛϯάͰϢʔβʔը૾ͳͲΛ4ʹٸ͍ͰҠߦɻ

  34.  VPC AWS Cloud Availability Zone Public subnet Private subnet

    RDS Aurora EC2 ELB Amazon S3
  35.  $*$%ʹҠߦ͍ͨ͠ ձࣾ͸ΤϯδχΞ͕ٸ଎ʹ૿͑ɺνʔϜ։ൃମ੍΁ɻ (JU)VCΛϕʔεʹ$*πʔϧΛಋೖɻ

  36.  VPC AWS Cloud Availability Zone Public subnet Private subnet

    RDS Aurora EC2 ELB Amazon S3
  37.  Πϯελϯε૿΍͢ͷਏ͍໰୊ ߏ੒؅ཧπʔϧͳͲͰؤுΔɻ ࣾ಺ʹΠϯϑϥ୲౰͕Ͱ͖ͯɺ։ൃͱ෼཭ɻ ଞʹ΋໰୊͸ࢁੵΈͷঢ়ଶɻ

  38.  "84ྉۚߴ͍໰୊ $&0ɺ7$͔Βଞࣾʹൺ΂ͯ"84ྉ͕ۚߴ͍ͱਧ͖ࠐ·ΕΔɻ ͜ͷن໛ͰΠϯϑϥඅ͕ສ௒͑͸͓͔͍͠ͱϓϨογϟʔɻ 7$͔Β͸ΞυόΠβʔਓࡐ঺հ͕ߦΘΕࣾ಺͸ΧΦεঢ়ଶʹɻ

  39.  αʔϏεෆ҆ఆ໰୊ ͳΜͱ͔ΠϯϑϥνʔϜͷྗΛआΓͯɺ ΦʔτεέʔϧʹରԠ͢Δ΋ෆ҆ఆɻ ༷ʑͳϚωʔδυαʔϏεಋೖΛݕ౼͢Δ΋ɺͳ͔ͳ͔౿Έ੾Εͣɻ

  40.  ಥવͷηΩϡϦςΟΠϯγσϯτ ͋Δ೔ɺ"84ʹݟ஌Β͵Πϯελϯε͕ൃݟ͞ΕΔɻ Ծ૝௨՟ͷϚΠχϯά͕ߦΘΕ͍ͯͨ໛༷ɻ

  41.  $50͕ಥવͷ1)1΍ΊΔએݴ ͦΕ͸͋Δ೔ͷ͜ͱͩͬͨɻͳΜ͔ฉ͍ͨ͜ͱ͋Δ࿩ɻ ΁ͷҠߦͱ'8ͷόʔδϣϯΞοϓΛݕ౼͚ͨ͠Ͳɺ ݟੵ΋ΒΕͨҠߦεέδϡʔϧ͸೥ɻ

  42.  σϓϩΠͷ໰୊͸ ݴޠ΍'8ͷ໰୊Ͱ͸͋Γ·ͤΜɻ

  43.  Ͳ͏͢Ε͹Α͔ͬͨͷ͔ Ͳ͏͢Ε͹εϜʔζʹαʔϏεΛεέʔϧͰ͖͔ͨɺ ߟ͑ͯݟ͍ͯͩ͘͞ɻ ҰྫͰ͕͢ɺ঺հ͠·͢ɻ

  44. VPC AWS Cloud ap-northeast- 1 a Public subnet ap-northeast- 1

    c ap-northeast- 1 d Private subnet AWS CodeCommit AWS CodeBuild AWS CodeDeploy AWS CodePipeline Amazon DynamoDB Amazon S3  Amazon SQS Amazon ECR Amazon SES ALB
  45. ૣظʹΦʔτεέʔϧରԠΛݟਾ͑Δ -BSBWFMʹ͸༏लͳΫϥ΢υରԠͷ࢓૊Έ͕४උ͞Ε͍ͯ·͢ɻ ͸͡Ί͔ΒɺεέʔϧͰ͖ΔΑ͏ʹӬଓσʔλͷѻ͍ʹ஫ҙ͠·͠ΐ͏ɻ 4ͳͲͷ֎෦ετϨʔδΛར༻͠ɺ/'4ʹཔΒͳ͍Ͱ͍͍γεςϜΛ࡞Γ ·͠ΐ͏ɻ ޙ΄Ͳɺ-BSBWFMͰͷϙΠϯτΛ͓఻͑͠·͢ɻ 

  46. $*$%ͷߏங "84ͰͷσϓϩΠͰ͸ "84$PEF1JQFMJOF Λ࢝Ίʹݕ౼͢΂͖Ͱ͢ɻ #MVF(SFFO%FQMPZNFOUͳͲɺෳࡶͳཁ݅ʹ΋ରԠ͍ͯ͠·͢ɻ ͦΕҎ֎Ͱ΋༷ʑͳ1JQFMJOFαʔϏε͕͋Γ·͢ɻ ·ͨɺͦΕҎ֎ͷ৔߹Ͱ΋ɺ։ൃ͸HJU QVTI·ͰͰɺͦͷઌ͸ۃྗࣗಈԽ ͢΂͖Ͱ͢ɻ (JU-BC΍+FOLJOTͳͲ΋ซ༻ՄೳͰ͢ɻ

    
  47. Ϋϥ΢υωΠςΟϒ΁ͷཧղ Ϋϥ΢υ΁ͷରԠΛҙࣝ͠ͳ͍··γεςϜΛߏஙͨ͜͠ͱͰɺ γεςϜ͕ϏδωεͷোนͱͳΔ͜ͱ΋͋Γ·͢ɻ ·ͩܦݧ͕ͳ͍ํ΋ɺҰ౓%PDLFS΍'BSHBUFͳͲΛମݧͯ͠Έ·͠ΐ͏ɻ 

  48. Πϯϑϥͷݟ௨͠Λ͚ͭΑ͏ νʔϜ΍Ϗδωεͷঢ়گΛݟ্ͨͰɺͲͷΑ͏ͳΠϯϑϥߏ੒ʹม͍͑ͯ ͔͘ͱ͍ͬͨϩʔυϚοϓΛඳ͘͜ͱ͸ඇৗʹॏཁͰ͢ɻ ͋Δ΂͖͕࢟ͳ͍ͱɺݱঢ়ʹ߹ΘͤͨγεςϜ͕ڊେԽ͍͖ͯ͠·͢ɻ Ϋϥ΢υͷਐԽ͸ૣ͍ͷͰɺ͋Δ΂͖࢟͸ॊೈʹมԽͤ͞Δ͜ͱΛ͓͢͢ Ί͠·͢ɻ Πϯϑϥ͸ɺΠϯϑϥΤϯδχΞ͚͕ͩݟΕ͹͍͍Θ͚Ͱ͸͋Γ·ͤΜɻ νʔϜͷϝϯόʔͰݕ౼͢΂͖Ͱ͢ɻ 

  49. ࣮ࡍͷ͜ͷߏ੒ͰͷมԽ • &$Ͱؤு͍ͬͯͨ࣌୅ʹൺ΂ɺεέʔϧ͕଎͘ɻ ෼ҎԼͰ਺े୆ͷεέʔϧ͕Մೳ • "84ಛ༗ͷӡ༻Πϕϯτ͕͋ͬͯ΋ Ϛϧν";ߏ੒ͰˋҎ্ͷ4-" • ྉ͕ۚ҆͘ɻ &$࣌୅ΑΓ΋Φʔτεέʔϧ͕҆ఆ͖ͯ͠Ίࡉ΍͔ͳઃఆ͕Մೳʹɻ

    
  50. • όʔδϣϯΞοϓͳͲߋ৽΍௥Ճ͕େ୾ʹߦ͑ΔΑ͏ʹɻ • ϚΠΫϩαʔϏεԽɻ Ұ෦Λ੾Γ཭ͯ͠ผͷ&$4αʔϏεʹ੾Γ཭ͤΔΑ͏ʹɻ 

  51. Φʔτεέʔϧʹ͍ͭͯ Ұ೔ͷมಈͷେ͖͍αʔϏεͰɺ -*/&഑৴ͳͲٸܹʹΞΫηε͕૿͑Δ৔߹ʹ΋ରԠɻ ΄΅ɺ$16ͷ࢖༻཰͕ʙˋͷؒʹऩ·ΔΑ͏ʹɻ ϐʔΫ࣌λεΫ਺ɺϛχϚϜλεΫ਺ఔ౓ɻ ಛʹ௿͍ͷ͸࠷௿୆਺Λগ͠ଟΊʹ͍ͯ͠Δͱ͍͏ࣄ৘͋Γɻ 

  52. ΞδΣϯμ  -BSBWFM৬ਓʹཧ૝ͷσϓϩΠͱ͸  σϓϩΠΛ஌Δ  ୆͔ΒεέʔϧͰ͖ΔαʔϏε΁  -BSBWFM ΛΦʔτεέʔϧͤ͞ΔϙΠϯτ

     पลϙΠϯτ  ·ͱΊ 
  53. -BSBWFM ΛΦʔτεέʔϧͤ͞ΔϙΠϯτ ୆ͷαʔόͰՔಇ͢ΔલఏͰͭ͘Βͳ͍ɻ Ӭଓσʔλ͸͢΂ͯ੾Γ཭ͤΔঢ়ଶΛ࡞Δɻ • $POGJHVSBUJPO • 'JMF4UPSBHF • 4FTTJPO

    • %BUBCBTF • 2VFVFT • 5BTL4DIFEVMJOH ͢΂ͯɺ-BSBWFMͷΦϑγϟϧυΩϡϝϯτʹώϯτ͕͋Γ·͢ɻ 
  54. $POGJHVSBUJPO IUUQTMBSBWFMDPNEPDTDPOGJHVSBUJPO ઃఆɺ෼཭Ͱ͖ͯ·͔͢ɻ DPOGJHҎԼʹ࣮ࡍͷύϥϝʔλʔΛೖΕͯͳ͍Α͏ʹɻ FOW Λ࢖͏͔ɺ%PDLFSͰ͸؀ڥม਺Λ࢖͍·͠ΐ͏ɻ ઃఆͷ෼཭͸εέʔϧରԠͷୈҰาͰ͢ɻ -BSBWFMͷൣᙝҎ֎΋ޙ΄Ͳɻ 

  55. 'JMF4UPSBHF IUUQTMBSBWFMDPNEPDTGJMFTZTUFN -BSBWFMͷ4UPSFHFΛ࢖͑͹ɺ ΞοϓϩʔυઌΛ༰қʹมߋ͕Մೳɻ αʔό಺ͷετϨʔδΑΓ΋4ͳͲͷ΄͏͕ ઃܭ্ͷ৴པੑɺ଱ٱੑ͕ߴ͍Ͱ͢ɻ ετϨʔδͷઃఆ͚ͩ͸ؾΛ͚ͭ·͠ΐ͏ɻ 

  56. 

  57. 4FTTJPO IUUQTMBSBWFMDPNEPDTTFTTJPO ࣮ࡍʹεέʔϧ͢Δ؀ڥ΁ͷҠߦλΠϛϯάͰͷมߋͰ΋0,ɻ %#ΑΓ΋ɺ଎͍3FEJT΍NFNDBDIFEΛར༻͠·͠ΐ͏ɻ େखΫϥ΢υͰ͋Ε͹ɺϚωʔδυαʔϏεͷར༻͕͓͢͢Ίɻ ΦʔτεέʔϧͰ؇΍͔ͳ૿ݮ͸͍͍ͩͨ໘౗Λݟͯ͘Ε·͢ɻ "84ͳΒ%ZOBNP%#ͰΦϯσϚϯυΩϟύγςΟʔϞʔυΛ ࢖͑͹ɺΦʔτεέʔϧ΋ؾʹ͠ͳ͍͍ͯ͘ɻ 

  58. 57

  59. %BUBCBTF IUUQTMBSBWFMDPNEPDTEBUBCBTF ͸͡Ί͔ΒɺSFBEͱXSJUFͷઃఆΛ࢖͍·͠ΐ͏ɻ ಉҰͰ΋෼͚ͨ΄͏͕޾ͤʹͳΕ·͢ɻ Ϋϥ΢υͰ.VMUJ";ʹ͢ΔͳΒɺ͸͡Ί͔ΒSFBEͱXSJUFΛ෼ ͚ΔͱҰͭԼͷεϖοΫͰSFBEෳ਺ͷ΄͏͕҆৺Ͱ͖·͢ɻ "84ͳΒগ͠ߴ͍͚Ͳɺ"VSPSBγϦʔζΛݕ౼ɻ Φʔτεέʔϧઃఆ͢Ε͹ɺ͍͍͍͍ͩͨײ͡ʹͳΓ·͢ɻ 

  60. 2

  61. 2VFVFT IUUQTMBSBWFMDPNEPDTRVFVFT ࢖͍ͬͯͳ͍ํ΋͍Δͱࢥ͍·͕͢ɺ ࣮֬ʹ࣮ߦ͍ͨ͠δϣϒʹ͓͢͢ΊͰ͢ɻ NTͰ΋ૣ͘ϢʔβʔʹϨεϙϯεΛฦͨ͢Ίʹ ϝʔϧૹ৴͔Β࢖͍࢝Ίͯ΋͍͍ͱࢥ͍·͢ɻ 2VFVFXPSLFSͷεέʔϧ͸ผͷ࿩ͱͯ͠ɺ جຊతʹεέʔϧΛҙࣝ͢Δඞཁ͸͋Γ·ͤΜɻ 

  62. 5BTL4DIFEVMJOH IUUQTMBSBWFMDPNEPDTTDIFEVMJOH ࢓૊Έ͸DSPOΛͻͨ͢Β࣮ߦ͢Δ͚ͩɻ Ͱ΋ɺλεΫͷࣦഊɺ؅ཧͰ͖ͯ·͔͢ʁ σʔϞϯͰ͸ͳ͍ͷͰɺҰ෦૬ੑ͕ѱ͍σϓϩΠઌ͕͋Γ·͢ɻ σʔϞϯԽ͢Δ͔ɺ2VFVFͰ࣮ߦ͢ΔΑ͏ʹ޻෉ͨ͠΄͏৔߹ ΋ɻ l3VOOJOH5BTLT0O0OF4FSWFSz͕ඞཁͳλεΫʹ஫ҙɻ 

  63. ΞδΣϯμ  -BSBWFM৬ਓʹཧ૝ͷσϓϩΠͱ͸  σϓϩΠΛ஌Δ  ୆͔ΒεέʔϧͰ͖ΔαʔϏε΁  -BSBWFM ΛΦʔτεέʔϧͤ͞ΔϙΠϯτ

     पลϙΠϯτ  ·ͱΊ 
  64.  %PDLFS

  65. %PDLFS • %PDLFSΛຊ൪؀ڥʹಋೖ͢ΔͷͰ͋Ε͹ɺ$*$%͸ඞਢɻ ͳ͍ͱ%PDLFSͷӡ༻͸େมɻ • ։ൃɾຊ൪྆ํͰ࢖͑ΔϕʔείϯςφΛ४උɻ -BSBWFMҎ֎͸ͦͷ··࢖͑Δίϯςφ͕͍͍ͱࢥ͍·͢ɻ • ຊ൪Ͱ͸ɺඞͣιʔε͸ϏϧυͰίϯςφ಺ʹɻ 7PMVNFϚ΢ϯτͰຊ൪Λ࡞ͬͯ͸͍͚·ͤΜɻ

    
  66. %PDLFSϩʔΧϧͰͷ։ൃ • ϩʔΧϧͰͷ։ൃͰ͸ɺલड़ͷϕʔείϯςφΛఆٛͨ͠EPDLFS DPNQPTF͕͓͢͢ΊͰ͢ɻ • EPLDFSDPNQPTFVQͰαʔϏεΛ·ͱΊͯىಈͯ͠ɺ EPDLFSDPNQPTFFYFD999ͰίϯςφʹೖΕ·͢ɻ 

  67. (PPHMFɺίϯςφ࡞੒ͷͭͷϕετϓϥΫςΟεΛެ։ IUUQTXXXBUNBSLJUDPKQBJUBSUJDMFTOFXTIUNM  ίϯςφ͝ͱʹͭͷΞϓϦέʔγϣϯΛύοέʔδϯά͢Δ  1*%ͱγάφϧॲཧɺκϯϏϓϩηεΛద੾ʹѻ͏  %PDLFSͷϏϧυ࣌ͷΩϟογϡར༻Λ࠷దԽ͢Δ  ෆཁͳπʔϧΛ࡟আ͢Δ

     ΠϝʔδͷαΠζΛͰ͖Δ͚ͩখ͘͢͞Δ  Πϝʔδ΁ద੾ʹλάΛ෇͚Δ  ެ։ΠϝʔδΛ࢖͏͔Ͳ͏͔Λ৻ॏʹݕ౼͢Δ 
  68. #VJMEͱઃఆͷ෼཭ ຊ൪༻ίϯςφɺεςʔδϯά༻ɺ։ൃ༻ίϯςφͱίϯςφΛෳ਺४උ ͍ͯ͠·ͤΜ͔ʁ #VJME࣌ʹ QIQJOJ ΍ OHJOYDPOG Λͦͷ··ಉ͍ࠝͯ͠·ͤΜ͔ɻ &/53:10*/5Λ׆༻͢Δͱɺ&/53:10*/5Ͱ؀ڥม਺Λड͚औΓ DPOGJHΛม͑Δίϯςφ͕࡞੒Ͱ͖·͢ɻ

    ίϯςφͷ࠶Ϗϧυͳ͠ʹઃఆ͕มߋͰ͖·͢ɻ νϡʔχϯάͷͨΊʹίϯςφΛ࠶Ϗϧυ͢Δ͜ͱ͸΍Ί·͠ΐ͏ɻ 
  69.  Α͘ݟ͔͚Δؾʹͳͬͨ఺Λ͍͔ͭ͘

  70. "84ͷηΩϡϦςΟ • *".Λ࢖͍·͠ΐ͏ɻ &$΍'BSHBUF͸ඞͣ3PMFΛ࡞੒͠·͠ΐ͏ɻ ຊ൪؀ڥͰ͸"84ͷ"1*ΩʔΛηοτͨ͠Βෛ͚ɻ ඞཁ࠷௿ݶͷݖݶΛ෇༩͠·͠ΐ͏ɻશݖݶ෇༩ઈରμϝɻ • 'BSHBUFͰ͸ɺ"844ZTUFNT.BOBHFSύϥϝʔλετΞ ͕؆୯ʹ࢖͑ΔͷͰɺ %#઀ଓͳͲͷେࣄͳΩʔ͸͔ͦ͜ΒಡΈࠐΈɻ

    
  71. • ηΩϡϦςΟʔάϧʔϓΛઃఆ͠·͠ΐ͏ɻ ͓͢͢Ί͸4(ʹରͯ͠4(͔ΒڐՄΛ͢Δ͜ͱͰ͢ɻ FMCҎ֎Ͱ͸جຊతʹɺ*1Λϧʔϧʹ͔͘ඞཁ͸ͳ͍͸ͣͰ͢ɻ 

  72. • ετϨʔδͷ҉߸ԽͳͲɺ"84͸͋ͱ͔ΒมߋͰ͖ͳ͍᠘͕ ଟ͍ͷͰ஫ҙɻ • "84͸ϙΠϯτ͸ଟ͍͚Ͳɺઃఆ͕Ͱ͖Ε͹͘͢͝ηΩϡΞɻ ઃఆͰ͖ͳ͍ͱɾɾɾ 

  73. %PDLFSͷηΩϡϦςΟ • %PDLFSͷίϯςφ͸Ϗϧυͨ͠ͱ͖ͷ··ͱ͍͏͜ͱΛ๨Εͣʹɻ ੬ऑੑ΋ͦͷ··Ͱ͢ɻ • ϕʔείϯςφ͸ఆظతʹϏϧυ͠௚͢ɻ ྫ͑͹ɺ QIQGQNBMQJOFΛϕʔεʹࣗࣾͷϕʔεΠϝʔδΛ࡞͍ͬͯΕ͹ɺ ࠷ऴϏϧυҎ߱ͷมԽ͸࠶Ϗϧυ͠ͳ͍ͱ൓ө͞Εͳ͍ɻ •

    ੬ऑੑεΩϟφΛ͔͚Α͏ɻ ($3Ͱ͸͢ͰʹରԠࡁΈɻ"84&$3Ͱ΋΋͏͙͢ରԠ༧ఆɻ • %PDLFSͷϕʔείϯςφ͸৴པͰ͖ΔίϯςφΛϕʔεʹɻ ໺ྑίϯςφΛຊ൪Ͱ࢖͏ͷ͸΍ΊΑ͏ɻ 
  74. Ϋϥ΢υ΁ͷରԠ • 5JNF[POF ͷઃఆΛ๨Εͣʹɻ%PDLFSͰ͸ίϯςφ΁ͷରԠ ΋ඞਢɻ • ϝʔϧ ඞͣ֎෦ͷ4.51αʔόΛ४උ͠·͠ΐ͏ɻ 4FOEHSJE "844&4(4VJUFͷ4.51΋͔ͭ͑·͢ɻ

    • &-#Λར༻͢Δࡍ͸ඞͣ 9'PSXBSEFE'PS ʹରԠ *1͸ඞͣऔΕΔΑ͏ʹ͠·͠ΐ͏ɻϩάͱɺ1)1྆ํɻ 
  75. ϩά • ඞͣͱΓ·͠ΐ͏ɻͳʹ͔͋ΔͱɺٻΊΒΕ·͢ɻ ඞཁͩͱݴΘΕͨͱ͖ʹ͸͢Ͱʹ࣌஗͠Ͱ͢ɻ • ϩάͷอ؅ϙϦγʔΛܾΊ·͠ΐ͏ɻ ϩά΋αʔόʹอ؅͠ͳ͍࣌୅Ͱ͢ɻ • ؆୯ͳํ๏͸ "

    $MPVEXBUDI -PHT ( 4UBDLESJWFS -PHHJOH ͳͲɻ 
  76. • -BSBWFMͷMPH΋ඞͣग़ྗ͠·͠ΐ͏ɻ NPOPMPHͰɺΤϥʔϩάʹग़ྗ͠·͠ΐ͏ɻ %PDLFSͳΒΤϥʔϩάग़ྗΛม͑·͠ΐ͏ɻ • 'BSHBUF ͸ 'MVFOUE ʹ΋΋͏͙͢ରԠ༧ఆɻ IUUQTTQFBLFSEFDLDPNUPSJDMTDPOUBJOFSTBUBXTSFJOWFOU

     
  77. αʔό؂ࢹ • %BUBEPHͳΒ 'BSHBUF ΋؂ࢹͰ͖·͢ɻ 5BTL͝ͱʹ௥Ճ͠·͢ɻ • ؂ࢹͳ͠ʹ͸҆ఆతͳӡ༻͸Ͱ͖·ͤΜɻ • $MPVE8BUDIͳͲɺج൫ଆͷϝτϦΫε΋؂ࢹͰ͖Δମ੍͕ϕετɻ

    
  78. ྫ֎ϋϯυϥ օ͞Μɺ4FOUSZ΍ #VHTOBH ͸࢖ͬͯ·͔͢ʁ ඇৗʹ༏लͰ͢ɻ͍ͭԿ͕ى͔͕ͬͨ֬͜ೝͰ͖·͢ɻ ΋͏ɺϢʔβʔʹΤϥʔใࠂΛظ଴͢Δͷ͸΍Ί·͠ΐ͏ɻ ࣮͸-BSBWFMͷυΩϡϝϯτͰ΋঺հ͞Εͯ·͢ɻ IUUQTMBSBWFMDPNEPDTFSSPST 

  79. 4FOUSZ  Τϥʔͷछྨ ·ͱΊͯ͘Εͯ·͢ ൃੜͨ͠ස౓

  80. 

  81. ΞδΣϯμ  -BSBWFM৬ਓʹཧ૝ͷσϓϩΠͱ͸  σϓϩΠΛ஌Δ  ୆͔ΒεέʔϧͰ͖ΔαʔϏε΁  -BSBWFM ΛΦʔτεέʔϧͤ͞ΔϙΠϯτ

     पลϙΠϯτ  ·ͱΊ 
  82. ·ͱΊ ૣ͍͏͔ͪΒεέʔϧͰ͖Δ؀ڥʹ͠·͠ΐ͏ɻ νʔϜͷεΩϧΛݟਾ͑ɺσϓϩΠΛߟ͑·͠ΐ͏ɻ σϓϩΠઌ͝ͱͷࡉ͔͍ϙΠϯτΛԡ͑͞Δɻ ݸਓతʹ͸ɺͥͻɺ-BSBWFM৬ਓͱͱ΋ʹ%PDLFS৬ਓʹ ͳͬͯ΄͍͠ͱࢥ͍ͬͯ·͢ɻ 

  83. ͓࿳ͼ ,VCFSOFUFTʹ͍ͭͯ͸࣌ؒͷ౎߹্ɺল͔͍͖ͤͯͨͩ·ͨ͠ɻ ָ͓͠Έʹ͞Ε͍ͯͨํɺਃ͠༁͋Γ·ͤΜɻ ͔͠͠ɺ͜͜·Ͱཧղ͍ͯ͠ΔํͳΒಋೖ͸ࣗྗͰͰ͖Δͱࢥ͍·͢ɻ 1BB4΍'BSHBUFʹଘࡏ͢ΔɺαʔϏεݻ༗ͷਏΈ͕ܰݮ͢Δ͜ͱ͕Մೳͳಓے͕͋Γ·͢ɻ ྫ͑͹ɺ$SPO+PC΍4FDSFUT͕σϓϩΠઌʹؔΘΒͣ࢖͑·͢ɻ /'4΋ରԠ͍ͯ͠·͢ɻ ,VCFSOFUFTͷϚωʔδυ؀ڥ͸ࠓ೥Ҏ߱Ұ૚ɺڧԽ͞Ε͍ͯ͘ͱࢥ͍·͢ɻ ,OBUJWF ΍

    'BSHBUF ʹظ଴͠·͠ΐ͏ɻ 
  84. Ξϯέʔτ σϓϩΠઌ ͜Ε͔ΒͲ͏͍ͨ͠ͱࢥ͍·͔ͨ͠ʁ  "84 &$&#&$4 &$ &$4 'BSHBUF &,4-BNCEB

     ($1 ($&("&(,&  "[VSF 7.",48FC"QQPO-JOVY8FC"QQGPS$POUBJOFST  )FSPLV  ͦͷଞΫϥ΢υ 714  ΦϯϓϨ  Ϩϯλϧαʔό  ͦͷଞ 
  85.  ίʔυʹूத͢Δ؀ڥͮ͘Γʹ গ͠Ͱ΋͓໾ʹཱ͍ͯͯΕ͹޾͍Ͱ͢

  86. ͋Γ͕ͱ͏͍͟͝·ͨ͠  ࣭͝໰͸͜ͷޙͷ "TL5IF4QFBLFS΋͘͠͸ 5XJUUFS ΁౤ߘ͢ΔεϥΠυ63-΁ͷϦϓͰ͓ئ͍͠·͢ɻ ͝ҙݟ΍͝ײ૝ͳͲ͓଴͍ͪͯ͠·͢ɻ ·ͨɺօ͞Μͷ͜Ε͔ΒͷσϓϩΠΛڭ͍͑ͯͩ͘͞ʂ