DevOps Asked by Richard Slater on January 8, 2021
Amazon Cognito is a user management and authentication service provided by Amazon through Amazon Web Services:
Amazon Cognito lets you easily add user sign-up and sign-in to your mobile and web apps. With Amazon Cognito, you also have the options to authenticate users through social identity providers such as Facebook, Twitter, or Amazon, with SAML identity solutions, or by using your own identity system. In addition, Amazon Cognito enables you to save data locally on users devices, allowing your applications to work even when the devices are offline. You can then synchronise data across users devices so that their app experience remains consistent regardless of the device they use.
What you are effectively doing is storing your customer data in a closed system hosted by Amazon. If you are a company, such as a social network, who’s data represents a significant asset within your organisation how to you ensure that this data is protected from:
Amazon Cognito is a huge benefit to organisations and developers as it takes a particularly hard piece of software and makes it easy to implement; from a service operability perspective, we need to find ways to mitigate, remediate or accept risks to the companies assets at all times.
The Amazon Cognito streams feature can be used to backup data.
Currently, Amazon does not provide a solution to backup their Cognito user Pools. You can use the following NPM package called "cognito-backup":
npm install -g cognito-backup
cognito-backup backup-users <user-pool-id> <options> Backup all users in a single user pool
cognito-backup backup-all-users <options> Backup all users in all user pools for this account
cognito-backup backup-users eu-west-1_1_12345
cognito-backup backup-users eu-west-1_1_12345 --region eu-west-1 --file mypool.json
cognito-backup backup-all-users eu-west-1_1_12345 --region eu-west-1 --dir output
Correct answer by Kyle Steenkamp on January 8, 2021
Amazon has released a Cognito User Profiles Export Reference Architecture for exporting/importing users from a user pool. There are limitations:
Answered by ggriffin on January 8, 2021
To backup Cognito, we use AWS Glue.
Answered by Tony Vickers on January 8, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP