전체 글(314)
-
11. Setting Up Network and HTTP Load Balancers [ACE]
Task 1. Set the default region and zone for all resourcesgcloud config set compute/zone us-central1-agcloud config set compute/region us-central1 Task 2. Create multiple web server instancesgcloud compute instance-templates create nginx-template \ --metadata-from-file startup-script=startup.sh gcloud compute target-pools create nginx-pool gcloud compute instance-groups managed create n..
2024.11.19 -
10. Analyzing Billing Data with BigQuery
Task 1. Locate your dataset and table in BigQuery Task 2. Examine the billing dataTask 3. Analyze data using SQL queries Query 1: Analyze your data based on costs SELECT * FROM `billing_dataset.enterprise_billing` WHERE Cost > 0 billing_dataset.enterprise_billing 테이블에서 비용(Cost)이 0보다 큰 모든 레코드를 조회 SELECT project.name as Project_Name, service.description as Service, location.country as Country,..
2024.11.18 -
09. Service Directory
Task 1. Configuring Service Directory Task 2. Configuring a Service Directory DNS zoneYou can create a Service Directory zone that allows your Google Cloud-based services to query your Service Directory namespace via DNS.DNS queries for the following record types are supported:A/AAAA/SRV records for a service or an endpointSOA/NS records for the private zone originA/AAAA queries must observe t..
2024.11.17 -
08. Service Accounts and Roles: Fundamentals
Activate Cloud Shell gcloud auth listgcloud config list projectgcloud config set compute/region us-west2 Task 1. Create and manage service accounts gcloud iam service-accounts create my-sa-123 --display-name "my service account" gcloud projects add-iam-policy-binding $DEVSHELL_PROJECT_ID \ --member serviceAccount:my-sa-123@$DEVSHELL_PROJECT_ID.iam.gserviceaccount.com --role roles/edit..
2024.11.16 -
07. Cloud Shell and gcloud
Task 1. Configuring your environment Set the region to us-east1 gcloud config set compute/region us-east1리전을 us-east1로 설정 To view the project region setting, run the following command:설정한 리전을 보는 명령어gcloud config get-value compute/region Set the zone to us-east1-b:영역을 us-east1-b 로 설정 gcloud config set compute/zone us-east1-b To view the project zone setting, run the following command:설정한 영역을 보는 ..
2024.11.15 -
06. Cloud SQL for MySQL
Task 1. Create a Cloud SQL instance gcloud sql operations list --instance=myinstance작업상태 확인 Task 2. Connect to your instance using the mysql client in Cloud Shellgcloud sql connect myinstance --user=root Task 3. Create a database and upload data CREATE DATABASE guestbook; USE guestbook;CREATE TABLE entries (guestName VARCHAR(255), content VARCHAR(255), entryID INT NOT NULL AUTO_INCREMENT, P..
2024.11.14