Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gsy0911/zenn-streamlit-cognito


https://github.com/gsy0911/zenn-streamlit-cognito

Last synced: 24 days ago
JSON representation

Awesome Lists containing this project

README

        

# zenn-streamlit-cognito

[![cdk-version](https://img.shields.io/badge/aws_cdk-2.27.0-green.svg)](https://formulae.brew.sh/formula/aws-cdk)
[![NodeVersion](https://img.shields.io/badge/node-16.15.0-blue.svg)](https://nodejs.org/ja/)

![](./streamlit_cognito_infra.png)

# zenn article

- [cognitoを利用してstreamlitへのアクセス範囲を限定する](https://zenn.dev/gsy0911/articles/da47b660b7dd2b7d1ae7)
- see: [tag: CDKv1](https://github.com/gsy0911/zenn-streamlit-cognito/tree/CDKv1)

# deploy step

1. create `infra/params.ts` from example

```shell
$ cp infrastructure/lib/paramsExample.ts infrastructure/lib/params.ts
```

2. prepare your domain in `Route53`
3. get Certificate of your domain in `ACM`

4. edit `params.ts` and set parameters
5. deploy via CDK

```shell
# in infra directory
$ cdk ls
streamlit-cognito

$ cdk deploy
Do you wish to deploy these changes (y/n)? y
...
```

6. access your domain