https://github.com/kamdem-arielle/aws-cognito-s3-multitenant-access-app
This repository showcases a secure backup solution leveraging AWS Cognito, IAM roles, and S3 for file storage. The application enables two distinct clients (Client A and Client B) to manage and store their backup data in separate folders within an S3 bucket.
https://github.com/kamdem-arielle/aws-cognito-s3-multitenant-access-app
angular aws-s3 aws-sdk cognito github-actions iam-policy iam-role
Last synced: 12 days ago
JSON representation
This repository showcases a secure backup solution leveraging AWS Cognito, IAM roles, and S3 for file storage. The application enables two distinct clients (Client A and Client B) to manage and store their backup data in separate folders within an S3 bucket.
- Host: GitHub
- URL: https://github.com/kamdem-arielle/aws-cognito-s3-multitenant-access-app
- Owner: kamdem-arielle
- Created: 2025-04-11T21:31:38.000Z (16 days ago)
- Default Branch: main
- Last Pushed: 2025-04-11T21:51:54.000Z (16 days ago)
- Last Synced: 2025-04-11T22:34:07.989Z (16 days ago)
- Topics: angular, aws-s3, aws-sdk, cognito, github-actions, iam-policy, iam-role
- Homepage:
- Size: 3.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS Cognito S3 Multitenant Access App
This project demonstrates how to implement secure multi-tenant access to an Amazon S3 bucket using AWS Cognito, IAM Roles, and Prefix-based S3 access. Each tenant (Client A, Client B) has isolated access to their data based on their identity and group membership in Cognito.
## 🌐 Live Demo
- The site hasn't yet been deployed.---
## 🚀 Features
- 🔐 Cognito User Pool with groups (Client A and B)
- 🆔 Identity Pool with role-based access
- 🎯 IAM policies restricting access to S3 prefixes
- 🪣 S3 bucket structured with prefixes for data isolation
- 💻 Angular frontend via Cognito
- 🧱 Infrastructure as code using AWS CDK## 🔧 Tech Stack
- **AWS S3** – Secure object storage
- **AWS Cognito** – User authentication and identity federation
- **IAM** – Role-based access management
- **AWS CDK** – Infrastructure as code
- **Angular** – Frontend integration
- **GitHub Actions / Bitbucket Pipelines** – Deployment automation---
## 📖 Documentation
Detailed explanations and architecture available in the documentation folder.---
## 📌 Setup Instructions
1. Clone this repo:
```bash
git clone https://github.com/kamdem-arielle/aws-cognito-s3-multitenant-access-app.git
cd aws-cognito-s3-multitenant-access-app---
## 📌 Next stepsFor now i gave a basic setup of how to setup this app.Subsequently I might update the app and deploy it to aws S3 and a subdomain via route 53.Also I will setup a github action pipeline for automated deployments
---
Don't forget to star ⭐️ the repository if you find this helpful.
Check my profile and contact me if you need help on this.