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

希望のRancher〜コンテナをアウフヘーベン〜/ranchermeetup-20171006

 希望のRancher〜コンテナをアウフヘーベン〜/ranchermeetup-20171006

Rancher Meetup #02 in Fukuoka の資料です。 #ranchermeetup

Kunihiro Morita

October 06, 2017
Tweet

More Decks by Kunihiro Morita

Other Decks in Technology

Transcript

  1. ͨ͠ͳΉաఔ » Rancher ϋϯζΦϯ #03 & ϞΫϞΫษڧձ #071 <- ࢼͨ͠

    » Rancher JP - ࢿྉҰཡ - connpass2 <-શ෦ݟͨ » Rancher JP - YouTube3 <-΄΅ݟͨ » Rancher Documentation4 <- ੵΈຊ New 4 http://rancher.com/docs/rancher/latest/en/ 3 https://www.youtube.com/channel/UCkczjoJXD_jRffogLZ-ilLg/videos 2 https://rancherjp.connpass.com/presentation/ 1 https://www.slideshare.net/secret/VndQ9YHIjIA1a 201710/6 Rancher Meetup #02 in Fukuoka 8
  2. ࢼͯ͠Έͨ » Azure্ʹ࡞ͬͯΈͨ » ߏஙࢿྉ͸ઌͷϋϯζΦϯࢿྉ΍QiitaͳͲ๛෋ʹ͋Δ » Rancher Server / Agentͷߏங͸؆୯

    » ࠓճ͸1ܥΛ৮ͬͯΈͨ » ߏங͸Rancher JPࢿྉ΍QiitaΛړΕ͹ग़ͯ͘Δ » ߏங͸ͬ͘͟ΓΘ͔ͬͨ 201710/6 Rancher Meetup #02 in Fukuoka 10
  3. Dockerͩͱ 1. docker-compose.yml࡞੒ » WordPressͷLAMPίϯςφ » σʔλӬଓ » ϙʔτϚοϐϯά 2.

    docker-compose up 3. ׬੒ 201710/6 Rancher Meetup #02 in Fukuoka 12
  4. Rancherͩͱ 1. Χλϩά͔ΒWordPressબ୒ 2. ׬੒ » ఆٛࡁΈ͸Χλϩά͔ΒબͿ͚ͩͰ؆୯ʢDC/OSͬΆ͍ʣ » Wordpressͷଞʹ΋ GitLab

    / PrometheusΛࢼͨ͠ » ؆୯ʹىಈͨ͠ » Χλϩά࡞੒΋Մೳ 201710/6 Rancher Meetup #02 in Fukuoka 13
  5. WordPressՄ༻ੑઃܭ » LB + PHP̎୆ + MySQL(Active/Standby) » WordpressϑΝΠϧͷϗετؒσʔλಉظ »

    NFS΍Rsync౳ͰಉظɻࣗલNFS͸SPOFɻ » MySQLͷՄ༻ੑ ӡ༻ਏ͍ 201710/6 Rancher Meetup #02 in Fukuoka 17
  6. ϚωʔδυαʔϏε࢖͏ » AWS EFS, S3΍Azure File Storage, BloBͳͲϚωʔδυετϨʔδ » AWS

    RDS΍Azure Database MySQLͳͲϚωʔδυDB ӡ༻ָ 201710/6 Rancher Meetup #02 in Fukuoka 18
  7. RancherͰ͸ʁʢଓ͖ʣ » MySQLίϯςφ » ʁ » LBίϯςφ » HAProxy͕ಈ࡞ͯ͠εέʔϧΞ΢τʹ௥ਵ »

    HAPorxy͸γϯάϧίϯςφɻίϯςφࢮΜͩΒʁ ϚωʔδυDB/LB΋૊Έ߹Θͤͯ࢖͍͍ͨ 201710/6 Rancher Meetup #02 in Fukuoka 21
  8. » ͲͷϗετʹσϓϩΠ͞ΕΔʁDNSׂΓ౰ͯͲ͏͠Α͏ʁ » ϩάͲ͏͢Δʁ » Rancher NFSɻSPOFɺϗετεέʔϧͲ͏ͳΔ໰୊ » Rancher Longhorn

    ຊ໋ʁ » ϚωʔδυαʔϏεͱͷ૊Έ߹ΘͤͲ͏΍ͬͯ໰୊ » ؂ࢹͲ͏͢Δ໰୊ 201710/6 Rancher Meetup #02 in Fukuoka 24
  9. » ͦ΋ͦ΋ίϯςφϗετ؅ཧͨ͘͠ͳ͍໰୊ » ୭͔ » Azure Container Instance » RancherͰ؅ཧͰ͖Δʁ

    » ͜Ε͔Β࢝ΊΔਓ͸1ܥΑΓ2ܥ͕Α͍ʁ 201710/6 Rancher Meetup #02 in Fukuoka 26
  10. _____ < END > ----- \ ^__^ \ (oo)\_______ (__)\

    )\/\ ||----w | || || 201710/6 Rancher Meetup #02 in Fukuoka 28