{"id":26028682,"url":"https://github.com/tyler-cromwell/sdp","last_synced_at":"2025-03-06T17:19:22.091Z","repository":{"id":36363892,"uuid":"223629482","full_name":"tyler-cromwell/SDP","owner":"tyler-cromwell","description":"Senior Design Project: AWS Cloud Project Management Application","archived":false,"fork":false,"pushed_at":"2023-01-07T12:08:24.000Z","size":2226,"stargazers_count":2,"open_issues_count":25,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-16T00:19:04.743Z","etag":null,"topics":["angular8","aws","python3","typescript"],"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/tyler-cromwell.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":"2019-11-23T17:45:08.000Z","updated_at":"2023-03-05T04:57:20.000Z","dependencies_parsed_at":"2023-01-17T00:49:09.922Z","dependency_job_id":null,"html_url":"https://github.com/tyler-cromwell/SDP","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/tyler-cromwell%2FSDP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyler-cromwell%2FSDP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyler-cromwell%2FSDP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tyler-cromwell%2FSDP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tyler-cromwell","download_url":"https://codeload.github.com/tyler-cromwell/SDP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242250927,"owners_count":20096898,"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":["angular8","aws","python3","typescript"],"created_at":"2025-03-06T17:19:21.353Z","updated_at":"2025-03-06T17:19:22.084Z","avatar_url":"https://github.com/tyler-cromwell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDP: AWS Cloud Project Management Application\n\nAn Angular 8 web application for managing collections of Amazon Web Services (AWS) resources.\nThis application serves as our Senior Design Project (SDP) for the Computer Science program at the University of Connecticut.\n\n\n## Project Setup\n\nSetup is completed in 2 parts. The first is to setup to deploy the backend infrastructure, and the second is to serve the frontend application.\n\n\n### Backend\n\nTo deploy the backend, execute the following steps:\n\n1. `cd aws/infra/` (from the project root directory)\n2. `./main.py -p \u003cAWS account credentials text file\u003e` (for details, see `./aws/infra/README.md`)\n3. `cp confidential.json ../../src/` (for details, see `./aws/infra/README.md`)\n\n\n### Frontend\n\n1. `cd ./src` (from the project root directory)\n2. `ng serve --host \u003cexternal IP\u003e --port \u003c#\u003e`\n\n\n## Noteworthy AWS Behavior \u0026 Obstacles\n\n1. DynamoDB tables must **NOT** be created with any keys other than the parition and sort keys, and their attributes must map 1-to-1.\nAny other keys will automatically be added when data containing it is inserted into the table.\n\n2. The `IntegrationHTTPMethod` key under `Integration` under `Properties` for a resource with type `AWS::ApiGateway::Method` must contain the value `POST`, regardless of the HTTP method it fulfills.\nThe actual method is specified with the key `HttpMethod` under `Properties`.\n\n3. When creating an EC2 Instance, the default security group does not open any port for SSH.\nTo resolve this, a new security group that opens a desired port must be created.\n\n4. EC2 instances can be instructed to run a **BASH** script once creation is completed (for an example, see the `UserData` key under the `add_ec2_instance` function in `./aws/infra/template.py` or the `addEC2Instance` function in `./src/template.ts`).\n\n5. When CloudFormation is peforming an action with a status ending with `_IN_PROGRESS`, subsequent commands will **NOT** be queued and the client the initiated the request will **NOT** be notified.\nStatus updates must be **polled**.\n\n6. CloudFormation does **NOT** namespace resources.\nTherefore, if a resource with a certain name/id already exists in one CloudFormation stack, the creation of another resource with the same name/id in another stack will fail.\nA simple workaround we applied was to prefix resource names \u0026 ids with the name of the stack.\n\n7. **AWS Resource names have a character limit.**\n\n8. CloudFormation stacks cannot be created without at least 1 resource defined.\nOur solution is to track/store the template in the database.\nOn submission of an a resource creation form, check if a resource exists, and if not we create the stack, otherwise we update the stack.\nHowever, **there is currently no logic that waits for the stack to finish creating/updating**.\n\n## Last updated: 5/1/2020\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyler-cromwell%2Fsdp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyler-cromwell%2Fsdp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyler-cromwell%2Fsdp/lists"}