{"id":50622343,"url":"https://github.com/joel-hanson/flask-aws-project","last_synced_at":"2026-06-06T13:02:17.621Z","repository":{"id":87740979,"uuid":"363594882","full_name":"Joel-hanson/flask-aws-project","owner":"Joel-hanson","description":"A project implemented in Flask uses APIs for spinning up servers.","archived":false,"fork":false,"pushed_at":"2021-05-02T09:00:57.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-11T18:25:17.152Z","etag":null,"topics":["aws","bash","boto3","docker","ec2","flask","nginx","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Joel-hanson.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,"governance":null}},"created_at":"2021-05-02T07:43:29.000Z","updated_at":"2023-03-04T10:36:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"251480a4-3d62-438b-a845-cfc609133f78","html_url":"https://github.com/Joel-hanson/flask-aws-project","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"82bec6bb6dad9395585e0fe3590178a14346b327"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Joel-hanson/flask-aws-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joel-hanson%2Fflask-aws-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joel-hanson%2Fflask-aws-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joel-hanson%2Fflask-aws-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joel-hanson%2Fflask-aws-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Joel-hanson","download_url":"https://codeload.github.com/Joel-hanson/flask-aws-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joel-hanson%2Fflask-aws-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33983046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws","bash","boto3","docker","ec2","flask","nginx","python"],"created_at":"2026-06-06T13:02:06.792Z","updated_at":"2026-06-06T13:02:17.616Z","avatar_url":"https://github.com/Joel-hanson.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Requirements\n\n1. Python (3.6, 3.7, 3.8, 3.9)\n2. boto3 (1.12.39)\n3. flask (1.1.2)\n\n## Get started\n\nStep 1: Install requirements\n\n`pip install -r requirements.txt`\n\nStep 2: Run the app\n\n`python app.py`\n\n## How to run\n- You sould have configured the AWS `access_key` and `secret_key`\n- In the current project I have set a AWS profile and using that profile we are making session to run the boto3 actions.\n\n#### AWS configurations\n- The app is configured to run all the instances in the region us-west-2\n- The default server is t2.micro\n\n#### How to create instances\n1. The API to create the instance is at `/api/create`\n2. The `instance_type` parameter can be passed to spin up instance with the given instance_type\n3. The `use_custom_image` parameter can passed to spin up a custom image to spin up the image having docker\n\n#### How to get status of the instances\n1. The API to get the status of the instance is at `/api/status`\n2. The parameter `instance_id` can be passed to get he status of a particular instance\n\n#### How to create key pair using boto3\n1. There is a function in utils.pt `create_key_pair` to create the key pair\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoel-hanson%2Fflask-aws-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoel-hanson%2Fflask-aws-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoel-hanson%2Fflask-aws-project/lists"}