ふくばねてす_1_CNBuildpack.pdf

1b838da2065660793d5b26f2cdc32de7?s=47 Kazuhiko Yamashita
April 08, 2019
120

 ふくばねてす_1_CNBuildpack.pdf

1b838da2065660793d5b26f2cdc32de7?s=128

Kazuhiko Yamashita

April 08, 2019
Tweet

Transcript

  1. CloudNative Buildpacks ʙload to 2002ʙ

  2. ࢁԼ࿨඙!QZBNB (.0ϖύϘٕज़ج൫νʔϜ γχΞɾϓϦϯγύϧ UFOTOBQPODPN QZBNBGVO TUOTKQ

  3. 45/4 -JOVY/444FSWFS TUOTKQ

  4. 45/4

  5. झຯ: ࠗ׆

  6. “Έͳ͞Μ͸ɺ CloudNativeͰ͔͢ʁ”

  7. None
  8. ͳͥCloud Nativeͳͷ͔ʁ

  9. Ϟςͦ͏ʂʂʂʂ̍

  10. None
  11. Native English = ϞςΔ ͭ·Γ Cloud Native = ϞςΔ Αͬͯ

    Native English = Cloud Native
  12. None
  13. ࠓ೔࿩͢͜ͱ • Pࢁ͕ߟ͑ΔϖύϘͷΫϥ΢υωΠςΟϒҠߦ • ͦΕΒʹඞཁͱߟ͍͑ͯΔ΋ͷ • Cloud Native Buildpacks

  14. ϖύϘͷݱঢ় • Πϯϑϥ͸ΦϯϓϨOpenStack + ΦϯϓϨϗεςΟϯάαʔό • CI͸׬શʹίϯςφ(γεςϜίϯςφ) • ։ൃ؀ڥ͸Ұ෦ίϯςφɺ΄΅VM •

    ຊ൪؀ڥ͸΄΅VM • ΞϓϦ+ΠϯϑϥΤϯδχΞ or ΞϓϦΤϯδχΞ͕શ෦΍Δ
  15. Ϋϥ΢υωΠςΟϒҠߦʹΑͬͯղܾ͍ͨ͜͠ͱ • ࣄۀࠩผԽཁҼҎ֎͸ϚωʔδυαʔϏεΛར༻͠ɺϦιʔεΛूத͢Δ • ΞϓϦΤϯδχΞɺΠϯϑϥΤϯδχΞ͕ຊདྷͷόϦϡʔΛग़͢΂͖ͱ͜ ΖʹूதͰ͖ΔΑ͏ʹ͍ͨ͠ • ։ൃ؀ڥͱຊ൪؀ڥͷࠩҟΛͳ͍ͨ͘͠

  16. ͦΕʹඞཁͱߟ͍͑ͯΔ΋ͷ • Ϋϥ΢υωΠςΟϒͳΞʔΩςΫνϟʹ͸ɺOS͕΍͍ͬͯͨΑ͏ͳ࢓ࣄ Λड͚࣋ͭίϯϙʔωϯτ͕ඞཁͱߟ͍͑ͯΔ • ΞϓϦέʔγϣϯ͕ಈ͘؀ڥΛVMɺγεςϜίϯςφͰ͸ͳ͘ΞϓϦ έʔγϣϯίϯςφʹ͍ͨ͠ɺ؆୯ʹ

  17. https://speakerdeck.com/pyama86/an-falsezhong-dejin-kafkagawan-quan-nire-i syslogͱ͔͕΍ͬͯͨ࢓ࣄ͸Kafkaͱ͔࢖͏Έ͍ͨͳ࿩Λͨ͠

  18. Buildpacks? Ҿ༻:https://jp.heroku.com/elements/buildpacks

  19. Cloud Native Buildpacks • heroku΍Cloud FoundryͷBuildpacksͷ࢓૊ΈΛඪ४Խ • ඪ४࣮૷ͱͯ͠packίϚϯυΛ഑෍ • OCI

    Imageͱͯ͠ग़ྗ͕Մೳ • https://github.com/buildpack/spec
  20. php buildpacks Cloud Native Buildpacks App Code detect build phpͷϓϩδΣΫτʁ

    phpͷίϯύΠϧ ίʔυΛݩʹɺඞཁͳbuild͕ߦΘΕɺίϯςφΠϝʔδ͕࡞੒͞ΕΔ
  21. buildpacks php buildpacks Cloud Native Buildpacks App Code apache buildpacks

    composer buildpacks buildpacksΛෳ਺૊Έ߹ΘͤͯҰͭͷίϯςφΠϝʔδΛ࡞੒ buildpacks͸ൃలʹ൐͍ɺݴޠίϛϡχςΟ൛ͳͲ͕ग़ͯ͘Δͱਪଌ͞ΕΔ
  22. Cloud Native Buildpacks build࣌ʹར༻͢ΔΠϝʔδͱɺ࣮ߦ࣌ʹ
 ར༻͞ΕΔΠϝʔδ͸ҟͳΔ https://buildpacks.io/docs/using-pack/building-app/

  23. Cloud Native Buildpacks͕࡞Δੈք • ίʔυΛݩʹࣗಈͰඞཁͳ΋ͷ͕ೖΔ͔ͷΑ͏ʹ࣮૷Ͱ͖ΔͷͰɺεέʔϧϝϦοτ͕ ग़΍͍͢(ޙड़) • ηΩϡϦςΟ໘ʹ͓͍ͯ΋BuildpacksͰύοέʔδ؅ཧ͕Ͱ͖ΔͷͰɺن໛͕େ͖͍৔ ߹Ͱ΋ηΩϡϦςΟFIX͕༰қ •

    ΞϓϦґଘͷઃఆͳͲ͕ΞϓϦέʔγϣϯϦϙδτϦʹͦͷ··ஔ͔ΕΔΑ͏ʹͳΔ͔ Βɺxxxx-chef/xxxx-puppetͳͲͷϦϙδτϦ͕ফࣦ͢Δ • httpdͱ͔nginxͱ͔؀ڥม਺͚ͩͰ͸࿫͑ͳ͍ݻ༗ͷઃఆϑΝΠϧ͸ΞϓϦέʔγϣ ϯϦϙδτϦ(αϒϞδϡʔϧ)Ͱ؅ཧ͞ΕΔΑ͏ʹͳΓɺΞϓϦ+ίϯϑΟάϨʔγϣ ϯϦϙδτϦʹͳΔͷͰ͸ͳ͍͔ʁ
  24. ϖύϘͷະདྷ pepabo buildpacks php buildpacks apache buildpacks composer buildpacks ͋ΒΏΔ঎ࡐͷίϯςφΠϝʔδ͕Ұݩతʹ࡞੒ՄೳʹͳΓɺ

    ։ൃϦιʔεɺશࣾҰ؏ͷηΩϡϦςΟ؅ཧ͕΍Γ΍͘͢ͳΔ
  25. developerͱͯ͠΋νϟϯε͕͋Δ

  26. Զͱ͜ͷϏοά΢Σʔϒʹ৐ͬͯ͘Εʂʂ̍ ࠷৽ͷ࠾༻৘ใΛνΣοΫˠ !QC@SFDSVJU