{"id":20114357,"url":"https://github.com/jetbridge/aws-run-container-demo","last_synced_at":"2025-09-21T01:32:36.992Z","repository":{"id":98605750,"uuid":"599916250","full_name":"jetbridge/aws-run-container-demo","owner":"jetbridge","description":"Example of running containers on AWS with GitHub and CDK","archived":false,"fork":false,"pushed_at":"2023-08-03T03:18:22.000Z","size":462,"stargazers_count":5,"open_issues_count":3,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-13T18:39:19.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jetbridge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-10T06:50:33.000Z","updated_at":"2023-10-05T17:01:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5bef5c1-986d-4755-89da-ffdc5d9c12b9","html_url":"https://github.com/jetbridge/aws-run-container-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetbridge%2Faws-run-container-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetbridge%2Faws-run-container-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetbridge%2Faws-run-container-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jetbridge%2Faws-run-container-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jetbridge","download_url":"https://codeload.github.com/jetbridge/aws-run-container-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233699721,"owners_count":18716264,"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":[],"created_at":"2024-11-13T18:29:29.088Z","updated_at":"2025-09-21T01:32:31.644Z","avatar_url":"https://github.com/jetbridge.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Runtainer\n\n## What is this?\n\nAn example of deploying AWS-native services with CDK and GitHub Actions.\n\n## What does this example do?\n\n### Creates\n\n- VPC\n- API Gateway\n- Lambda function triggered by API gateway\n- Load-balanced containerized application running on Fargate\n\n### Features\n\nUses CDK to describe our infrastructure as code.\n\nBuilds a docker image that is deployed to Fargate behind an ALB.\n\nDemonstrates how to use [GitHub actions with OIDC authentication](https://github.com/aws-actions/configure-aws-credentials#assuming-a-role) as\nrecommended by AWS for a CI/CD pipeline.\n\nUses [Serverless Stack](https://sst.dev/) to provide [live local lambda development](https://docs.sst.dev/live-lambda-development).\n\nShared typescript library in `packages/core`.\n\n## Instructions\n\n### Install prerequisites\n\nNode 18 is recommended.\n\n```shell\nnpm i -g pnpm\npnpm i\n```\n\n### Provide AWS credentials\n\nFollow [these instructions](https://docs.sst.dev/advanced/iam-credentials).\n\n### Configure CI/CD pipeline\n\nTo configure CI/CD you will need to create a role for GitHub Actions to authenticate as.\n\n1. Edit `.env` and set your GitHub org\n1. Deploy to your dev environment: `pnpm deploy:dev`\n1. Copy the value of the `CICD ROLE:` stack output ARN to `.github/workflows/deploy.yml` under `DEV_AWS_ROLE` - this will let your GitHub action authenticate with OIDC to AWS.\n\nPush to `master` to deploy to the `dev` environment, push to the `prod` branch to deploy to production.\n\n#### Alternative\n\n[Seed](https://seed.run) is a great tool for deploying CDK and SST apps to AWS.\n\n## Files\n\nYou will want to edit these files for your setup:\n\n- `sst.config.ts` - can configure default regions, AWS profiles, stacks to deploy, app name\n- `.env` - configure your GitHub org for GitHub action authentication\n- `stacks/` - infrastructure lives in here\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetbridge%2Faws-run-container-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjetbridge%2Faws-run-container-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjetbridge%2Faws-run-container-demo/lists"}