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

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

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

Tsuyoshi Tsurushima

February 16, 2019
Tweet

More Decks by Tsuyoshi Tsurushima

Other Decks in Programming

Transcript

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

    ٻਓ͢ΒͰ͖ͳ͍খ͞ͳձࣾͰ͕͢օ͞Μ஥ྑ͍ͯͩ͘͘͠͞ʂ ࠓ·ͰडୗͰখചɾྲྀ௨ۀ޲͚ͷγεςϜΛ࡞ͬͯ·ͨ͠ɻ Πϯϑϥߏஙɺอकӡ༻΋୲౰͍ͯ͠·ͨ͠ɻ UTVSVTIJNB U@UTVSV UUTVSV ˞೥લ  5TVZPTIJ5TVSVTIJNB
  2. Ξϯέʔτ σϓϩΠઌ  "84 &$&#&$4 &$ &$4 'BSHBUF &,4-BNCEB 

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

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

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

    ($1 ($&("&(,&  "[VSF 7.",4 8FC"QQPO-JOVY8FC"QQGPS$POUBJOFST  )FSPLV  ͦͷଞΫϥ΢υ 714  ΦϯϓϨ  Ϩϯλϧαʔό  ͦͷଞ  %PDLFS
  6.  VPC AWS Cloud Availability Zone Elastic IP Address Public

    subnet Private subnet EC2 Apache PHP RDS Aurora
  7.  VPC AWS Cloud Availability Zone Elastic IP Address Public

    subnet Private subnet EC2 Apache PHP RDS Aurora
  8. 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
  9. 

  10. 57

  11. 2

  12. 

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

     ($1 ($&("&(,&  "[VSF 7.",48FC"QQPO-JOVY8FC"QQGPS$POUBJOFST  )FSPLV  ͦͷଞΫϥ΢υ 714  ΦϯϓϨ  Ϩϯλϧαʔό  ͦͷଞ