{"id":24835761,"url":"https://github.com/tobilg/serverless-cubejs","last_synced_at":"2025-06-22T13:08:31.115Z","repository":{"id":55767608,"uuid":"288989837","full_name":"tobilg/serverless-cubejs","owner":"tobilg","description":"Serverless Cube.js backend infrastructure on AWS","archived":false,"fork":false,"pushed_at":"2020-12-12T11:26:41.000Z","size":70,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-22T13:08:25.516Z","etag":null,"topics":["athena","aurora","cubejs","serverless"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tobilg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-20T11:37:34.000Z","updated_at":"2024-09-09T19:20:40.000Z","dependencies_parsed_at":"2022-08-15T06:50:50.633Z","dependency_job_id":null,"html_url":"https://github.com/tobilg/serverless-cubejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tobilg/serverless-cubejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobilg%2Fserverless-cubejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobilg%2Fserverless-cubejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobilg%2Fserverless-cubejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobilg%2Fserverless-cubejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobilg","download_url":"https://codeload.github.com/tobilg/serverless-cubejs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobilg%2Fserverless-cubejs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261296968,"owners_count":23137221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["athena","aurora","cubejs","serverless"],"created_at":"2025-01-31T04:51:41.619Z","updated_at":"2025-06-22T13:08:26.088Z","avatar_url":"https://github.com/tobilg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-cubejs\nServerless Cube.js backend infrastructure on AWS.\n\n## Architecture\n\nThis project uses\n\n* API Gateway HTTP APIs for hosting the Cube.js backend API\n* Athena for querying data in S3\n* Aurora Serverless for pre-aggregations\n* ElastiCache for query result caching\n\nAll of that runs in a preconfigured VPC. You can also have a look at the stack diagram in [docs/stack.drawio](docs/stack.drawio). \n\nAWS pricing applies, please make yourself familiar with the pricing of the deployed resources **BEFORE** you deploy the stack. This will not be covered by the AWS Free Tier!\n\n## Usage\n\n### Prerequisites\n\nYou'll need an AWS account (obviously), and a readily installed [Serverless framework](https://www.serverless.com), along with local AWS credentials.\n\n### Cube configuration\n\nYou need to adapt (or add) the schemas for your cube in the [schema](schema/) folder appropriately (see [Cube.js docs](https://cube.dev/docs/cube)).\n\n### Deployment\n\n```bash\n$ sls deploy --aurora-password YOUR_AURORA_PASSWORD --s3-data-bucket YOUR_S3_BUCKET_NAME --cube-secret YOUR_CUBE_SECRET\n```\n\nThe default stage that will be used is `dev`. You can also specify if via the `--stage` commandline option.\n\n### Removal\n\n```bash\n$ sls remove\n```\n\nIt's possible that you have to manually clean some resources, e.g. the S3 bucket with the Athena query results.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobilg%2Fserverless-cubejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobilg%2Fserverless-cubejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobilg%2Fserverless-cubejs/lists"}