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

JAWS-UG Okayama 20160618

JAWS-UG Okayama 20160618

「クラウドネイティブ」な時代に必要なこと

@twingo_b

June 18, 2016
Tweet

More Decks by @twingo_b

Other Decks in Technology

Transcript

  1. ʮAWSΤΩεύʔτཆ੒ಡຊʯ ʹدߘ͠·ͨ͠! • http://gihyo.jp/book/ 2016/978-4-7741-7992-6 • 2-5 Amazon Elasticsearch ServiceͰ͓खܰ

    શจݕࡧγεςϜ +----------------+ +--------------------+ | DynamoDB table | | Elasticseach index | +----------------+ +--------+ +----------+ +--------------------+ | item 1 | | | | Lambda | | item 1 | +----------------+---> Stream +---> +--->--------------------+ | item 2 | | | | Function | | item 2 | +----------------+ +--------+ +----------+ +--------------------+ | item 3 | | item 3 | +----------------+ +--------------------+
  2. ຊ೔঺հ͢ΔCognitoͷػೳ •Cognito Identity •Cognito Sync •Cognito Push Sync SNS Mobile

    Push + Silent Push •Cognito Identity User Pools (Beta) 2016/04/21 AWS Summit 2016 Chicago Ͱൃ ද͞Εͨ΋ͷ
  3. Cognito Identity & Sync ͷ iOSΞϓϦσϞ Amazon Web Services Ϋϥ΢υωΠςΟϒɾΞϓϦέʔγϣϯ։ൃٕ๏

    3-6 Amazon Cognito • http://www.sbcr.jp/products/4797386318.html • https://github.com/takuros/aws-application-book/tree/master/ examples/chapter03/03-06-CognitoSample/iOSApp
  4. Cognito Identity ͦͷଞػೳ •Unauthenticated Identities •ඇೝূͰ΋ɺSTSൃߦΛڐՄ ΫϥΠΞϯτଆʹΫϨσϯγϟϧ৘ใΛอ࣋͢Δඞཁ͕ͳ͍ •IAM RoleͰೝՄ͢ΔϦιʔεΛݶఆ͢Δ͜ͱͰɺॊೈͳ࢖͍ํ͕Մೳ •AWS

    SDK for JavaScript Λར༻ͯ͠ɺ௚઀ϒϥ΢β͔ΒS3΍ DynamoDBʹσʔλΛૹ৴ͨ͠ΓͰ͖Δ •Cognito Streams ಉظετΞͷߋ৽৘ใΛAmazon Kinesisʹྲྀ͠ࠐΉ͜ͱ͕Ͱ͖Δ •Cognito Events Cognitoͷ֤छΠϕϯτΛݕ஌ͯ͠ɺAWS Lambda FunctionΛ࣮ߦ
  5. User Poolͷ࡞੒ •Attributes standard attributes custom attributes •Policies password strengthΛࢦఆ

    •Verifications ϝοηʔδͷΧελϚΠζΛ͍ͨ͠ͱ͖͸ɺTriggers͔ΒLambda functionΛࢦఆ͢Δ •Apps App NameΛࢦఆ •Triggers ΠϕϯτΛϑοΫͯ͠Lambda functionͷ࣮ߦ͕Մೳ
  6. Cognito Identity User Pools [Beta] ͷ͜Ε͔Βʹظ଴ͳͱ ͜Ζ 2016/06/18࣌఺ • standard

    attributeͷઃఆΛ࡞੒ޙʹมߋ͢Δ ͜ͱ͕Ͱ͖ͳ͍ • طଘೝূج൫͔ΒͷҠߦखஈ͕ཉ͍͠
  7. Cognito ͷΦϯϥΠϯࢿྉ •Amazon Cognito Deep Dive @ JAWS DAYS http://www.slideshare.net/akitsukada/amazon-

    cognito-deep-dive-jaws-days-2016 •Black Belt Online Seminar Amazon Cognito http://www.slideshare.net/AmazonWebServicesJapan/ black-belt-online-seminar-amazon-cognito
  8. ʮAmazon Web Services Ϋϥ ΢υωΠςΟϒɾΞϓϦέʔγϣ ϯ։ൃٕ๏ʯຊ΋͓͢͢Ίʂ http://www.sbcr.jp/products/4797386318.html • 3-6 Amazon

    Cognito • 4-1 CognitoʹΑΔೝূΛར༻ͨ͠εϚʔτϑΥϯ޲͚ࣸਅڞ༗ΞϓϦέʔγϣ ϯ • 4-3 API GatewayͱCognitoɺLambdaΛ࿈ܞͨ͠ೝূɾೝՄαʔϏε • 4-11 Cognito SyncΛ࢖ͬͨ؆қϝϞΞϓϦέʔγϣϯ
  9. Q&A