{"id":15723153,"url":"https://github.com/robmarkcole/aws-app-runner-demo","last_synced_at":"2025-03-31T00:17:07.708Z","repository":{"id":85843886,"uuid":"385149746","full_name":"robmarkcole/aws-app-runner-demo","owner":"robmarkcole","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-12T06:43:20.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T00:07:45.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/robmarkcole.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":"2021-07-12T06:42:27.000Z","updated_at":"2021-07-23T07:22:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"151e7983-b75a-41d8-b004-4a59a4ce5aca","html_url":"https://github.com/robmarkcole/aws-app-runner-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Faws-app-runner-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Faws-app-runner-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Faws-app-runner-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robmarkcole%2Faws-app-runner-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robmarkcole","download_url":"https://codeload.github.com/robmarkcole/aws-app-runner-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246395594,"owners_count":20770243,"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-10-03T22:10:29.694Z","updated_at":"2025-03-31T00:17:07.576Z","avatar_url":"https://github.com/robmarkcole.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# app-runner-demo\nDemo application for AWS App Runner using [starlette](https://www.starlette.io/) following example [hello-app-runner](https://github.com/aws-containers/hello-app-runner). Can be used to host ML models using [fastai2-Starlette](https://github.com/muellerzr/fastai2-Starlette). App Runner is not yet available in London region so apps run in Ireland region.\n\n- https://docs.aws.amazon.com/apprunner/latest/dg/what-is-apprunner.html and https://github.com/aws-containers/hello-app-runner\n- two routes to deplolment (a) code (b) docker image on ECR\n\n## Docker\n```\ndocker build -t app-runner-demo .\ndocker run -p 8000:8000 app-runner-demo:latest\n```\n\n## Dev\n* `python3 -m venv venv`\n* `source venv/bin/activate`\n* `pip3 install -r requirements.txt`\n* `python3 app.py`\n\n## Deployment\nDeploying from github repo using the `apprunner.yaml` file is working OK.\n\nUsing deployment approach (b) using ECR, getting error: `Error in assuming access role arn:aws:iam::118655806378:role/service-role/AppRunnerECRAccessRole`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Faws-app-runner-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobmarkcole%2Faws-app-runner-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobmarkcole%2Faws-app-runner-demo/lists"}