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

特別編 Aurora Serverless v2

特別編 Aurora Serverless v2

AWSの基礎を学ぼうで使ったLT資料です
https://awsbasics.connpass.com/event/246888/

9eca6d3a5658ef22998083a3d8e7ec44?s=128

ShigeruOda

June 04, 2022
Tweet

More Decks by ShigeruOda

Other Decks in Technology

Transcript

  1. ಛผฤ Aurora Serverless v2 ΍ͬͯΈͨLT 2022.06.04 ৫ా ൟ

  2. ࣗݾ঺հ • ৫ా ൟʢ͓ͩ ͛͠Δʣ • AWS Samurai 2021 •

    JAWS-UG ॳ৺ऀࢧ෦ɺJAWS Sonic 2020ɺJAWS DAY 2021ɺJAWS Pankration 2021ɺJAWS-UGࣄ຿ہͷӡӦϝϯόʔ • ࠓ೔͸એ఻݉Ͷͯͷ”΍ͬͯΈͨLT”Ͱ͢ɻ
  3. None
  4. None
  5. ొ࿥αΠτ͸ҎԼ͔Βɺ͋ͱͰ࠶ܝ͢ΔͷͰΧϝϥ४උΑΖ

  6. Aurora Serverless v2 Ϣʔεέʔε

  7. Aurora Serverless v2ͷϢʔεέʔεɿมಈ͢ΔϫʔΫϩʔυ

  8. Aurora Serverless v2ͷϢʔεέʔεɿϚϧνςφϯτΞϓϦέʔγϣϯ

  9. Aurora Serverless v2ͷϢʔεέʔεɿ৽͍͠ΞϓϦέʔγϣϯ

  10. Aurora Serverless v2ͷϢʔεέʔεɿ։ൃͱςετ

  11. Aurora Serverless v2ͷϢʔεέʔεɿ༰ྔܭը

  12. Aurora Serverless v2ͷϢʔεέʔεɿෳ߹༻్ͷΞϓϦέʔγϣϯ

  13. Aurora Serverless v2 Ϧʔμʔͷঢ֨֊૚ͷબ୒

  14. Ϧʔμʔͷঢ֨֊૚ͷબ୒

  15. ͓ࢼ͠ ߏ੒ਤ

  16. ߏ੒ਤ

  17. ͓ࢼ͠ Ϧʔμʔͷঢ֨֊૚ͷબ୒

  18. ࡞੒࣌ɿجຊతʹ͸σϑΥͰ࡞੒

  19. Ϧʔμʔͷঢ֨֊૚ͷબ୒

  20. Tierͷ֬ೝ Writer InstanceͷTier $ aws rds describe-db-instances \ > --db-instance-identi

    fi er rds-serverless-instance-1 \ > | jq '.DBInstances[].PromotionTier' 1 Reader InstanceͷTier $ aws rds describe-db-instances \ > --db-instance-identi fi er rds-serverless-instance-1-ap-northeast-1a \ > | jq '.DBInstances[].PromotionTier' 1
  21. Reader Instanceͷ௥Ճ

  22. Tierͷ֬ೝ ௥ՃReader InstanceͷTier aws rds describe-db-instances \ > --db-instance-identi fi

    er rds-serverless-instance-1-ap-northeast-1c \ > | jq '.DBInstances[].PromotionTier' 2
  23. ϥΠλʔΠϯελϯε΁ͷॻ͖ࠐΈෛՙֻ͚ ɾWriterΤϯυϙΠϯτར༻ ɾ1Ϩίʔυɺ100ΧϥϜ ɾ1000ϨίʔυͷInsertΛ10ճ ɾ10ฒྻ

  24. ϥΠλʔΠϯελϯε ෛՙʹ߹Θͤͯ ACUͱvCPU্͕͕Δ

  25. ϦʔμʔΠϯελϯε ϥΠλʔΠϯελϯεʹ߹Θ ͤͯACUͱvCPU্͕͕Δ

  26. ϦʔμʔΠϯελϯεʢ௥Ճʣ Tier2ͳͷͰجຊӨڹͳ͠ ɻɻɻͪΐͬͱ্͕Δ

  27. ϦʔμʔΠϯελϯε΁ͷಡΈࠐΈෛՙֻ͚ ɾReaderΤϯυϙΠϯτར༻ ɾ1000Ϩίʔυɺ100ΧϥϜ ɾSelectΛ10ճ ɾ10ฒྻ

  28. ϥΠλʔΠϯελϯε ϥΠλʔ͸มಈͳ͠

  29. ϦʔμʔΠϯελϯε ϦʔμʔӨڹͳ͠ ಉ͡SQLͰΩϟογϡ͞Εͨʁ

  30. ϦʔμʔΠϯελϯεʢ௥Ճʣ ෛՙʹԠͯ͡ ACUͱvCPU͕͕͋ͬͨɻ

  31. ొ࿥αΠτ͸ҎԼʂʂ