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

AWSってなに?

kawaji
November 19, 2018
5

 AWSってなに?

kawaji

November 19, 2018
Tweet

More Decks by kawaji

Transcript

  1. AWSͬͯͳʹʁ


    ΦϯϓϨϛε͔ΒΫϥ΢υ΁
    ϚΠϯυνΣϯδ͢Δҝʹඞ
    ཁͳαʔϏεΛ঺հ͠·͢

    View full-size slide

  2. w ॴଐ

    ༗ݶձࣾεΫϥονιϑτ
    w ໊લ

    ઒࿏ོٛʢ͔Θ͡Α͔ͨ͠ʣ
    w "84ྺ

    ̔೥
    w ޷͖ͳ"84αʔϏε

    3PVUFɺ&$4QPU'MFFU"1*
    ࣗݾ঺հ

    View full-size slide

  3. ࢲ͕ϚΠϯυνΣϯδͨ͠
    ͖͔͚ͬ

    View full-size slide

  4. AWSͱͷग़ձ͍


    2010೥ϦϦʔεͨ͠ιʔγϟϧήʔϜ͕େ൓ڹɻ


    ଈ೔ʹαʔόʔෛՙͰϩάΠϯ͢Βࠔ೉ͰΫϨʔϜ͕
    2chʹॻ͖ࠐ·ΕԌ্ɻ


    ඞࢮͳύϑΥʔϚϯεɾνϡʔχϯάɺαʔόʔௐୡ
    ʹ௥ΘΕΔɻ


    ;ͱ͖͔͚ͨͬ͠Ͱɺαʔόʔ͕खݩͷPC͔Βௐୡ
    Ͱ͖Δͱฉ͖ڻ͘ɻ

    View full-size slide

  5. AWSͱ͸ͳΜͳͷ͔ʁ

    View full-size slide

  6. Amazon Go : ৽͍͠ܗͷళฮͷελΠϧ
    • Ϩδͷͳ͍ίϯϏχ
    • ͓٬͞·͸঎඼ΛϐοΫΞοϓ
    ͠ɺͦͷ··͓ళͷ֎ʹग़͍ͯ
    ͨͩ͘͜ͱͰങ͍෺͕׬ྃ
    • Amazon.comͷΞΧ΢ϯτʹν
    ϟʔδ
    • ը૾ೝࣝΛத৺ͱͨ͠͞·͟·
    ͳςΫϊϩδʔͰखʹऔͬͨ঎
    ඼Λ೺Ѳ

    View full-size slide

  7. Amazon Robotics ɾAmazonͷ૔ݿͷޮ཰ԽΛRobotͰߦ͏͜
    ͱΛݚڀ͢ΔͨΊʹઃཱ
    ɾ഑ૹηϯλʔ಺ͷ࡞ۀΛɺϩϘοτ޻ֶ
    Λ༻͍ͯࣗಈԽ͢Δ͜ͱΛݚڀ
    ʮࣗ཯Ҡಈʯ
    ʮݴޠೝࣝʯ
    ʮ෺ମೝࣝʯ
    ͳͲΛػցֶशςΫϊϩδΛ༻͍ͯ
    ࣮ࢪ
    ɾਆಸ઒ݝ઒࡚ࢢͷ৽෺ྲྀڌ఺
    ʮΞϚκϯ઒࡚FCʯʢϑϧϑΟϧϝϯτη
    ϯλʔʣͰಋೖ

    View full-size slide

  8. ඼ἧ͑
    ސ٬ମݧ
    ސ٬਺
    ग़ళࣾ
    ௿ίετମ
    ࣭ɾߏ଄
    ௿Ձ֨
    ੒ ௕

    View full-size slide

  9. AWSͱ͸
    Amazonͷཧ೦ΛΫϥ΢υαʔϏεͱͯ͠ఏ
    ڙͨ͠΋ͷͰ͋Δ

    View full-size slide

  10. Ϋϥ΢υͱ͸৽͍͠ITϦιʔεར༻ͷΧλν
    ඞཁͳ࣌ʹɺඞཁͳ͚ͩɺ
    ௿Ձ֨Ͱ
    ITϦιʔεΛఏڙ

    View full-size slide

  11. Ϋϥ΢υͱ͸৽͍͠ITϦιʔεར༻ͷΧλν
    ॳظ౤ࢿ͕ൃੜ
    ༨৒ɾෆ଍ͷϦεΫ
    ݻఆඅ
    ॳظ౤ࢿ͕ෆཁ
    ඞཁͳ෼͚ͩར༻Մೳ
    มಈඅ

    View full-size slide

  12. Ϋϥ΢υ׆༻اۀͷ2ࣾʹ̍ࣾ͸AWSΛར༻
    ೔ܦίϯϐϡʔλʹΑΔΞϯέʔτௐࠪ
    http://itpro.nikkeibp.co.jp/atcl/column/
    14/090100053/111200101/


    MM૯ݚʹΑΔΞϯέʔτௐࠪ
    http://www.m2ri.jp/newsreleases/
    main.php?id=010120150924500


    View full-size slide

  13. ΦϯϓϨϛεߏ੒


    ͔ΒAWS΁Ҡߦ͢Δ

    View full-size slide

  14. ΦϯϓϨϛεߏ੒ʢͦͷ̍ʣ


    αʔόʔʴDB

    View full-size slide

  15. ΞϓϦέʔγϣϯ
    αʔόʔ
    %#
    αʔόʔ
    ΦϯϓϨϛε

    View full-size slide

  16. ΞϓϦέʔγϣϯ
    αʔόʔ
    %#
    αʔόʔ
    AWS
    &$ &$

    View full-size slide

  17. EC2঺հ
    EC2


    CPU,ϝϞϦ,ετϨʔδͳͲ༷ʑͳ
    ૊Έ߹Θ͔ͤΒར༻Ͱ͖Δαʔόʔ


    ओʹWEBαʔόɺΞϓϦέʔγϣ
    ϯαʔόͱͯ͠ར༻͞ΕΔ


    ྉۚ͸ར༻ͨ࣌ؒ͠(ඵ)՝ۚ


    View full-size slide

  18. ΞϓϦέʔγϣϯ
    αʔόʔ
    %#
    αʔόʔ
    AWS
    3%4
    &$

    View full-size slide

  19. RDS঺հ
    RDS


    CPU,ϝϞϦ,ετϨʔδͳͲ༷ʑͳ૊Έ
    ߹Θ͔ͤΒར༻Ͱ͖Δσʔλϕʔε


    mysql,postgresql,SQLServer,


    OracleͳͲ


    ྉۚ͸ར༻ͨ࣌ؒ͠(1h)՝ۚ


    View full-size slide

  20. ΦϯϓϨϛεߏ੒(ͦͷ̎)


    αʔόʔʴDB+NAS

    View full-size slide

  21. ΞϓϦέʔγϣϯ
    αʔόʔ
    %#
    αʔόʔ
    ΦϯϓϨϛε
    /"4

    View full-size slide

  22. ΞϓϦέʔγϣϯ
    αʔόʔ
    %#
    αʔόʔ
    AWS
    /"4
    &$
    3%4
    &'4

    View full-size slide

  23. EFS঺հ
    EFS


    ৳ॖࣗࡏͳϑΝΠϧετϨʔδ


    ਺ઍͷEC2͔Βಉ࣌઀ଓՄೳ


    ྉۚ


    1 ͔݄ؒͰ࢖༻ͨ͠ϑΝΠϧγ
    εςϜετϨʔδ෼ͷΈྉۚ

    View full-size slide

  24. ୯७ҠߦͰ͸ग़ͯ͜ͳ͍͚Ͳ
    ઈର͍֮͑ͨ


    ετϨʔδαʔϏε

    View full-size slide

  25. S3঺հ
    S3


    ༰ྔແ੍ݶɺݎ࿚͔ͭ௿ྉۚͳ
    ετϨʔδαʔϏε


    ྉۚ͸อଘ͍ͯ͠Δσʔλྔ෼


    ౦ژϦʔδϣϯͰ͸
    0.025USD/GB

    View full-size slide

  26. AWSΛར༻͢ΔϝϦοτ
    • ੜ࢈ੑ


    • ӡ༻ίετ


    • ηΩϡϦςΟ

    View full-size slide

  27. ੜ࢈ੑ
    • ͜͜Ͱͷ ੜ࢈ੑ ͱ͸։ൃऀ͕ϓϩδΣΫτ։
    ͔࢝ΒγεςϜΛϦϦʔε͢Δ·Ͱͷޮ཰Λ
    ࢦ͠·͢ɻ

    View full-size slide

  28. ੜ࢈ੑʢैདྷΑ͋͘Δ࢟ʣ
    • ։ൃऀ͸νʔϜʹҰ୆։ൃαʔόʔ͕༩͑ΒΕςετ΍
    γεςϜͷೖΕସ͑͸੠ֻ͚ʴλΠϛϯάௐ੔͕ඞཁ


    • ։ൃαʔόʔ͸ຊ൪αʔόʔͷ؀ڥͱ͸͜ͱͳΓεϖο
    Ϋ͸௿͘ɺ৔߹ʹΑͬͯ͸ϥΠηϯείετͷ໰୊Ͱ
    OS͢ΒҟͳΔ or όʔδϣϯ͕ͦΖ͍ͬͯͳ͍ɻ


    • ຊ൪ϦϦʔεʹ޲͚ͨ؀ڥߏங͸ɺ͋Δఔ౓ࣅ͍ͯΔ؀
    ڥԼͰߦ͏ͨΊɺυΩυΩ͠ͳ͕ΒϦϦʔε࡞ۀΛߦ
    ͏ɻ

    View full-size slide

  29. ੜ࢈ੑʢAWSར༻ʣ
    • ։ൃऀҰਓͻͱΓʹຊ൪؀ڥͱಉҰͷ΋ͷΛ౉͢
    ͜ͱ͕Մೳɻ


    • AWS؀ڥ͸εΫϦϓτͰߏஙͰ͖ΔͨΊɺ೔ʑ
    ࢼ͠ଓ͚ΒΕͨεΫϦϓτΛࣗ৴Λ࣋ͬͯຊ൪؀
    ڥ΁ద༻Ͱ͖Δɻ


    • ϋʔυௐୡʹ޲͚ͨݟੵͿΕΛۃ୺ʹڪΕΔඞཁ
    ͕ͳ͘ͳΔɻ(͋ͱͰม͑Δ͜ͱ͕༰қ)

    View full-size slide

  30. ӡ༻ίετ
    • ͜͜Ͱͷ ӡ༻ίετ ͱ͸αʔόʔػثͳͲͷ
    ҡ࣋ɾमસɺ೔ʑͷ҆ఆͨ͠γεςϜՔಇʹ
    ޲͚ͯඞཁͳਓతϦιʔεΛࢦ͠·͢ɻ

    View full-size slide

  31. ӡ༻ίετʢैདྷΑ͋͘Δ࢟ʣ
    • ϋʔυ΢ΣΞো֐΁ͷରԠ͸ۀऀΛݺͼ͚ͭେࢸٸௐ
    ୡɻ ߴֹͳ্ɺ෮چ͸ਝ଎Ͱͳ͍έʔε͕ଟ͍ɻ


    • ো֐࣌ͷ໰୊੾Γ෼͚ͳͲߴεΩϧΛอ࣋ͨ͠Τϯδχ
    Ξͷ൑அ͕ඞཁͱͳΔ͜ͱ͕ଟʑ͋ΔɻͦͷΑ͏ͳਓ
    ࡐΛৗ࣌ஔ͍͓ͯ͘͜ͱ͕ίετ໘Ͱݫ͍͜͠ͱ΋ɻ


    • αʔόʔػثɺճઢͷϥϯχϯάίετ͕૝ఆ͞ΕΔ
    ্ʹઃఆ͞Εͨਫ४Ͱ༻ҙ͞Ε͍ͯΔඞཁ͕͋Γߴֹ
    ʹͳΓ΍͍͢ɻ

    View full-size slide

  32. ӡ༻ίετʢAWSར༻ʣ
    • AWSΛࢧ͑ΔੈքதͷΤϯδχΞ͕̎̐࣌ؒ̏̒̑೔଴
    ػ͍ͯ͠Δ҆৺ײɻ ສ͕Ұͷো֐ʹ͓͚Δରࡦ΋AWS
    ଆΠϯϑϥʹ͍ͭͯ͸Ϣʔβʔଆͷίετෛ୲͸ෆཁɻ


    • αϙʔτΛར༻͢Δ͜ͱͰAWSଆͱͷ໰୊੾Γ෼͚͕
    ਝ଎ʹߦ͑Δɻʢαϙʔτܖ໿͸༗ྉʣ


    • ׬શͳैྔ՝ۚํࣜͰ͋ΔͨΊɺඞཁͳͱ͖ඞཁͳ͚ͩ
    ͷࢧ෷͍ʹίετΛ཈͑Δ͜ͱ͕Ͱ͖Δɻ

    View full-size slide

  33. ηΩϡϦςΟ
    • ͜͜Ͱͷ ηΩϡϦςΟ ͱ͸ίϯϓϥΠΞϯε
    ཁ͔݅Βൃੜ͢Δج४Λຬͨ͢͜ͱɺWEBͷ
    ҰൠతͳηΩϡϦςΟΛࢦ͠·͢ɻ

    View full-size slide

  34. ηΩϡϦςΟʢैདྷΑ͋͘Δ
    ࢟ʣ
    • ϦϦʔε࣌ʹ͸ͳΜͱ͔νΣοΫϦετΛΫ
    ϦΞ͢Δ΋ͷͷɺӡ༻࣌ʹ͸ݟ௚͞Εͣ؂ࠪ
    લʹ߄ͯͯ֬ೝɻ


    • ͦ΋ͦ΋ίετ໘͔ΒηΩϡϦςΟ੡඼ɾਓ
    ࡐͷಋೖ͕ݟૹΒΕ͕ͪɻ

    ʢϢʔβʔࣗ਎͕ݟੵ࣌ʹෆཁͱݴͬͯঝೝ͞Εʹ͍͘έʔε΋ʣ

    View full-size slide

  35. ηΩϡϦςΟʢAWSར༻ʣ
    • AWSʹ͸αʔυύʔςΟ੡඼Λಋೖ͢ΔҎ֎
    ʹඪ४ͰηΩϡΞͳσʔληϯλʔɺػೳ͕
    ͍ͭͯ͘Δɻ

    ʢར༻ऀ͕୲อ͠ແͯ͘͸ͳΒͳ͍੹೚ൣғ͸ଘࡏ͢ΔͨΊ஫
    ҙʣ

    View full-size slide

  36. ηΩϡϦςΟʢAWSར༻ʣ
    ֤छίϯϓϥΠΞϯεཁ݅ΛΫϦΞͨ͠σʔλη
    ϯλʔɾαʔϏεɾΨΠυϥΠϯΛར༻Ͱ͖Δɻ

    View full-size slide

  37. ηΩϡϦςΟʢAWSར༻ʣ
    ๛෋ͳػೳ
    ϑΝΠΞʔ΢Υʔϧ 4FDVSJUZ(SPVQ
    8"' "848"'
    %%P4 ֤छαʔϏεʹΑΔ؇࿨ػೳ
    ҉߸Խ 4ͳͲͷετϨʔδαʔϏε΍3%4
    ϞχλϦϯά $MPVE8BUDI
    ϩΪϯά $MPVE5SBJM 'MPX-PHT
    ΞΫηεݖݶ *".
    ڴҖݕग़ "NB[PO(VBSE%VUZ

    View full-size slide

  38. AWSͷαʔϏε͔ΒݟΔҠߦϝϦοτ
    • ίετ໘

    S3, ELB+EC2


    • Ҡߦ༰қ͞

    EC2, RDS


    • ؂ࢹɾ؂ࠪ

    CloudWatch Logs, CloudWatch ϝτϦΫε

    View full-size slide

  39. ίετ໘
    • ೔ʑಡΊͳ͍τϥϯβΫγϣϯ਺Λ๊͍͑ͯ
    ΔγεςϜʹ͸ Φʔτεέʔϧ


    • λΠϛϯά͕෼͔͍ͬͯΔߴෛՙʹ͸ εέʔ
    ϧΞοϓ


    • ߴ଱ٱੑɾ௿Ձ֨ͰσʔλΛอଘ͍ͨ͠ͳΒ
    ͹ S3

    View full-size slide

  40. Ҡߦ༰қ͞
    • ΦϯϓϨϛεͷγεςϜͰҰൠతʹར༻͞Ε
    Δ αʔόʔɺ σʔλϕʔε͸ EC2ɺ RDS ʹ
    ஔ͖׵͑Λݕ౼ɻ

    View full-size slide

  41. ؂ࢹɾ؂ࠪ
    • γεςϜΛ҆ఆՔಇͤ͞ΔͨΊʹ͸؂ࢹ͕ඞཁɻ

    ؂ࠪͱͯ͠͸௕ظؒʹ౉ΓγεςϜূ੻Λ࢒͓ͯ͘͠
    ͜ͱ͕ٻΊΒΕΔɻ


    • ᮢ஋ΛϕʔεʹΞϥʔτΛڍ͍͛ͨͳΒ͹
    CloudWatchϝτϦΫε


    • ϩάϕʔεͰ؂ࢹ΍ɺ؂ࠪ༻ʹอଘ͢ΔͳΒ
    CloudWatchLogs

    View full-size slide

  42. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠

    View full-size slide