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

日本のママをコンテナで支える

tatsushim
January 25, 2018

 日本のママをコンテナで支える

X-Tech JAWS 【第2回】~9割のX-Techと1割の優しさで切り拓く未来~ の登壇資料
https://xtechjaws.doorkeeper.jp/events/67869

tatsushim

January 25, 2018
Tweet

More Decks by tatsushim

Other Decks in Technology

Transcript

  1. $POOFIJUP*OD$50!UBUTVTIJN
    ϚϚͷҰาΛࢧ͑Δ
    ೔ຊͷϚϚΛίϯςφͰࢧ͑Δ

    View full-size slide


  2. w ίωώτגࣜձࣾ
    w ڞಉ૑ۀऀऔక໾$50
    w ઐ໳͸ػցֶश
    w 4BOTBOגࣜձࣾʹ໊ͯࢗΞϓϦ

    ʮ&JHIUʯͷ্ཱͪ͛
    w ೥,%%*άϧʔϓʹ.ˍ"͞ΕάϧʔϓೖΓ
    ౡాୡ࿕ !UBUTVTIJN

    View full-size slide

  3. ਓͷੜ׆ʹͳͯ͘͸ͳΒͳ͍΋ͷΛͭ͘Δ

    View full-size slide


  4. ΠϯελάϥϜͰϚϚΑΓ΋ϚϚϦͷํ͕λά෇͚਺͕ଟ͍

    View full-size slide


  5. ϚϚϦͷ੒௕ΛͰࢧ͖͑ͯ·ͨ͠

    View full-size slide

  6. Amazon S3
    ElastiCache
    CloudFront
    Amazon SES
    Amazon RDS
    Amazon
    CloudWatch
    Amazon
    SNS
    Amazon 

    Route 53

    ECS
    ALB
    GitHub
    Docker
    Docker Build
    Notification
    push
    ECS Scheduled Task
    ACM
    WAF
    Services(API, Admin, Etc…)
    ECR
    TravisCI
    Slack
    Sentry
    pingdom
    papertrail
    BigQuery
    fluentd

    View full-size slide


  7. ίϯςφʹḷΓ͍ͭͨಓͷΓͱ

    ࠓίϯςφͰͲͷΑ͏ʹ೔ຊͷϚϚΛ

    ࢧ͍͑ͯΔ͔ʹ͍͓ͭͯ࿩͠·͢

    View full-size slide

  8. w ϚϚϦͷΠϯϑϥͷྺ࢙
    w &$ظ
    w ࣗલ"VUP4DBMJOHظ
    w ظ
    w &$4ظ
    w ίϯςφಋೖͷಓͷΓ
    w ໰୊ͷ੔ཧͱղܾͷͨΊͷπʔϧબఆ
    w ಋೖϑΣʔζ
    w &$4Խͯ͠ྑ͔ͬͨ͜ͱ
    w ͜Ε͔Β
    w 'BSHFUF΁ͷظ଴
    w ΠϯϑϥΤϯδχΞͷ࢓ࣄΛͳ͘͢

    View full-size slide

  9. ϚϚϦͷΠϯϑϥͷྺ࢙

    View full-size slide


  10. &$ظ ˠͷαʔϏε্ཱͪ͛

    View full-size slide

  11. EC2 instance
    web app
    server

    View full-size slide

  12. EC2 instance
    web app
    server

    ·͔͞ͷ&$୆ʘ ?P?
    ʗ

    View full-size slide


  13. • ࠷খߏ੒
    • MySQL΋Apache΋શ෦ೖΓ
    • ΋ͪΖΜσϓϩΠπʔϧͳΜ͔ͳ͍ͷͰ

    ʮσϓϩΠ͠·͢ʂ(ʆŋωŋ´)ʎʯ

    ͸sshͰαʔόʔʹೖͬͯ੠Λֻ͚߹͍

    git pull origin master
    ࠷ॳ͸EC2 1୆ͷߏ੒͔Βελʔτ

    View full-size slide


  14. EC2 instance
    web app
    server
    ϚϚϦ(WebϝσΟΞ)ͷΠϯϑϥ

    View full-size slide


  15. EC2 instance
    web app
    server
    ϚϚϦ(ΞϓϦ)ͷΠϯϑϥ

    View full-size slide


  16. ౰࣌ͷϚϚϦͷΠϯϑϥʢ·ͱΊʣ
    EC2 instance
    web app
    server
    EC2 instance
    web app
    server

    View full-size slide


  17. • 2िؒͰΞϓϦΛͭͬͯ͘ϦϦʔε
    • ͱʹ͔͘εϐʔυʂ
    • ͦΕͧΕMySQL΋Apache΋શ෦ೖΓ
    • ΋ͪΖΜσϓϩΠπʔϧͳΜ͔ͳ͍ͷͰ(ry
    • खಈʹΑΔஆ͔Έͷ͋ΔσϓϩΠϑϩʔ
    ֤αʔϏε1୆ͣͭ

    View full-size slide


  18. • ͜ͷͱ͖͸·ͩαʔϏεͷԾઆݕূத
    • ͦ΋ͦ΋αʔϏε͕৳ͼͳ͍ͱ

    ҆ఆͨ͠Πϯϑϥ͸ඞཁͳ͍
    • (*ᵕᴗᵕ).ŇoO ( Ͱ΋ࠓ஌͕ࣝ͋Δঢ়ଶͰͭ͘Δ
    ͳΒ࠷ॳ͔ΒALBೖΕͨߏ੒Ͱ΍Γ·͢ʣ
    αʔϏεͷػೳ௥Ճ͕༏ઌʂʂ

    View full-size slide


  19. • ςϨϏऔࡐʢͱ͘μωʂʣ๒ʹ΋εέʔϧ
    ͰରԠ
    • ਺ඵ͘Β͍ͷ࿐ग़ͰҰॠͰ਺ઍμ΢ϯϩʔυ
    ͞Εͯ௒য͕ͬͨɺແࣄࡹ͚ͨ
    • ֶੜىۀͰ͓ۚͳ͔ͬͨͷͰैྔ՝ۚͰ

    ॿ͔ͬͨ
    AWSͷԸܙΛॳظ͔Βड͚͍ͯͨ

    View full-size slide


  20. • ͓΋͍͖ͬΓ୯Ұো֐఺
    • ͍ͬͯ͏͔ʮ఺ʯ
    • DBͷӡ༻େม
    • όοΫΞοϓεΫϦϓτ΋ࣗલͰߏங
    • εέʔϧΞοϓ࣌ʹαʔϏεΛࢭΊΔ

    ඞཁ͕͋Δ౳ɺͦͷଞͨ͘͞Μʘ(^o^)ʗ
    EC2 1୆ߏ੒ͷͭΒΈ

    View full-size slide


  21. ࣗલ"VUP4DBMJOHظ

    View full-size slide

  22. EC2 instance
    web app
    server
    EC2 instance
    web app
    server

    EC2ظ

    View full-size slide

  23. EC2 instance
    web app
    server
    EC2 instance
    web app
    server
    Amazon RDS
    Availability Zone #1

    RDSಋೖ

    View full-size slide

  24. Elastic Load
    Balancing
    Amazon RDS
    Amazon EC2
    Amazon EC2
    Availability Zone #1
    Amazon EC2
    Amazon EC2
    Availability Zone #1
    Elastic Load
    Balancing
    Amazon EC2
    Amazon EC2
    Availability Zone #1
    Amazon EC2
    Amazon EC2
    Availability Zone #1
    Amazon S3
    ElastiCache
    CloudFront
    Amazon SES

    ࣗલAutoScalingߏங

    View full-size slide

  25. Elastic Load
    Balancing Amazon EC2
    Elastic Load
    Balancing Amazon EC2
    Amazon S3
    ElastiCache
    CloudFront
    Amazon SES
    Amazon RDS
    Amazon
    CloudWatch
    Amazon
    SNS
    Amazon 

    Route 53
    GitHub
    Sentry
    BigQuery
    fluentd
    fluentd
    pingdom
    papertrail

    ֤छϚωʔδυαʔϏεΛಋೖ

    View full-size slide


  26. • ͜ͷλΠϛϯάͰEC2಺ʹ͋ͬͨDBΛRDS
    ΁Ҡߦ
    • ֤छϚωʔδυαʔϏεಋೖ
    • Ճ͑ͯAutoScalingΛߏஙͨ͜͠ͱͰ

    αʔϏεͷ֦େʹ଱͑ΕΔΑ͏ʹͳͬͨ
    ࣗલͰAutoScalingΛߏங

    View full-size slide


  27. • AMIͱLaunch Configurationͷ؅ཧ͕͠ΜͲ͍
    • AMIʹؔͯ͠͸Chef౳ͷProvisioning ToolΛ࢖ͬͯ
    ΋ɺ݁ہͦΕͷ؅ཧ͕େมͰॻ͍ͯ΋ଐਓԽ͢Δ
    • ݁Ռͱͯ͠ΠϯϑϥΤϯδχΞ͕

    ϛυϧ΢ΣΞߋ৽ͷϘτϧωοΫʹͳΔ
    • ಉ͡ίϚϯυ(yumͳͲ)ͰೖΔιϑτͷόʔδϣϯ
    ͕มΘͬͯͨΓɺͰ͖ͳ͘ͳͬͯͨΓ
    ࣗલAutoScalingͷͭΒΈ

    View full-size slide


  28. ظ

    &MBTUJD#FBOTUBML

    View full-size slide

  29. Elastic Load
    Balancing
    Amazon EC2
    Amazon S3
    ElastiCache
    CloudFront
    Amazon SES
    Amazon RDS
    Amazon
    CloudWatch
    Amazon
    SNS
    Amazon 

    Route 53
    GitHub
    Sentry
    BigQuery
    fluentd
    fluentd
    pingdom
    papertrail

    Elastic Beanstalk

    View full-size slide

  30. Elastic Load
    Balancing
    Amazon EC2
    Amazon S3
    ElastiCache
    CloudFront
    Amazon SES
    Amazon RDS
    Amazon
    CloudWatch
    Amazon
    SNS
    Amazon 

    Route 53
    GitHub
    Sentry
    BigQuery
    fluentd
    fluentd
    pingdom
    papertrail

    Elastic Beanstalk
    /FX

    View full-size slide


  31. • AMIͱAutoScale Configͷ؅ཧ͔Β։์
    • ebίϚϯυʹΑͬͯdeploy toolͳͲ͕Ұ௨Γ

    ἧ͍ͬͯΔ
    • 1౓ߏங͢Ε͹ΞϓϦέʔγϣϯʹඞཁͳཁ
    ૉΛαΫͬͱͭͬͯ͘͘ΕΔ͠ɺͦͷηοτ
    ΛؙͬͱίϐʔͰ͖Δ
    Elastic Beanstalk΁Ҡߦ

    View full-size slide


  32. • EBͷ஌͕ࣝඞཁ
    • EBಠಛͷ֓೦
    • ApplicationͱEnvironmentͷؔ܎
    • deploy࣌ͷڍಈ
    • .ebextensionsͷॻ͖ํ
    Elastic BeanstalkͷͭΒΈ

    View full-size slide


  33. • ϩʔΧϧ؀ڥͰͷEB؀ڥ࠶ݱ͕೉͍͠
    • ্ཱ͕ͪΔΠϯελϯε͸EB༻ʹΧελϚ
    Πζ͞ΕͨAmazon Linux
    • ैͬͯ͜ΕΒΛݕূ͢ΔͨΊʹຖ౓deploy͠
    ͳ͍ͱ͍͚ͳ͍
    • ݁Ռɺݕূ͕ΧδϡΞϧʹͰ͖ͳ͍ͷͰ݁ہ
    EBʹ͍ͭͯ΋ଐਓԽ͕ͪ͠
    Elastic BeanstalkͷͭΒΈ

    View full-size slide


  34. • ϛυϧ΢ΣΞͷར༻͕஍ຯʹ੍ݶ͞ΕΔ
    • ౰࣌͸php7.1࢖͍͔͕ͨͬͨ7.0·Ͱ͠
    ͔ఏڙ͞Ε͍ͯͳ͔ͬͨ
    • PHP × nginx΋ͳ͍
    • ʢ´-`ʣ.ŇoOʢϚωʔδυαʔϏεͳͷͰ
    ͠ΐ͏͕ͳ͍෦෼Ͱ΋͋Δʣ
    Elastic BeanstalkͷͭΒΈ

    View full-size slide


  35. Elastic BeanstalkͷPHPαϙʔτ
    SFGIUUQTEPDTBXTBNB[PODPNKB@KQFMBTUJDCFBOTUBMLMBUFTUEHDPODFQUTQMBUGPSNTIUNMDPODFQUTQMBUGPSNT1)1

    View full-size slide


  36. ࡞੒͞ΕΔϦιʔε܈ͷ໊લ͕ͻͲ͍ͷͰϚ
    ωδϝϯτίϯιʔϧ͕ԚΕΔ
    Elastic BeanstalkͷͭΒΈ

    View full-size slide


  37. • ͭͬͨ͘VM͕ಥવյΕΔ
    • VM͸࡞Γ௚͕͠ॏ͍
    • ෳ਺αʔϏε্ཱͪ͛ΔͱCPUΛѹഭͯ͠
    ϩʔΧϧ։ൃ؀ڥ͕ॏ͍
    • ຊ൪ͱඍົʹ؀ڥࠩҟ͕ൃੜ
    ϩʔΧϧ։ൃ؀ڥ(Vagrant)ͷͭΒΈ

    View full-size slide


  38. • ίϯςφͳΒ؀ڥͷͭ͘Γ௚͠΋ϥΫ
    • ෳ਺αʔϏε্ཱͪ͛ͯ΋VMͱൺ΂ͯCPU
    Λѹഭ͠ͳ͍
    • ϩʔΧϧͷ؀ڥΛͦͷ··ຊ൪ʹ͍͚࣋ͬͯ
    ΔͷͰ؀ڥࠩҟ͕ͳ͍
    DockerͷಋೖͰͭΒΈΛղফ

    View full-size slide

  39. Amazon S3
    ElastiCache
    CloudFront
    Amazon SES
    Amazon RDS
    Amazon
    CloudWatch
    Amazon
    SNS
    Amazon 

    Route 53

    ECS
    ALB
    GitHub
    Docker
    Docker Build
    Notification
    push
    ECS Scheduled Task
    ACM
    WAF
    Services(API, Admin, Etc…)
    ECR
    TravisCI
    Slack
    Sentry
    pingdom
    papertrail
    BigQuery
    fluentd

    View full-size slide


  40. ՝୊΋ͨ͘͞Μ͋Γ·ͨ͠

    View full-size slide

  41. ίϯςφಋೖͷಓͷΓ

    View full-size slide


  42. ໰୊ͷ੔ཧͱ

    ղܾͷͨΊͷπʔϧબఆ

    View full-size slide


  43. • ͭͬͨ͘VM͕ಥવյΕΔ
    • VM͸࡞Γ௚͕͠ॏ͍
    • ෳ਺αʔϏε্ཱͪ͛ΔͱCPUΛѹഭͯ͠
    ϩʔΧϧ։ൃ؀ڥ͕ॏ͍
    • ຊ൪ͱඍົʹ؀ڥࠩҟ͕ൃੜ
    ϩʔΧϧ։ൃ؀ڥͷͭΒΈ(࠶ܝ)

    View full-size slide


  44. • Πϯϑϥͷಠࣗ஌͕ࣝಛఆͷϝϯόʔʹภΔ
    • ϛυϧ΢ΣΞͷΠϯετʔϧͳͲͰΠϯϑϥ
    ΤϯδχΞ͕࡞ۀϑϩʔ্ͷϘτϧωοΫʹ
    ͳΔ
    • ϚωʔδυαʔϏεͷ੍ݶʹΑΓར༻͍ͨ͠
    ϛυϧ΢ΣΞɾπʔϧ౳͕࢖͑ͳ͍͜ͱ͕͋
    Δ
    ͜Ε·ͰͷΠϯϑϥͷ՝୊

    View full-size slide


  45. • Πϯϑϥͷಠࣗ஌͕ࣝಛఆͷϝϯόʔʹภΔ
    • ϛυϧ΢ΣΞͷΠϯετʔϧͳͲͰΠϯϑϥ
    ΤϯδχΞ͕࡞ۀϑϩʔ্ͷϘτϧωοΫʹ
    ͳΔ
    • ϚωʔδυαʔϏεͷ੍ݶʹΑΓར༻͍ͨ͠
    ϛυϧ΢ΣΞɾπʔϧ౳͕࢖͑ͳ͍͜ͱ͕͋
    Δ
    ͜Ε·ͰͷΠϯϑϥͷ՝୊
    ͜ΕΒΛ౿·͑ͯ

    ཧ૝ͷΧλνΛߟ͑Δ

    View full-size slide


  46. • ઃఆϑΝΠϧ͕git؅ཧ͞Ε͓ͯΓϒϥοΫ
    ϘοΫε͕ͳ͍
    • ϛυϧ΢ΣΞ,OS,ϓϥάΠϯͷόʔδϣϯ΋
    ઃఆϑΝΠϧͰ؅ཧ
    • ͦΕΒΛΞϓϦέʔγϣϯΤϯδχΞ͕ਖ਼͠
    ͘ཧղͰ͖͍ͯΔ
    ཧ૝ͷΧλνᶃ

    View full-size slide


  47. • ։ൃऀ͸ίϚϯυҰͭ͘Β͍ͷϨϕϧͰɺͬ͞
    ͱϩʔΧϧ؀ڥΛ্ཱͪ͛Δࣄ͕ग़དྷΔ
    • ୭Ͱ΋ಉ͡؀ڥཱ͕ͯΒΕΔ
    • ։ൃऀ/σβΠφʔؔ܎ͳ͘
    • ຊ൪΋ಉ͡ઃఆϑΝΠϧ͔Β࡞ΒΕͨΠϝʔ
    δ͕σϓϩΠ͞Εɺ։ൃ؀ڥͱຊ൪؀ڥʹશ
    ࠩ͘ҟͷͳ͍ঢ়ଶ
    ཧ૝ͷΧλνᶄ

    View full-size slide


  48. DockerʹനӋͷ໼ཱ͕ͬͨ

    View full-size slide


  49. DockerʹനӋͷ໼ཱ͕ͬͨ
    ൑அ࣠͸ӡ༻΋ؚΊͯ
    νʔϜͰҭͯΒΕΔ͔Λݕূ

    View full-size slide


  50. ಋೖϑΣʔζ

    View full-size slide


  51. ʮ৽͍͠πʔϧΛೖΕΔ࣌͸খ࢝͘͞ΊΔʯ
    ಋೖํ਑

    View full-size slide


  52. • खݩͰಈ͘؀ڥΛ࡞Δ
    • ಛఆͷϝϯό(1,2໊)ʹςεττϥΠͯ͠

    ΋Β͏
    • ͍͖ͳΓશମల։͢Δͱ։ൃ͕ࢭ·ͬͯ͠·͏
    • χʔζΛ͢΂ͯચ͍ग़͢
    • VMॏ͍ɺյΕΔɺ؀ڥࠩҟ…(ůŐ`)řŕ
    ᶃ۩ମతͳχʔζΛચ͍ग़͢

    View full-size slide


  53. • ໰୊ͷಛఆޙɺͦͷղܾࡦΛݕ౼
    • 1ͭ1۪ͭ௚ʹ௵ͯ͠ɺղܾํ๏Λݕূ͍ͯ͠
    ͘
    • Ex. Docker for Mac ͱ VM on Dockerͷݕূ
    • Dockerؔ࿈ͷ໰୊͕ग़ͨ࣌͸͙͢ʹΩϟον
    Ξοϓͯ͠௵͍ͯ͘͠
    ᶄղܾํ๏Λݕূ

    View full-size slide


  54. • શମద༻ͷલʹϋϯζΦϯͷ࣌ؒΛͭ͘Δ
    • جຊૢ࡞ͷυΩϡϝϯτ΍FAQ΋༻ҙ
    • Ҿ͖ଓ͖ɺDockerؔ࿈ͷ໰୊͕ग़ͨ࣌͸͢
    ͙ʹΩϟονΞοϓͯ͠௵͍ͯ͘͠
    ᶅϝϯόʔʹڞ༗

    View full-size slide


  55. • Pull RequestΛΞϓϦέʔγϣϯΤϯδχΞ
    ʹૹΔ
    • ৘ใΛΠϯϑϥΤϯδχΞͷதͰด͡ͳ͍Α
    ͏ʹ͢Δ
    • ٯʹPull RequestΛૹͬͯ΋Β͏ͷΛखॿ͚
    ͢Δ
    ᶆਁಁͤ͞Δ

    View full-size slide


  56. • Dockerfile͸Πϯϑϥͷ࣋ͪ෺Ͱͳ͘ɺΈΜ
    ͳͰҭ͍͖͍ͯͯͨͱ͍͏ؾ͕࣋ͪ։ൃऀʹ
    ఻Θͬͨ
    • ࣗ෼Ͱ৽αʔϏεDockerͰ࡞Γ࢝ΊΔϝϯ
    ό͕ग़͖ͯͨ
    • ϛε͕͋ͬͨࡍʹɺ͙͢ʹDockerfileͷमਖ਼
    ఺Λࢦఠͯ͘͠Εͨ
    ݁Ռ

    View full-size slide

  57. Amazon S3
    ElastiCache
    CloudFront
    Amazon SES
    Amazon RDS
    Amazon
    CloudWatch
    Amazon
    SNS
    Amazon 

    Route 53

    ECS
    ALB
    GitHub
    Docker
    Docker Build
    Notification
    push
    ECS Scheduled Task
    ACM
    WAF
    Services(API, Admin, Etc…)
    ECR
    TravisCI
    Slack
    Sentry
    pingdom
    papertrail
    BigQuery
    fluentd

    View full-size slide

  58. Amazon S3
    ElastiCache
    CloudFront
    Amazon SES
    Amazon RDS
    Amazon
    CloudWatch
    Amazon
    SNS
    Amazon 

    Route 53

    ECS
    ALB
    GitHub
    Docker
    Docker Build
    Notification
    push
    ECS Scheduled Task
    ACM
    WAF
    Services(API, Admin, Etc…)
    ECR
    TravisCI
    Slack
    Sentry
    pingdom
    papertrail
    BigQuery
    fluentd
    νʔϜͰίϯςφΛ

    ҭͯͨ݁Ռ

    View full-size slide


  59. ECSԽͯ͠ྑ͔ͬͨ͜ͱ

    View full-size slide


  60. • ίϯςφͳΒ؀ڥͷͭ͘Γ௚͠΋ϥΫ
    • ෳ਺αʔϏε্ཱͪ͛ͯ΋VMͱൺ΂ͯCPU
    Λѹഭ͠ͳ͍
    • ϩʔΧϧͷ؀ڥΛͦͷ··ຊ൪ʹ͍͚࣋ͬͯ
    ΔͷͰ؀ڥࠩҟ͕ͳ͍
    DockerͷಋೖͰͭΒΈΛղফ(࠶ܝ)

    View full-size slide


  61. • Πϯϑϥ஌ࣝͷϒϥοΫϘοΫεԽղফ
    • ϛυϧ΢ΣΞͷΠϯετʔϧ͸ΞϓϦέʔγϣ
    ϯΤϯδχΞ͕ࣗ༝ʹͰ͖ΔΑ͏ʹͳͬͨ
    • ϚωʔδυαʔϏεͷ੍ݶʹΑΓར༻Ͱ͖ͳ
    ͍ϛυϧ΢ΣΞɾπʔϧ͕ͳ͘ͳͬͨ
    ϘτϧωοΫͷղফ

    View full-size slide


  62. • EC2ͷϝϯςφϯε͔Βͷ։์
    • Ex. ઌ೔ͷCPU੬ऑੑʹΑΔڧ੍restart
    • Jobͷ࣮ߦ͝ͱʹίϯςφ্ཱ͕͕ͪΔͷͰɺ
    EC2 on Cronͷͱ͖ؾʹ͍ͯͨ͠CPUϦιʔε
    ΛؑΈ࣮ͨߦλΠϛϯάͳͲ͸ߟ͑Δඞཁ͕ͳ
    ͘ͳͬͨ
    • ංେԽ͢Δcrontabͷ؅ཧ΋ෆཁʹ
    ECS Task Scheduledʹͯ͠ྑ͔ͬͨ͜ͱ

    View full-size slide


  63. Route53Λར༻ͨ͠ՃॏϦιʔεϨίʔυηοτΛ
    ར༻ͨ͠τϥϑΟοΫ෼ࢄ͸ΧφϦΞϦϦʔεతʹ
    ࢖͏ࡍʹ͸ศརͳͷͰΦεεϝ
    ECSҠߦ࣌ͷTips

    View full-size slide


  64. • ECSΛ࢖͍ͬͯͯ΋݁ہ֎ଆͷEC2Πϯε
    λϯεΛҙࣝ͠ͳ͍ͱ͍͚ͳ͍
    • 1ͭͷEC2ΠϯελϯεͷதʹԿݸίϯςφ
    ΛཱͯΔ͔ɺϦιʔεͷׂ౰͸Ͳͷఔ౓͔
    ౳…
    • Fargate͸ͦΕʹର͢ΔղʹͳΓͦ͏
    AWS Fargate΁ͷظ଴

    View full-size slide


  65. • ೔ຊޠͷFargateʹݴٴͨ͠ϒϩάΛݟͯ
    AWSͷUSνʔϜ͕ʮ͜ΕͳΜͯॻ͍ͯ͋Δ
    ͷʁʯͬͯJPνʔϜʹฉ͍ͯ͘ΔΒ͍͠
    • “Fargate”͸άάΒϏϦςΟ͕ߴ͍ͷ΋ҰҼʹ
    ͋Γͦ͏
    • ΈΜͳͰϒϩάॻ͍ͯFargateΛ

    Tokyo Regionʹ͖࣋ͬͯ·͠ΐ͏:D
    Fargate͸Αʂ

    View full-size slide


  66. • ͳΜ͔ͩΜͩɺضৼΓ໾ͱͯ͠Πϯϑϥͷ࢓
    ࣄΛϝΠϯͰߦ͏ਓ͸ඞཁͩͬͨΓ͢Δ
    • Ͱ΋ɺࠓͷίωώτͷνʔϜͳΒίϯςφʹ
    ؔͯ͠͸ΞϓϦέʔγϣϯΤϯδχΞ͚ͩͰ
    ׬݁͢Δੈք͕ͭ͘ΕΔͱ৴͍ͯ͡Δ
    • ͦ͜·ͰίϯςφɾΠϯϑϥٕज़ΛʮνʔϜ
    ͰҭͯΔʯ΋ͷʹͯ͠ɺࣗ෼ͨͪͷ࢓ࣄΛͳ
    ͘͢ͱ͜Ζ·Ͱ΍Γ͍ͨ
    ΠϯϑϥΤϯδχΞͷ࢓ࣄΛͳ͘͢

    View full-size slide


  67. • ϚϚ޲͚No.1ΞϓϦͷϚϚϦͷ੒௕͸AWS
    ʹࢧ͑ΒΕ͖ͯ·ͨ͠
    • ࠓ೔ຊͷϚϚ͸ίϯςφʹࢧ͑ΒΕ͍ͯ·͢
    • ίωώτͰ͸ɺ͜Ε͔Β΋ίϯςφɾΠϯϑ
    ϥٕज़ΛʮνʔϜͰҭͯΔʯΧϧνϟʔʹ͠
    ͍͖ͯ·͢
    ·ͱΊ

    View full-size slide

  68. ΋͏ͪΐͬͱ࿩Λฉ͍ͯΈ͍ͨͱ

    ࢥͬͨํ͸ؾܰʹ͓੠͕͚͍ͩ͘͞
    ΋͘͠͸!UBUTVTIJNʹ%.Ͱ΋

    View full-size slide

  69. $POOFIJUP*OD$50!UBUTVTIJN
    ϚϚͷҰาΛࢧ͑Δ
    ͝ਗ਼ௌ༗೉͏͍͟͝·ͨ͠%

    View full-size slide