2016å¹´3æ12æ¥ãJAWS DAYSã§ã®ç»å£è³æã§ãã http://jawsdays2016.jaws-ug.jp/ å½æ¥ã¯åé ã§ãã¢ããã¾ãããRead less
Amazon Congnitoãç¨ãã¦AWSèªè¨¼æ å ±ãä¸æçã«åå¾ãã¦ãé©åãªã¢ã¯ã»ã¹å¶éãããããã¨æãã¾ããã¹ãããããã¤ã¹ããAmazon S3ãAmazon DynamoDBãAmazon Kinesisã«ãã¼ã¿ãããã¦ããéã«ãã¯ã¬ãã³ã·ã£ã«ãã¯ã©ã¤ã¢ã³ãå´ã«ãã¾ãç½®ããããªãã®ã§ãCognitoã使ããã¨ã«ãã¾ãã Amazon Cognitoã¨ã¯ Cognitoã¯AWSãç¨ããã¹ããã®ã¢ããªéçºãããç°¡åã«ããããã®ã¦ã¼ã¶ã®èªè¨¼ãããã¤ã¹æã®ãã¼ã¿ã®åæãç°¡åã«å®ç¾ããããã®ãµã¼ãã¹ã§ããAmazonãFacebookãGoogle ã¨ãã£ããããªãã¯ãã°ã¤ã³ãããã¤ãã使ç¨ãã¦èªè¨¼ã§ãã¾ãããããã§ã¯ããããªãã¯ãã°ã¤ã³ãããã¤ãã使ããã«Cognitoã®ã²ã¹ãã¢ã¯ã»ã¹ã®æ©è½ãç¨ãã¦ãã¢ã¯ã»ã¹å¶éã®ããã®ã¿ã«ä½¿ãã¾ããã¤ã¾ããã¢ããªã±ã¼ã·ã§ã³ã«èªè¨¼æ å ±ããã¼ãã³ã¼ãã£ã³ã°ã
S3ã¨Lambdaã¨Cognitoã使ã£ã¦ãç°¡åã§ã»ãã¥ã¢ãªãåãåãããã©ã¼ã ã·ã¹ãã ãä½ã£ã¦ã¿ã¾ãã è¨äºå·çå½æãCognitoããã¼ã¸ãã¢/ã¢ã¤ã«ã©ã³ãã®ã¿å©ç¨å¯è½ã ã£ããããä»åã¯S3/Lambda/Congitoå ¨é¨ãã¼ã¸ãã¢(us-east-1)ã«æãã¦ãã¾ãï¼S3ã¨Lambdaã¯ãªã¼ã¸ã§ã³æããå¿ è¦ãããã¾ãï¼ã2015å¹´9æ以éãæ±äº¬ãªã¼ã¸ã§ã³ã§ãCognitoã¯å©ç¨å¯è½ã¨ãªã£ã¦ãã¾ãã å ¨ä½å S3ä¸ã«ãã¹ãã£ã³ã°ãã¦ãããåãåãããã©ã¼ã ããæ稿ããã¨ãS3ä¸ã«JSONå½¢å¼ã§å 容ãuploadããã¾ãããã¡ã¤ã«ãuploadãããã¨ãLambdaãã¤ãã³ãããã¯ãã¦å 容ãGmailã«éä¿¡ããæ§é ã§ãã ãåãåããæ°ã®å°ãªããµã¤ãã§ã¯ãããã§ååã§ãããã SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã¨ã¯ç¡ç¸ã§ãããè² è·ãæ°ã«ããªãã¦è¯ãã®ã§ãé¸æè¢ã¨ãã¦ã¯ããããªã¨æãã¾ãã 0 æºå
ãç´æã§ãããããã¯å人ã®ã¡ã¢/æè¦ã§ãããæå±ããçµç¹ã代表ãããã®ã§ã¯ããã¾ããã Amazon Cognito? Amazon Cognitoã¯ã主ã«ã¢ãã¤ã«ããã¤ã¹ããã©ã¦ã¶ããç´æ¥AWSã®å種ãµã¼ãã¹ã使ãéã«å©ç¨ããããèªè¨¼èªå¯ã®ããã®ãµã¼ãã¹ãå®éã«ãã®æ©è½ã¯IAM Roleã¨ã®çµã¿åããã§å®ç¾ããã¦ããã以ä¸ã®2ã¹ãããã§åã èªè¨¼: Facebookãªã©ã®ã½ã¼ã·ã£ã«ç³»ã®ãµã¼ãã¹ãããã¯OpenID Connect Providerãã¦ã¼ã¶ã¼ç¬èªã®èªè¨¼ãµã¼ãã¹ã§ã¦ã¼ã¶ã¼ãèªè¨¼ãããï¼ãã®ã¨ãã«CognitoIDã¨ãããã®ãæãåºããããã¦ã¼ã¶ã¼ãã¨ã«ã¦ãã¼ã¯ãï¼ èªå¯: èªè¨¼ãããã¦ã¼ã¶ã¼ã«å¯¾ãã¦ãäºãæå®ãããIAM Roleã®æ¨©éãèªå¯ããã èªè¨¼ã®ãªãã·ã§ã³ã¯ä»¥ä¸ã®ã¨ãã ã½ã¼ã·ã£ã«ãµã¼ãã¹ Facebookã¢ã㪠Google Amazon OpenID Conne
A sample installation script using Bash (init.sh) is provided to install and configure all necessary resources in your AWS account: the Amazon S3 bucket to host the sample HTML pages the Amazon DynamoDB table for users and credentials the AWS Identity and Access Management (IAM) roles for Amazon Cognito and AWS Lambda the Amazon Cognito identity pool the AWS Lambda functions The init.sh script req
1. Amazon Cognito Mobile Identity Management and Data Synchronization Amazon Data Service Japan K.K. Solutions Architect Keisuke Nishitani(@Keisuke69) 2015.09.28 2. èªå·±ç´¹ä» { "Name" : "西谷åä»", "Twitter" : "@Keisuke69", "Profile" : { "Role" : "Solution Architect", "Customers": [ "Web Services", "Start-up" ], "Services" : [ "AWS Lambda", "Amazon API Gateway", "All Mobile Services" ] } } 4. ã¢ãã¤ã«éçºã«ããã課é¡
ããã«ã¡ã¯ããã¼ã®ã§ããä»æ¥ã¯ããããã§ç¡ãã£ãTipsãåå¿é²ãå«ãã¦ãç´¹ä»ãã¾ãã Amazon Cognitoã®ä½¿ãæ¹ Amazon Cognitoã使ãã¨AWSãªã½ã¼ã¹ãAPI KEYãªãã«ä½¿ç¨ã§ããã®ã§æ¼æ´©ã®å¿é ããªãã»ãã¥ãªãã£çã«é常ã«å®å¿ã§ãã¾ãã ã¾ã使ãæ¹ãç°¡åã§ãä¾ãã°AWS SDK for JavaScriptã§Amazon Cognitoã®èªè¨¼ãããå ´å㯠AWS.config.region = "us-east-1"; AWS.config.credentials = new AWS.CognitoIdentityCredentials({ AccountId: "123456789012", RoleArn: "arn:aws:iam::123456789012:role/Cognito_Unauth_Role", IdentityPoolId: 'us-ea
AWS Lambda ãã¢ãããã¼ãããã¾ãã ãã¾ã¾ã§ Lambda 㯠AWS Mobile SDK ããã¯å¼ã³åºããã¨ãã§ãã¾ããã§ããããæ¬æ¥ã®ã¢ãããã¼ãã«ãã AWS Mobile SDK ããå¼ã³åºããã¨ãã§ããããã«ãªããããã«åæå¼ã³åºããå¯è½ã«ãªãã¾ããï¼ åæå¼ã³åºãã¨ããã®ã¯ãLambda ãã¡ã³ã¯ã·ã§ã³ã®å¦ççµæãå¼ã³åºãå ã«ã¬ã¹ãã³ã¹ã¨ãã¦è¿ããã¨ãã§ããæ©è½ã®ãã¨ã§ãããã¾ã¾ã§ã¯éåæå¼ã³åºããã対å¿ãã¦ããããå¼ã³åºãå ã«ã¯ãæ£å¸¸ã«å¼ã³åºãã¾ããããã¨ããæ å ±ãã渡ã£ã¦ãã¾ããã§ããã ã¤ã¾ãããã¯ä½ãæããã¨è¨ãã¨ãLambda ãã¢ãã¤ã«ã¢ããªã® API ãµã¼ãã®ããã«å©ç¨ã§ããããã«ãªã£ãã¨ãããã¨ã§ããæ¿ã¢ãã§ãï¼ æ¨æ¥ã® Lambda ã®ã¢ãããã¼ãã«ä¼´ããAWS Mobile SDK ãã¢ãããã¼ãããã¾ãããAWS SDK for iOS ã¯
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}