{"id":20136146,"url":"https://github.com/zkfmapf123/aws-copilot-architecture","last_synced_at":"2025-08-24T12:48:14.867Z","repository":{"id":226187028,"uuid":"767440755","full_name":"zkfmapf123/aws-copilot-architecture","owner":"zkfmapf123","description":"use copilot cli ","archived":false,"fork":false,"pushed_at":"2024-03-07T07:50:55.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T09:38:42.038Z","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/zkfmapf123.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":"2024-03-05T09:50:44.000Z","updated_at":"2024-03-06T09:31:55.000Z","dependencies_parsed_at":"2025-01-13T09:34:42.049Z","dependency_job_id":"f529afcb-4c2b-40fe-b23e-b454e097731f","html_url":"https://github.com/zkfmapf123/aws-copilot-architecture","commit_stats":null,"previous_names":["zkfmapf123/aws-copilot-architecture"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Faws-copilot-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Faws-copilot-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Faws-copilot-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkfmapf123%2Faws-copilot-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkfmapf123","download_url":"https://codeload.github.com/zkfmapf123/aws-copilot-architecture/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241582521,"owners_count":19985846,"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-13T21:17:58.309Z","updated_at":"2025-03-02T22:42:18.906Z","avatar_url":"https://github.com/zkfmapf123.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Copilot Architecture\n\n![architecture](./architecture.png)\n\n## Folders \n\n```sh\n    |- applications     ## Applications \n        |- client\n        |- payment  \n        |- receipt\n    |- lib\n        |- utils        ##  개발에 필요한 Tools\n        |- vpcs         ## VPC Setting\n        |- ...\n```\n\n## Tech\n\n- AWS CDK + Typescript\n\n    ```sh\n        cdk init sample-app --language typescript\n        npm run build\n        npm run watch\n        npm run test\n        cdk deploy\n        cdk diff\n        cdk synth\n    ```\n\n- AWS Copilot CLI\n\n    ```sh\n        ## install (mac)\n        brew install aws/tap/copilot-cli\n\n        cd applications\n        copilot init            ## 배포에 필요한 yml 생성 /copilot\n        copilot deploy          ## 배포\n        copilot app delete      \n    ```\n\n    ```sh\n        ## 1. Environment 환경을 먼저 정의한 후 배포\n        copilot env deploy --name dev\n\n        ## 2. Env를 배포한 후 App 배포\n        copilot deploy\n    ```\n\n    ```sh\n        ## 생성 순서\n        APP \u003e Service \n        \n        ## 배포 순서\n        Env \u003e App \u003e Service\n\n        ## Folders\n        |- applicatoins/copilot\n            |- environments             ## 각각의 환경자체가 ECS Cluster...\n                |- dev          \n                |- prod         \n                |- staging\n            |- client                   ## service\n            |- payment                  ## service\n            |- receipt                  ## service\n            \n\n        ## Command\n        1 \u003e\u003e copilot app init\n        2 \u003e\u003e copilot env init\n        3 \u003e\u003e copilot env deploy --name dev\n        4 \u003e\u003e copilot svc init\n        5 \u003e\u003e copilot svc deploy --name payment --env dev\n\n        ## 변경사항 없어도 재배포\n        copilot dpeloy --force\n    ```\n\n- Env 자체가 ECS Cluster\n- 기존 Cluster에 넣는건... 불가능?\n- Service Connect 특성상 Backend 부터 배포 후 -\u003e Client 배포\n\n## ...\n\n- ECS를 Kubernetes 처럼 쓰는것같은 새로운 방법인것같음\n\n## Reference\n\n- \u003ca href=\"https://cdkworkshop.com/20-typescript/20-create-project/300-structure.html\"\u003e AWS CDK Workshop \u003c/a\u003e\n- \u003ca href=\"https://aws.github.io/copilot-cli/docs/getting-started/install/\"\u003e AWS Copilot CLI \u003c/a\u003e\n- \u003ca href=\"https://github.com/aws-samples/aws-cdk-examples/blob/master/typescript/neptune-with-vpc/neptune-with-vpc-stack.ts\"\u003e Typescript CDK Exasmple \u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfmapf123%2Faws-copilot-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkfmapf123%2Faws-copilot-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkfmapf123%2Faws-copilot-architecture/lists"}