본문 바로가기

gcs5

GKE workload identity # Grant gcp permissions to pods using workload identity -> Rather than granting a gcp service account to individual nodes or the entire cluster, a k8s service account is created, and the k8s service account is set to assume the gcp service account role, thereby granting gcp specific service permissions only to the pod. https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity?hl=k.. 2023. 7. 1.
Restore from CloudSQL MSSQL backup data Restore from CloudSQL MSSQL backup data https://cloud.google.com/sql/docs/sqlserver/import-export/import-export-bak#import # Grant GCS permissions to the CloudSQL service account Check the service account for your CloudSQL instance gcloud sql instances describe premisan-test-mssql --project my-project | grep serviceAccountEmailAddress Add access to GCS bucket gcloud projects add-iam-policy-bindi.. 2023. 5. 12.
gcsfuse gcsfuse -> Utility to mount gcs like a file system https://github.com/GoogleCloudPlatform/gcsfuse/ # installation https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/installing.md ## centos sudo tee /etc/yum.repos.d/gcsfuse.repo > /dev/null Modify Instance -> Manage API and Identity -> Cloud API Access Scope -> Storage -> Change to Full # use # mount gcsfuse premisan-test-bucket-123 .. 2023. 5. 12.
GCS(Google Cloud Storage) GCS(Google Cloud Storage) # google cloud storage -> Same as s3 in aws # Bucket storage class and s3 storage class Standard - Standard Nearline - Standard-Infrequent Access Coldline - One Zone-Infrequent Access Archive - Glacier # gsutil -> cli command for google cloud storage -> Installed together with cloud SDK installation # Command example Check bucket list gsutil list Check the object list i.. 2023. 5. 12.
Cloud CDN 으로 GCS(Google Cloud Storage) 오브젝트 호스팅 Cloud CDN 으로 GCS(Google Cloud Storage) 오브젝트 호스팅 GCS 정적 웹사이트 호스팅 https://cloud.google.com/storage/docs/hosting-static-website?hl=ko 백엔드 버킷으로 Cloud CDN 설정 https://cloud.google.com/cdn/docs/setting-up-cdn-with-bucket?hl=ko 서명된 URL 사용 https://cloud.google.com/cdn/docs/using-signed-urls?hl=ko # 오브젝트 스토리지 + CDN AWS 는 S3 + CloudFront 로 정적 웹사이트 혹은 오브젝트 호스팅에 CDN을 적용했다면, GCP 는 AWS 와 달리 GCS + LB + Cloud CD.. 2023. 5. 2.
반응형