Skip to content

Commit fa8fa19

Browse files
Merge pull request #484 from Finders-Official/chore/gcp-migration-prep-#483
[CHORE] ์ƒˆ GCP ํ”„๋กœ์ ํŠธ(finders-487717) ๋งˆ์ด๊ทธ๋ ˆ์ด์…˜ ์ค€๋น„ (#483)
2 parents f448d20 + eb6b4d4 commit fa8fa19

22 files changed

Lines changed: 91 additions & 250 deletions

โ€Ž.github/workflows/deploy-dev.ymlโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Load Deploy Config from Terraform
5353
run: |
54-
gcloud storage cp gs://finders-terraform-state/deploy-config.json /tmp/deploy-config.json
54+
gcloud storage cp gs://finders-487717-tf-state/deploy-config.json /tmp/deploy-config.json
5555
echo "GCE_NAME=$(jq -r .gce_name /tmp/deploy-config.json)" >> $GITHUB_ENV
5656
echo "GCE_ZONE=$(jq -r .gce_zone /tmp/deploy-config.json)" >> $GITHUB_ENV
5757

โ€Ž.github/workflows/deploy.ymlโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
- name: Load Deploy Config from Terraform
5353
run: |
54-
gcloud storage cp gs://finders-terraform-state/deploy-config.json /tmp/deploy-config.json
54+
gcloud storage cp gs://finders-487717-tf-state/deploy-config.json /tmp/deploy-config.json
5555
echo "GCE_NAME=$(jq -r .gce_name /tmp/deploy-config.json)" >> $GITHUB_ENV
5656
echo "GCE_ZONE=$(jq -r .gce_zone /tmp/deploy-config.json)" >> $GITHUB_ENV
5757

โ€Ž.github/workflows/terraform.ymlโ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
service_account: ${{ secrets.WIF_SERVICE_ACCOUNT }}
4646

4747
- name: Download Terraform Variables
48-
run: gcloud storage cp gs://finders-terraform-state/terraform.tfvars terraform.tfvars
48+
run: gcloud storage cp gs://finders-487717-tf-state/terraform.tfvars terraform.tfvars
4949

5050
- name: Terraform Format Check
5151
id: fmt
@@ -119,4 +119,4 @@ jobs:
119119
if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
120120
run: |
121121
terraform output -raw deploy_config > /tmp/deploy-config.json
122-
gcloud storage cp /tmp/deploy-config.json gs://finders-terraform-state/deploy-config.json
122+
gcloud storage cp /tmp/deploy-config.json gs://finders-487717-tf-state/deploy-config.json

โ€Ž.gitignoreโ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ sql/local/
111111
*.tfstate
112112
*.tfstate.*
113113
.terraform/
114+
*.tfplan
115+
tfplan
114116
crash.log
115117
crash.*.log
116118
*.tfvars

โ€ŽCLAUDE.mdโ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,17 @@ terraform validate # ๋ฌธ๋ฒ• ๊ฒ€์ฆ
6060

6161
| ํ•ญ๋ชฉ | ๊ฐ’ |
6262
|------|-----|
63-
| GCP Project ID | `project-37afc2aa-d3d3-4a1a-8cd` |
63+
| GCP Project ID | `finders-487717` |
6464
| Region | `asia-northeast3` (Seoul) |
6565
| VPC | `finders-vpc` (3 subnets, 6 firewall rules) |
66-
| GCE | `finders-server-v2` (e2-medium, internal IP `10.0.2.2`) |
66+
| GCE | `finders-server` (e2-medium, internal IP `10.0.2.2`) |
6767
| Cloud SQL | `finders-db` (MySQL 8.0, private IP `10.68.240.3`) |
68-
| Databases | `finders` (prod), `finders_dev` (dev) |
69-
| GCS | `finders-public`, `finders-private` |
68+
| Databases | `finders_prod` (prod), `finders_dev` (dev) |
69+
| GCS | `finders-487717-public`, `finders-487717-private` |
7070
| Cloud Run | `img-resizer` |
7171
| Artifact Registry | `finders-docker` (API), `finders-image` (resizer) |
7272
| Secret Manager | `finders-prod-config`, `finders-dev-config` (JSON) |
73-
| Terraform State | `gs://finders-terraform-state/` |
73+
| Terraform State | `gs://finders-487717-tf-state/` |
7474
| Domains | `api.finders.it.kr` (prod), `dev-api.finders.it.kr` (dev) |
7575

7676
## Architecture

โ€Ždocs/architecture/ERD.mdโ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ CreditRelatedType:PHOTO_RESTORATION,PAYMENT // credit_history.related_type
176176

177177
| ๋ฒ„ํ‚ท | ์šฉ๋„ | ์ ‘๊ทผ ๋ฐฉ์‹ |
178178
|-------------------|---------------------------|------------------|
179-
| `finders-public` | ๊ณต๊ฐœ ์ด๋ฏธ์ง€ (ํ˜„์ƒ์†Œ, ๊ฒŒ์‹œ๊ธ€, ํ”„๋กœํ•„ ๋“ฑ) | ์ง์ ‘ URL |
180-
| `finders-private` | ๋น„๊ณต๊ฐœ ํŒŒ์ผ (์Šค์บ” ์‚ฌ์ง„, ์„œ๋ฅ˜, AI ๋ณต์›) | Signed URL (1์‹œ๊ฐ„) |
179+
| `finders-487717-public` | ๊ณต๊ฐœ ์ด๋ฏธ์ง€ (ํ˜„์ƒ์†Œ, ๊ฒŒ์‹œ๊ธ€, ํ”„๋กœํ•„ ๋“ฑ) | ์ง์ ‘ URL |
180+
| `finders-487717-private` | ๋น„๊ณต๊ฐœ ํŒŒ์ผ (์Šค์บ” ์‚ฌ์ง„, ์„œ๋ฅ˜, AI ๋ณต์›) | Signed URL (1์‹œ๊ฐ„) |
181181

182182
### ๊ฒฝ๋กœ ๊ทœ์น™
183183

@@ -212,10 +212,10 @@ CreditRelatedType:PHOTO_RESTORATION,PAYMENT // credit_history.related_type
212212

213213
```java
214214
// public ๋ฒ„ํ‚ท: ์ง์ ‘ URL ๋ฐ˜ํ™˜
215-
"https://storage.googleapis.com/finders-public/profiles/123/abc.jpg"
215+
"https://storage.googleapis.com/finders-487717-public/profiles/123/abc.jpg"
216216

217217
// private ๋ฒ„ํ‚ท: Signed URL ๋ฐ˜ํ™˜ (1์‹œ๊ฐ„ ์œ ํšจ)
218-
"https://storage.googleapis.com/finders-private/temp/orders/456/scans/def.jpg?X-Goog-Signature=..."
218+
"https://storage.googleapis.com/finders-487717-private/temp/orders/456/scans/def.jpg?X-Goog-Signature=..."
219219
```
220220

221221
---

โ€Ždocs/architecture/INFRASTRUCTURE.mdโ€Ž

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ develop โ†’ main (PR) โ†’ prod ํ™˜๊ฒฝ ์ž๋™ ๋ฐฐํฌ
3939
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
4040
โ”‚ private-app-subnet โ”‚ (10.0.2.0/24) โ”‚
4141
โ”‚ โ–ผ โ”‚
42-
โ”‚ โ”Œโ”€โ”€โ”€ GCE finders-server-v2 โ”€โ”€โ”€โ” โ”‚
42+
โ”‚ โ”Œโ”€โ”€โ”€ GCE finders-server โ”€โ”€โ”€โ” โ”‚
4343
โ”‚ โ”‚ (e2-medium, 10.0.2.2) โ”‚ โ”‚
4444
โ”‚ โ”‚ โ”‚ โ”‚
4545
โ”‚ โ”‚ cloudflared โ”€โ”€โ–บ Traefik โ”‚ โ”‚
@@ -60,7 +60,7 @@ develop โ†’ main (PR) โ†’ prod ํ™˜๊ฒฝ ์ž๋™ ๋ฐฐํฌ
6060
โ”‚ private-db-subnet โ”‚ (10.0.3.0/24) โ”‚
6161
โ”‚ โ–ผ โ”‚
6262
โ”‚ Cloud SQL (finders-db) โ”‚
63-
โ”‚ MySQL 8.0 โ”‚ Private IP: 10.68.240.3 โ”‚
63+
โ”‚ MySQL 8.0 โ”‚ Private IP: 10.68.240.3 โ”‚
6464
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
6565
โ”‚ โ”‚ finders (prod) โ”‚ โ”‚
6666
โ”‚ โ”‚ finders_dev (dev) โ”‚ โ”‚
@@ -69,9 +69,9 @@ develop โ†’ main (PR) โ†’ prod ํ™˜๊ฒฝ ์ž๋™ ๋ฐฐํฌ
6969
7070
โ”Œโ”€ GCP ๊ด€๋ฆฌํ˜• ์„œ๋น„์Šค (VPC ์™ธ๋ถ€) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
7171
โ”‚ โ”‚
72-
โ”‚ Cloud Storage Artifact Registry โ”‚
73-
โ”‚ โ”œโ”€ finders-public โ”œโ”€ finders-docker (API) โ”‚
74-
โ”‚ โ””โ”€ finders-private โ””โ”€ finders-image (resizer)โ”‚
72+
โ”‚ Cloud Storage Artifact Registry โ”‚
73+
โ”‚ โ”œโ”€ finders-487717-public โ”œโ”€ finders-docker (API) โ”‚
74+
โ”‚ โ””โ”€ finders-487717-private โ””โ”€ finders-image (resizer)โ”‚
7575
โ”‚ โ”‚
7676
โ”‚ Cloud Run Secret Manager โ”‚
7777
โ”‚ โ””โ”€ img-resizer โ”œโ”€ finders-prod-config โ”‚
@@ -92,15 +92,15 @@ develop โ†’ main (PR) โ†’ prod ํ™˜๊ฒฝ ์ž๋™ ๋ฐฐํฌ
9292

9393
| ํ•ญ๋ชฉ | ๊ฐ’ |
9494
|------|-----|
95-
| ํ”„๋กœ์ ํŠธ | My First Project |
96-
| ํ”„๋กœ์ ํŠธ ID | project-37afc2aa-d3d3-4a1a-8cd |
95+
| ํ”„๋กœ์ ํŠธ | Finders |
96+
| ํ”„๋กœ์ ํŠธ ID | finders-487717 |
9797
| ๋ฆฌ์ „ | asia-northeast3 (์„œ์šธ) |
9898

9999
---
100100

101101
## Terraform Infrastructure (IaC)
102102

103-
์ธํ”„๋ผ๋ฅผ ์ฝ”๋“œ๋กœ ๊ด€๋ฆฌ(IaC)ํ•˜๊ธฐ ์œ„ํ•ด Terraform์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. State๋Š” `gs://finders-terraform-state/`์— ์ €์žฅ๋ฉ๋‹ˆ๋‹ค.
103+
์ธํ”„๋ผ๋ฅผ ์ฝ”๋“œ๋กœ ๊ด€๋ฆฌ(IaC)ํ•˜๊ธฐ ์œ„ํ•ด Terraform์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. State๋Š” `gs://finders-487717-tf-state/`์— ์ €์žฅ๋ฉ๋‹ˆ๋‹ค.
104104

105105
### ๋ชจ๋“ˆ ๊ตฌ์กฐ
106106

@@ -124,9 +124,9 @@ infra/
124124
| ์นดํ…Œ๊ณ ๋ฆฌ | ๋ฆฌ์†Œ์Šค |
125125
|----------|--------|
126126
| **Networking** | VPC (`finders-vpc`), 3 Subnets, 6 Firewall Rules, Cloud Router, Cloud NAT, Static IP |
127-
| **Compute** | GCE (`finders-server-v2`) |
128-
| **Database** | Cloud SQL (`finders-db`), 2 Databases (`finders`, `finders_dev`) |
129-
| **Storage** | GCS (`finders-public`, `finders-private`) |
127+
| **Compute** | GCE (`finders-server`) |
128+
| **Database** | Cloud SQL (`finders-db`), 2 Databases (`finders_prod`, `finders_dev`) |
129+
| **Storage** | GCS (`finders-487717-public`, `finders-487717-private`) |
130130
| **Registry** | Artifact Registry (`finders-docker`, `finders-image`) |
131131
| **Serverless** | Cloud Run (`img-resizer`) |
132132
| **Security** | Secret Manager (2), WIF Pool + Provider, IAM Bindings |
@@ -168,7 +168,7 @@ GitHub Actions๊ฐ€ GCP์— ์ ‘๊ทผํ•  ๋•Œ ์„œ๋น„์Šค ๊ณ„์ • ํ‚ค ์—†์ด ์ธ์ฆํ•˜๋Š”
168168

169169
- **Pool**: `finders-pool`
170170
- **Provider**: `github-provider`
171-
- **Service Account**: `terraform-ci@project-37afc2aa-d3d3-4a1a-8cd.iam.gserviceaccount.com`
171+
- **Service Account**: `terraform-ci@finders-487717.iam.gserviceaccount.com`
172172
- **์กฐ๊ฑด**: `Finders-Official/BE` ๋ฆฌํฌ์ง€ํ† ๋ฆฌ์˜ GitHub Actions๋งŒ ํ—ˆ์šฉ
173173

174174
---
@@ -229,7 +229,7 @@ GCE ์ธ์Šคํ„ด์Šค์— ์™ธ๋ถ€ IP๊ฐ€ ์—†์œผ๋ฏ€๋กœ, Docker ์ด๋ฏธ์ง€ pull ๋“ฑ **Googl
229229

230230
| ํ•ญ๋ชฉ | ๊ฐ’ |
231231
|------|-----|
232-
| ์ธ์Šคํ„ด์Šค ์ด๋ฆ„ | `finders-server-v2` |
232+
| ์ธ์Šคํ„ด์Šค ์ด๋ฆ„ | `finders-server` |
233233
| ๋จธ์‹  ์œ ํ˜• | e2-medium |
234234
| vCPU / RAM | 2 vCPU / 4 GB |
235235
| ๋ถ€ํŒ… ๋””์Šคํฌ | Ubuntu 22.04 LTS, 20GB |
@@ -262,10 +262,11 @@ GCE ์ธ์Šคํ„ด์Šค์— ์™ธ๋ถ€ IP๊ฐ€ ์—†์œผ๋ฏ€๋กœ, Docker ์ด๋ฏธ์ง€ pull ๋“ฑ **Googl
262262
### SSH ์ ‘์† ๋ฐฉ๋ฒ•
263263

264264
```bash
265-
gcloud compute ssh finders-server-v2 \
265+
gcloud compute ssh finders-server \
266266
--zone=asia-northeast3-a \
267-
--project=project-37afc2aa-d3d3-4a1a-8cd \
268-
--tunnel-through-iap
267+
--project=finders-487717 \
268+
--tunnel-through-iap \
269+
-- -L 3307:10.68.240.3:3306
269270
```
270271

271272
---
@@ -336,16 +337,16 @@ Cloud SQL์— ๊ณต๊ฐœ IP๊ฐ€ ์—†์œผ๋ฏ€๋กœ IAP ํ„ฐ๋„์„ ํ†ตํ•ด์„œ๋งŒ ์ ‘์† ๊ฐ€๋Šฅ
336337

337338
```bash
338339
# 1. ํ„ฐ๋„ ์—ด๊ธฐ (๋กœ์ปฌ 3307 โ†’ Cloud SQL 3306)
339-
gcloud compute ssh finders-server-v2 \
340+
gcloud compute ssh finders-server \
340341
--zone=asia-northeast3-a \
341-
--project=project-37afc2aa-d3d3-4a1a-8cd \
342+
--project=finders-487717 \
342343
--tunnel-through-iap \
343344
-- -L 3307:10.68.240.3:3306
344345

345346
# 2. DB ํด๋ผ์ด์–ธํŠธ ์—ฐ๊ฒฐ
346347
Host: localhost
347348
Port: 3307
348-
Database: finders_dev (๋˜๋Š” finders)
349+
Database: finders_dev (๋˜๋Š” finders_prod)
349350
User: finders
350351
Password: [Secret Manager ์ฐธ์กฐ]
351352
```
@@ -370,8 +371,8 @@ Password: [Secret Manager ์ฐธ์กฐ]
370371

371372
| ๋ฒ„ํ‚ท | ์šฉ๋„ | ์ ‘๊ทผ ๋ฐฉ์‹ |
372373
|------|------|----------|
373-
| `finders-public` | ๊ณต๊ฐœ ์ด๋ฏธ์ง€ (ํ”„๋กœํ•„, ํ˜„์ƒ์†Œ, ๊ฒŒ์‹œ๊ธ€) | ์ง์ ‘ URL (`allUsers:objectViewer`) |
374-
| `finders-private` | ๋น„๊ณต๊ฐœ ํŒŒ์ผ (์Šค์บ” ์‚ฌ์ง„, ์„œ๋ฅ˜, AI ๋ณต์›) | Signed URL |
374+
| `finders-487717-public` | ๊ณต๊ฐœ ์ด๋ฏธ์ง€ (ํ”„๋กœํ•„, ํ˜„์ƒ์†Œ, ๊ฒŒ์‹œ๊ธ€) | ์ง์ ‘ URL (`allUsers:objectViewer`) |
375+
| `finders-487717-private` | ๋น„๊ณต๊ฐœ ํŒŒ์ผ (์Šค์บ” ์‚ฌ์ง„, ์„œ๋ฅ˜, AI ๋ณต์›) | Signed URL |
375376

376377
### ๊ณตํ†ต ์„ค์ •
377378

โ€Ždocs/development/CONVENTIONS.mdโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ GCS ์ด๋ฏธ์ง€ ์ €์žฅ ํ•„๋“œ๋ช… ๊ทœ์น™:
6868
| ๋ ˆ์ด์–ด | ํ•„๋“œ๋ช… | ์ €์žฅ๊ฐ’ | ์˜ˆ์‹œ |
6969
|--------|--------|--------|------|
7070
| **Entity/DB** | `objectPath` | GCS ๊ฒฝ๋กœ | `posts/123/abc.jpg` |
71-
| **Response DTO** | `imageUrl` | ์ „์ฒด URL | `https://storage.googleapis.com/finders-public/posts/123/abc.jpg` |
71+
| **Response DTO** | `imageUrl` | ์ „์ฒด URL | `https://storage.googleapis.com/finders-487717-public/posts/123/abc.jpg` |
7272
| **Request DTO** | `objectPath` | GCS ๊ฒฝ๋กœ (presigned URL ์—…๋กœ๋“œ ํ›„) | `temp/456/xyz.jpg` |
7373

7474
```java

โ€Ždocs/guides/GCS_SETUP.mdโ€Ž

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
| ๋ฒ„ํ‚ท | ์šฉ๋„ | ์ ‘๊ทผ ๋ฐฉ์‹ |
1212
|------|------|----------|
13-
| `finders-public` | ๊ณต๊ฐœ ์ด๋ฏธ์ง€ (ํ”„๋กœํ•„, ํ˜„์ƒ์†Œ, ๊ฒŒ์‹œ๊ธ€) | ์ง์ ‘ URL |
14-
| `finders-private` | ๋น„๊ณต๊ฐœ ํŒŒ์ผ (์Šค์บ” ์‚ฌ์ง„, ์„œ๋ฅ˜, AI ๋ณต์›) | Signed URL |
13+
| `finders-487717-public` | ๊ณต๊ฐœ ์ด๋ฏธ์ง€ (ํ”„๋กœํ•„, ํ˜„์ƒ์†Œ, ๊ฒŒ์‹œ๊ธ€) | ์ง์ ‘ URL |
14+
| `finders-487717-private` | ๋น„๊ณต๊ฐœ ํŒŒ์ผ (์Šค์บ” ์‚ฌ์ง„, ์„œ๋ฅ˜, AI ๋ณต์›) | Signed URL |
1515

1616
---
1717

@@ -40,7 +40,7 @@ sudo apt-get update && sudo apt-get install -y google-cloud-cli
4040
gcloud auth login
4141

4242
# 2. ํ”„๋กœ์ ํŠธ ์„ค์ •
43-
gcloud config set project project-37afc2aa-d3d3-4a1a-8cd
43+
gcloud config set project finders-487717
4444

4545
# 3. ADC ์„ค์ • (GCS ์ ‘๊ทผ์šฉ) - ๊ฐ€์žฅ ์ค‘์š”!
4646
gcloud auth application-default login
@@ -52,8 +52,8 @@ gcloud auth application-default login
5252

5353
```bash
5454
# GCS ๋ฒ„ํ‚ท ์ ‘๊ทผ ํ…Œ์ŠคํŠธ
55-
gsutil ls gs://finders-public
56-
gsutil ls gs://finders-private
55+
gsutil ls gs://finders-487717-public
56+
gsutil ls gs://finders-487717-private
5757
```
5858

5959
---
@@ -139,10 +139,10 @@ gcloud iam service-accounts add-iam-policy-binding \
139139

140140
```
141141
# Public (์ง์ ‘ ์ ‘๊ทผ)
142-
https://storage.googleapis.com/finders-public/profiles/123/abc.jpg
142+
https://storage.googleapis.com/finders-487717-public/profiles/123/abc.jpg
143143
144144
# Private (Signed URL)
145-
https://storage.googleapis.com/finders-private/orders/456/scan.jpg?X-Goog-Signature=...
145+
https://storage.googleapis.com/finders-487717-private/orders/456/scan.jpg?X-Goog-Signature=...
146146
```
147147

148148
---
@@ -152,9 +152,9 @@ https://storage.googleapis.com/finders-private/orders/456/scan.jpg?X-Goog-Signat
152152
### ๋กœ์ปฌ ๊ฐœ๋ฐœ
153153
- [ ] gcloud CLI ์„ค์น˜ ์™„๋ฃŒ
154154
- [ ] `gcloud auth login` ์‹คํ–‰
155-
- [ ] `gcloud config set project project-37afc2aa-d3d3-4a1a-8cd` ์‹คํ–‰
155+
- [ ] `gcloud config set project finders-487717` ์‹คํ–‰
156156
- [ ] `gcloud auth application-default login` ์‹คํ–‰
157-
- [ ] `gsutil ls gs://finders-public` ์ ‘๊ทผ ํ™•์ธ
157+
- [ ] `gsutil ls gs://finders-487717-public` ์ ‘๊ทผ ํ™•์ธ
158158

159159
## StorageService ๋ฉ”์„œ๋“œ ์‚ฌ์šฉ ๋ฐฉ์‹
160160
### ๋ฉ”์„œ๋“œ ๋น„๊ต: generate vs get

โ€Ždocs/guides/LOCAL_DEVELOPMENT.mdโ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ gcloud --version
1818
gcloud auth login
1919

2020
# ํ”„๋กœ์ ํŠธ ์„ค์ •
21-
gcloud config set project project-37afc2aa-d3d3-4a1a-8cd
21+
gcloud config set project finders-487717
2222
```
2323

2424
## 3. ์„œ๋น„์Šค ๊ณ„์ • Impersonation ์„ค์ •
@@ -84,7 +84,7 @@ http://localhost:8080/swagger-ui.html ์ ‘์† โ†’ **[TEST] Storage** ์„น์…˜
8484
## ์ฃผ์˜์‚ฌํ•ญ
8585

8686
- Impersonation ์ธ์ฆ์€ **1์‹œ๊ฐ„ ํ›„ ๋งŒ๋ฃŒ**๋ฉ๋‹ˆ๋‹ค. ๋งŒ๋ฃŒ ์‹œ 3๋ฒˆ ๋‹จ๊ณ„๋ฅผ ๋‹ค์‹œ ์‹คํ–‰ํ•˜์„ธ์š”.
87-
- ํ…Œ์ŠคํŠธ ์‹œ ์‹ค์ œ GCS ๋ฒ„ํ‚ท(`finders-private`, `finders-public`)์— ์ ‘๊ทผํ•ฉ๋‹ˆ๋‹ค.
87+
- ํ…Œ์ŠคํŠธ ์‹œ ์‹ค์ œ GCS ๋ฒ„ํ‚ท(`finders-487717-private`, `finders-487717-public`)์— ์ ‘๊ทผํ•ฉ๋‹ˆ๋‹ค.
8888
- ํ…Œ์ŠคํŠธ ํŒŒ์ผ์€ `temp/` ๊ฒฝ๋กœ์— ์—…๋กœ๋“œํ•˜๋ฉด 30์ผ ํ›„ ์ž๋™ ์‚ญ์ œ๋ฉ๋‹ˆ๋‹ค.
8989
- `[TEST] Storage` API๋Š” **local ํ”„๋กœํ•„์—์„œ๋งŒ** ํ™œ์„ฑํ™”๋ฉ๋‹ˆ๋‹ค.
9090

0 commit comments

Comments
ย (0)