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

RIとSPって何が違うの?選択において押さえておくべきポイント/ec2-reserved...

 RIとSPって何が違うの?選択において押さえておくべきポイント/ec2-reserved-instances-savings-plans-comparison

YukihiroChiba

October 16, 2021
Tweet

More Decks by YukihiroChiba

Other Decks in Technology

Transcript

  1. ༻ޠू  ༻ޠ ಺༁ 3* ϦβʔϒυΠϯελϯεͷུ 41 4BWJOHT1MBOTɺηʔϏϯάϓϥϯͷུ 0%$3 ΦϯσϚϯυΩϟύγςΟ༧໿ͷུ

    "; ΞϕΠϥϏϦςΟκʔϯͷུ ϓϥοτϑΥʔϜ 8JOEPXTɺ-JOVYͳͲͷ04ͷछผΛද͢΋ͷ ςφϯγʔ Ծ૝Ϛγϯ͕෺ཧϗετΛڞ༻͢Δ͔઎༗͢Δ͔Λද͢΋ͷ
  2. ࿩͢͜ͱ࿩͞ͳ͍͜ͱ  ࿩͢͜ͱ ࿩͞ͳ͍͜ͱ •RI/SPͷछྨ •RI/SPͷҧ͍ •RI/SPͷద༻Πϝʔδ •EC2 ΠϯελϯεҎ֎ͷRI/SP •۩ମతͳγφϦΦͷ঺հ

    •ࡉ͔͍৚݅ •Φεεϝͷങ͍ํ RI/SPʹ͸ͲͷΑ͏ͳछྨ͕͋Δ͔ɺ ߲໨͕ͲͷΑ͏ͳҙຯΛ͔࣋ͭΛཧղ͍͖ͨͩɺ RI/SPΛબ୒͢Δελʔτ஍఺ʹ ཱ͍ͬͯͨͩ͘͜ͱΛ໨తͱ͍ͯ͠·͢ɻ
  3.  ϦβʔϒυΠϯελϯεͷʮมߋʯ Ұ෦ͷ߲໨ͷΈɺߪೖޙʹมߋग़དྷ·͢ɻ • มߋͰ͖Δ΋ͷͷྫ • Ϧʔδϣϯ಺ͷผAZʹมߋʢκʔϯRIʣ • είʔϓͷมߋʢϦʔδϣφϧ⁶κʔϯʣ •

    ಉҰΠϯελϯεϑΝϛϦʔ಺ͰͷαΠζͷมߋ • xlargeʢ܎਺8ʣ1ݸ͔Β largeʢ܎਺4ʣ2ݸͳͲ • σϑΥϧτςφϯγʔͷLinux/UnixͷΈ • มߋͰ͖ͳ͍΋ͷͷྫ • Ϧʔδϣϯ • ΠϯελϯεϑΝϛϦʔ • ςφϯγʔɺϓϥοτϑΥʔϜ • ίϛοτظؒɺࢧ෷Φϓγϣϯ
  4.  ϚʔέοτϓϨΠεͰͷग़඼ߪೖ ෆཁʹͳͬͨRIΛച٫ͨ͠ΓɺαʔυύʔςΟ͔ΒߪೖͰ͖·͢ɻ • ϚʔέοτϓϨΠε΁ͷग़඼ • ग़඼ऀͷొ࿥ʹ͸ถࠃͷۜߦͷޱ࠲͕ඞཁ • ग़඼࣌ʹઃఆ͢Δલ෷͍Ձ֨ͷ12%͕ख਺ྉͱͯ͠ൃੜ •

    ͦͷଞ͜·੍͔͍ݶࣄ߲͋Γ • ϚʔέοτϓϨΠεͰͷߪೖ • ظؒ͸1೥΍3೥ͷ׬શͳ΋ͷͰ͸ͳ͍ • લͷॴ༗ऀͷ࢖༻ঢ়گʹΑΔ • ग़඼ऀ͕ࢦఆͨ͠લ෷͍ྉۚΛࢧ෷͏ • AWSʹΑΔඪ४తͳՁ֨ΑΓ͍҆৔߹͕͋Δ • ʮ͢΂ͯલ෷͍ʯͰͳ͍৔߹ɺܧଓͯ͠ൃੜ͢Δྉۚ ʢνέοτͷఆظߪೖྉۚʣ͸AWSඪ४ͷ΋ͷͱಉҰ
  5.  41ద༻ͷ༏ઌॱҐ • RI͕ಉ࣌ʹଘࡏͨ͠৔߹ɺRI͕༏ઌ͞ΕΔ • EC2 Instance SP ͱCompute SP͕ಉ࣌ʹଘࡏͨ͠৔߹ɺ

    EC2 Instance SP͕༏ઌ͞ΕΔ • ಉ͡৚݅ͷ SP ʹ͓͍ͯ͸ɺׂҾ཰͕ߴ͍ର৅΁ͷద༻͕ ༏ઌ͞ΕΔ ΠϯελϯεͷଐੑΛࢦఆ͠ͳ͍෼ɺ༏ઌॱҐ͸ҙ͓͖ࣝͯ͠·͠ΐ͏ɻ
  6.  ΦϯσϚϯυͷՁ͕֨஋Լ͛͞ΕͨΒͲ͏ͳΔ ελϯμʔυ RI ίϯόʔςΟϒϧ RI EC2 Instanseɹ SP Compute

    SP Πϯελϯε Ұ୆෼ Πϯελϯε Ұ୆෼ ίϛοτֹ 64% ίϛοτֹ 64% 15 USD 15 USD 16 USD 16 USD Ձ֨͸શͯμϛʔͰ͢
  7.  ΦϯσϚϯυͷՁ͕֨஋Լ͛͞ΕͨΒͲ͏ͳΔ ελϯμʔυ RI ίϯόʔςΟϒϧ RI EC2 Instanseɹ SP Compute

    SP Πϯελϯε Ұ୆෼ Πϯελϯε Ұ୆෼ ίϛοτֹ 64% ίϛοτֹ 64% 15 USD 15 USD 16 USD 16 USD ௥ه ΦϯσϚϯυྉۚͷվఆͱ 3*41ྉۚͷվఆ͕࿈ಈ͢Δͱ͸ ݶΓ·ͤΜ
  8.  ΦϯσϚϯυͷՁ͕֨஋Լ͛͞ΕͨΒͲ͏ͳΔ Πϯελϯε Ұ୆෼ Πϯελϯε Ұ୆෼ ίϛοτֹ 64% ίϛοτֹ 64%

    15 USD 15 USD 16 USD 16 USD 64%෼༨৒ͱͳΓɺ ଞͷΠϯελϯεʹద༻Մೳ ελϯμʔυ
  9.  ΦϯσϚϯυͷՁ͕֨஋Լ͛͞ΕͨΒͲ͏ͳΔ Πϯελϯε Ұ୆෼ Πϯελϯε Ұ୆෼ ίϛοτֹ 64% ίϛοτֹ 64%

    15 USD 15 USD 16 USD 16 USD چՁ֨Λج४ͱ͢ΔͨΊɺ ૬ରతʹΦϯσϚϯυʹ ର͢ΔׂҾ཰͕௿Լ ελϯμʔυ
  10.  3*41ͷਪ঑ࣄ߲ Savings Plans Ϧβʔϒυ ɹΠϯελϯε Ϛωδϝϯτίϯιʔϧ ʮAWS Cost Explorerʯ͔Β

    աڈͷ࢖༻ঢ়گʹج͍ͮͨ ਪ঑ͷߪೖ৚݅Λ֬ೝՄೳͰ͢ɻ Ϋϥεϝιου ϝϯόʔζ഑ԼͷAWSΞΧ΢ϯτͷ৔߹ɺ ར༻ྉׂҾαʔϏεͷ࢓༷ʹΑΓ͜ͷػೳ͸࢖༻Ͱ͖·ͤΜɻɻ