{"id":18903984,"url":"https://github.com/dudeperf3ct/5-ml-fastapi-gcp-serverless","last_synced_at":"2026-03-04T08:30:19.475Z","repository":{"id":191864850,"uuid":"436615405","full_name":"dudeperf3ct/5-ml-fastapi-gcp-serverless","owner":"dudeperf3ct","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-09T14:36:10.000Z","size":1212,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-31T10:17:35.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/dudeperf3ct.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}},"created_at":"2021-12-09T12:51:15.000Z","updated_at":"2023-03-04T09:02:07.000Z","dependencies_parsed_at":"2023-09-01T07:33:12.860Z","dependency_job_id":null,"html_url":"https://github.com/dudeperf3ct/5-ml-fastapi-gcp-serverless","commit_stats":null,"previous_names":["dudeperf3ct/5-ml-fastapi-gcp-serverless"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudeperf3ct%2F5-ml-fastapi-gcp-serverless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudeperf3ct%2F5-ml-fastapi-gcp-serverless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudeperf3ct%2F5-ml-fastapi-gcp-serverless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudeperf3ct%2F5-ml-fastapi-gcp-serverless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dudeperf3ct","download_url":"https://codeload.github.com/dudeperf3ct/5-ml-fastapi-gcp-serverless/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239888481,"owners_count":19713692,"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-08T09:07:00.424Z","updated_at":"2026-03-04T08:30:19.409Z","avatar_url":"https://github.com/dudeperf3ct.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Deploy ML model to GCP using FastAPI\n\nGCP app: https://wine-ratings-b4yojuwgbq-uc.a.run.app/\n\nIn this exercise, we will build a fastapi ML application and deploy it with continuous delivery on GCP using Cloud Run and Cloud Build..\n\n### ML\n\nTo build a ML model, refer the colab notebook under `notebooks` folder.\n\n### FastAPI\n\nTo validate the fastapi application locally,\n\n```bash\ndocker build -t wine .\ndocker run --rm -it -v $(pwd):/app -p 8000:8000 wine\n```\n\n### GCP\n\nTo deploy the fastapi application on GCP following steps were taken.\n\n1. While creating repo, add Google Cloud Build from Marketplace.\n\n2. Create google cloud account.\n\n3. Create a service in `Cloud Run` adding this repo as `Continuous Deploy from source repository`\n\n   \u003e Add 8000 under Containers in section Container, Variables \u0026 Secrets, Connections, Security\n\n4. App will deployed, to monitor keep checking logs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdudeperf3ct%2F5-ml-fastapi-gcp-serverless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdudeperf3ct%2F5-ml-fastapi-gcp-serverless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdudeperf3ct%2F5-ml-fastapi-gcp-serverless/lists"}