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

AWS re:Invent 2023 ML/AI x SaaS セッション振り返り/saas-...

hassaku63
February 06, 2024

AWS re:Invent 2023 ML/AI x SaaS セッション振り返り/saas-eng-meetup-6_hassaku63

イベントページ
https://saas-engineering-meetup.connpass.com/event/307955/

## 紹介した Workshop "SAS301 SaaS and AI/ML: Inside a multi-tenant AI/ML solution" のリンク

Multi-Tenant Machine Learning (ML) on AWS using Amazon SageMaker
https://catalog.workshops.aws/multi-tenant-ml-as-a-service/en-US

GitHub
https://github.com/aws-samples/ml-model-as-a-service-using-amazon-sagemaker

## スライド中に登場した URL のリスト

[1] SaaS Solutions on AWS: Tenant Isolation Architectures
https://docs.aws.amazon.com/whitepapers/latest/saas-solutions-tenant-isolation-architectures/welcome.html

[2] SaaS ArchiteSaaS Architecture Fundamentals - Control plane vs. application plane 
https://docs.aws.amazon.com/whitepapers/latest/saas-architecture-fundamentals/control-plane-vs.-application-plane.html

[3] MLaaS (Machine Learning as a Service) のためのマルチテナント機械学習構築環境を Amazon SageMaker Pipelines で実装する
thttps://aws.amazon.com/jp/blogs/news/implementing-a-multi-tenant-mlaas-build-environment-with-amazon-sagemaker-pipelines/

[4] サーバーワークス Youtube - プレイリスト「AWS re:Invent」
https://www.youtube.com/playlist?list=PLCRz5JqTKzflpIGqFDoyfVVifB7w_Yzjr

hassaku63

February 06, 2024
Tweet

More Decks by hassaku63

Other Decks in Technology

Transcript

  1. ࢀՃηογϣϯ SaaS ΧςΰϦͷࢀՃ࣮੷ Session Type Title SAS301 Workshop SaaS and

    AI/ML: Inside a multi-tenant AI/ML solution SAS303 Chalk Talk Inside the SaaS control plane SAS306 Breakout Session SaaS meets AI/ML & generative AI: Multi-tenant patterns & strategies
  2. ࢀՃηογϣϯ SaaS ΧςΰϦͷࢀՃ࣮੷ Session Type Title SAS301 Workshop SaaS and

    AI/ML: Inside a multi-tenant AI/ML solution SAS303 Chalk Talk Inside the SaaS control plane SAS306 Breakout Session SaaS meets AI/ML & generative AI: Multi-tenant patterns & strategies
  3. ηογϣϯ֓ཁ (SAS301) SaaS and AI/ML: Inside a multi-tenant AI/ML solution

    ஫ʣ2024/02/07 ࣌఺Ͱ͸ɺυΩϡϝϯτͱιʔείʔυͦͷ··Ͱ͸ಈ࡞͠ͳ͍Մೳੑ͋Γ [1] ϋϯζΦϯ υΩϡϝϯτ Multi-Tenant Machine Learning (ML) on AWS using Amazon SageMaker https://catalog.workshops.aws/multi-tenant-ml-as-a-service/en-US [2] ιʔείʔυ (GitHub) https://github.com/aws-samples/ml-model-as-a-service-using-amazon-sagemaker (SAS301) SaaS and AI/ML: Inside a multi-tenant AI/ML solution
  4. ηογϣϯ֓ཁ (SAS301) SaaS and AI/ML: Inside a multi-tenant AI/ML solution

    ސ٬ͷ “Tier” Ͱఏڙ͢Δ ML αʔϏεΛࠩผԽ͢ΔΞϓϩʔνͱɺͦͷ࣮ݱʹ·ͭΘΔॾ໰୊Λٞ࿦ 1. ্Ґ Tier ͷސ٬ʹ͸ಛผͳମݧΛఏڙ 1. ސ٬ࣗ਎ͷςφϯτσʔλΛֶशͨ͠ʢΑΓਫ਼౓ͷߴ͍ʣਪ࿦αʔϏεͷఏڙ 2. Usage ʹؔ͢Δ্ݶͷ؇࿨ 3. ֶशσʔλͷ෼཭ɺઐ༗ϗεςΟϯά 2. Tier ͷ۠ผΛ࣮ݱ͢ΔͨΊͷΞʔΩςΫνϟ (Pool or Silo ?) 3. Control Plane ʹΑΔ “On-Boarding” ϓϩηεͷ՝୊ 4. ڞ༻Մೳͳ෦෼Λڞ༻͢Δ 5. ΞΫηε੍ޚ ※͜͜Ͱͷ “Tier” ͸ʮܖ໿ϓϥϯʯͱ΄΅ಉٛ (SAS301) SaaS and AI/ML: Inside a multi-tenant AI/ML solution
  5. ηογϣϯ֓ཁ (SAS301) SaaS and AI/ML: Inside a multi-tenant AI/ML solution

    ސ٬ͷ “Tier” Ͱఏڙ͢Δ ML αʔϏεΛࠩผԽ͢ΔΞϓϩʔνͱɺͦͷ࣮ݱʹ·ͭΘΔॾ໰୊Λٞ࿦ 1. ্Ґ Tier ͷސ٬ʹ͸ಛผͳମݧΛఏڙ 1. ސ٬ࣗ਎ͷςφϯτσʔλΛֶशͨ͠ʢΑΓਫ਼౓ͷߴ͍ʣਪ࿦αʔϏεͷఏڙ 2. Usage ʹؔ͢Δ্ݶͷ؇࿨ 3. ֶशσʔλͷ෼཭ɺઐ༗ϗεςΟϯά 2. Tier ͷ۠ผΛ࣮ݱ͢ΔͨΊͷΞʔΩςΫνϟ (Pool or Silo ?) 3. Control Plane ʹΑΔ “On-Boarding” ϓϩηεͷ՝୊ 4. ڞ༻Մೳͳ෦෼Λڞ༻͢Δ 5. ΞΫηε੍ޚ ※͜͜Ͱͷ “Tier” ͸ʮܖ໿ϓϥϯʯͱ΄΅ಉٛ (SAS301) SaaS and AI/ML: Inside a multi-tenant AI/ML solution “Gold” Tier = ઐ༗ܕ 
 “Bronze” Tier = ϓʔϧܕϞσϧ
  6. લఏ஌ࣝ Tenant Isolation SaaS Solutions on AWS: Tenant Isolation Architectures

    
 https://docs.aws.amazon.com/whitepapers/latest/saas-solutions-tenant-isolation-architectures/welcome.html (SAS301) SaaS and AI/ML: Inside a multi-tenant AI/ML solution Silo Isolation Model Pooled Isolation Model Bridge Isolation Model
  7. લఏ஌ࣝ Tenant Isolation (SAS301) SaaS and AI/ML: Inside a multi-tenant

    AI/ML solution • ηΩϡϦςΟʗίϯϓϥΠΞϯε • εέʔϥϏϦςΟ • ίετ • Noisy Neighbor • ΦϯϘʔσΟϯάϓϩηε • ӡ༻ɾ؂ࢹ • etc..
  8. લఏ஌ࣝ Control Plane vs. Application Plane SaaS ArchiteSaaS Architecture Fundamentals

    - Control plane vs. application plane 
 https://docs.aws.amazon.com/whitepapers/latest/saas-architecture-fundamentals/control-plane-vs.-application-plane.html (SAS301) SaaS and AI/ML: Inside a multi-tenant AI/ML solution
  9. SaaS ؔ܎ • ੜ੒ AI • ΄ͱΜͲͷδϟϯϧͰԣஅతʹίϥϘ͍ͯͨ͠ҹ৅ • SaaS ෼໺Ͱ͸ੜ੒

    AI ΋ͦ͏͕ͩɺΑΓ޿͘ AI/ML ͱͷؔ܎Λѻ͏ηογϣϯ͕ෳ਺ • SaaS ؔ܎ͷτϐοΫ • Ϗδωεతͳཁ݅ͱςφϯγʔ෼཭ͷ࿩୊͕͍ۙ • ML ΞϓϦέʔγϣϯͷߏஙͱςφϯγʔ෼཭ΛབྷΊͨηογϣϯ͕ෳ਺͋ͬͨ • ʮΦϯϘʔσΟϯάʯͷॏཁੑ͸ෳ਺ͷηογϣϯͰݟฉ͖ͨ͠ • ʢ༨ஊʣAWS Marketplace Λ࢖ͬͨ MLaaS ΞʔΩςΫνϟͷ঺հهࣄ͕αΠϩܕͬΆͯ͘ڵຯਂ͔ͬͨ • MLaaS (Machine Learning as a Service) ͷͨΊͷϚϧνςφϯτػցֶशߏங؀ڥΛ Amazon SageMaker Pipelines Ͱ࣮૷ ͢Δ https://aws.amazon.com/jp/blogs/news/implementing-a-multi-tenant-mlaas-build-environment-with-amazon-sagemaker-pipelines/
  10. ݱ஍Ͱͷऩ֭ Workshop ηογϣϯ • جຊతʹ৘ใ͸ʮͦͷ৔ݶΓʯ • ಈըͷΞʔΧΠϒެ։ͳ͠ • ιʔείʔυͷϦϯΫ΍ɺҰൠެ։൛ͷυΩϡϝϯτ͸Ҋ಺͞Εͳ͍ 


    ʢαΠϨϯτެ։͕ଟ͘ɺ͔ͭηογϣϯ໊Ͱ͸ݕࡧʹώοτͮ͠Β͍ʣ • ηογϣϯͷ࿮͕ऴྃ͢ΔͱϋϯζΦϯαΠτͷ OneTime τʔΫϯ͕ࣦޮ͠ɺӾཡෆՄʹ • git clone ͢Διʔεʗ๯಄ͷλΠτϧ΍จষʗεΫγϣͳͲͳͲɺͱʹ͔͘खݩʹه࿥͓ͯ͘͠΂͠ • ϋϯζΦϯαΠτͷࢀߟϦϯΫ͕ྑ͍ • ࣗ෼͕஌Βͳ͍ϒϩάهࣄ΍υΩϡϝϯτ౳ͷ৘ใݯʹग़ձ͑Δ͔΋
  11. ʢએ఻ʣre:Invent 2023 - ݱ஍Ϩϙʔτಈը AWS re:Invent 2023 ೔هಈը (Day1) -

    ։࠵ॳ೔ʂ (05:00) SAS301 SaaS and AI/ML: Inside a multi-tenant AI/ML solution AWS re:Invent 2023 ೔هಈը (Day4) - SaaS ؔ܎ͷηογϣϯΛݟ͖ͯͨ (01:38) SAS303 Inside the SaaS control plane (06:55) SAS306 SaaS meets AI/ML & generative AI: Multi-tenant patterns & strategies Topics: ࣋ͪ΋ͷʗݱ஍ͷա͝͠ํʗEXPOʗGameDay etc.. SaaS ؔ࿈ͷτʔΫ