From the course: Google Cloud Associate Cloud Engineer Cert Prep
Installing the cloud SDK - Google Cloud Tutorial
From the course: Google Cloud Associate Cloud Engineer Cert Prep
Installing the cloud SDK
- Installing the cloud SDK. So for installing and configuring GCloud, which is the Google Cloud command line interface or CLI. So when you install the Google Cloud SDK, that would include command line tools for working with the platforms. That includes GCloud, that is the main common line interface tool, but also gsutil which is specific to cloud storage, or bq, which is specific to BigQuery. Those command utilities will be already available in Cloud Shell. Cloud Shell is the in browser shell that you see in the Google Cloud platform. It's basically a shared virtual machine where you have a shell environment with all of these tools pre-installed to interact with the platform. So to access Cloud Shell, you basically click on this little shell icon on the top right corner of the console and that will open a a little Shell window or section on the browser on the bottom of the page. But you can also install these tools in on local machines. They're also available as Docker images. So you can just search for Google Cloud SDK and find the installation tools for your operating system and you can install them locally or you can download this docker image as well if you prefer that. So when talking about GCloud, what is important to understand is the basic syntax. You don't necessarily need to memorize a bunch of commands. It helps you if you already know some, but if you know the basic syntax, you should be able to answer quite many questions related to GCloud because sometimes, they'll give you wrong alternatives. There are wrong just based on the syntax. So if you know the syntax, it's going to help you a lot. So the basic syntax for GCloud commands is GCloud plus the component on Google Cloud for the specific entity within that component and then the operation that you want to do on that entity. Plus position arguments of flags. So let me give you an example. GCloud Compute. So compute is a component. Other components could be, you know, storage or SQL. And then you have entities in the case of compute for example, you want to manage here specifically instances, it could have been disks or other things. And you want to attach a disk, so that's your operation. And then you provide position arguments which will depend on which operation you're doing. In this case, through attach a disk, we need to specify incidents name and then the disk and so on. Again, you don't need to memorize this, but I need to know the overall structure here, which is component over here, instance or entity rather. And then the operation. So the verb which is the operation always come sort of in the end just before the arguments and the flags. So you don't start the command, the CLI command with the verb. You always first start with the component and entities and you keep refining this. And there could be several levels. You know, compute instance, I don't know, network interface card. And you keep specifying, you keep refining which resource, which specific resource you are doing an operation on. And then finally have the operation in the end. So remember that. And here are the position arguments and flags, which again will depend on the command. There are great many number of them, you certainly don't need to memorize them.
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
(Locked)
Module 2: Setting up a cloud solution environment introduction36s
-
(Locked)
Learning objectives41s
-
(Locked)
Creating a resource hierarchy6m 41s
-
(Locked)
Applying organizational policies to the resource hierarchy3m 53s
-
Granting members IAM roles within a project5m 59s
-
(Locked)
Managing users and groups in cloud identity: Manually and automated1m 57s
-
(Locked)
Enabling APIs within projects1m 32s
-
(Locked)
Provisioning and setting up products in Google Cloud’s operations suite1m 35s
-
(Locked)
Questions breakdown3m 10s
-
(Locked)
-
-
(Locked)
Module 4: Deploying and implementing a cloud solution introduction31s
-
(Locked)
Learning objectives37s
-
(Locked)
Launching a compute instance using the console and gcloud4m 51s
-
Creating an autoscaled, managed instance group using an instance template3m 36s
-
(Locked)
Generating and uploading a custom SSH key for instances1m 36s
-
(Locked)
Installing and configuring the cloud monitoring and logging agent4m 10s
-
(Locked)
Assessing compute quotas and requesting increases1m 30s
-
(Locked)
Questions breakdown2m 43s
-
(Locked)
-
-
(Locked)
Learning objectives35s
-
(Locked)
Installing and configuring the CLI for Kubernetes (kubectl)3m 27s
-
(Locked)
Deploying a GKE cluster with different configurations5m 9s
-
(Locked)
Deploying a containerized application to GKE1m 51s
-
(Locked)
Configuring GKE monitoring and logging2m 42s
-
(Locked)
Questions breakdown4m 43s
-
(Locked)
-
-
(Locked)
Learning objectives39s
-
(Locked)
Creating a VPC with subnets2m 16s
-
(Locked)
Launching a Compute Engine instance with custom network configuration3m 36s
-
(Locked)
Creating ingress and egress firewall rules for a VPC5m 48s
-
(Locked)
Creating a VPN between a Google VPC and an external network2m 9s
-
(Locked)
Creating a load balancer to distribute application network traffic1m 55s
-
(Locked)
Questions breakdown5m 35s
-
(Locked)
-
-
(Locked)
Module 5: Ensuring successful operation of a cloud solution introduction36s
-
(Locked)
Learning objectives40s
-
(Locked)
Managing a single VM instance2m 29s
-
(Locked)
Remotely connecting to the instance4m 19s
-
(Locked)
Attaching a GPU to a new instance and installing necessary dependencies1m 34s
-
(Locked)
Viewing current running VM inventory47s
-
(Locked)
Working with snapshots2m 30s
-
(Locked)
Working with images1m 46s
-
(Locked)
Working with instance groups2m 30s
-
(Locked)
Working with management interfaces46s
-
(Locked)
Questions breakdown4m 26s
-
(Locked)
-
-
(Locked)
Learning objectives37s
-
(Locked)
Viewing current running cluster inventory1m 47s
-
(Locked)
Browsing Docker images and viewing their details in the artifact registry42s
-
(Locked)
Working with node pools2m 22s
-
(Locked)
Working with pods3m 13s
-
(Locked)
Working with services10m 36s
-
(Locked)
Working with stateful applications2m 7s
-
(Locked)
Managing horizontal and vertical autoscaling configurations2m 6s
-
(Locked)
Working with management interfaces52s
-
(Locked)
Questions breakdown6m 20s
-
(Locked)
-
-
(Locked)
Learning objectives39s
-
(Locked)
Managing and securing objects in and between cloud storage buckets3m 57s
-
(Locked)
Setting object life cycle management policies for cloud storage buckets5m 18s
-
(Locked)
Executing queries to retrieve data from data instances1m 38s
-
(Locked)
Estimating costs of data storage resources2m 51s
-
(Locked)
Backing up and restoring database instances2m 53s
-
(Locked)
Reviewing job status in Dataproc, Dataflow, or BigQuery2m 14s
-
(Locked)
Questions breakdown6m 30s
-
(Locked)
-
-
(Locked)
Learning objectives28s
-
(Locked)
Adding a subnet to an existing VPC1m 16s
-
(Locked)
Expanding a subnet to have more IP addresses25s
-
(Locked)
Reserving static external or internal IP addresses1m 58s
-
(Locked)
Working with Cloud DNS, Cloud NAT, load balancers, and firewall rules7m 50s
-
(Locked)
Questions breakdown4m 9s
-
(Locked)
-
-
(Locked)
Learning objectives44s
-
(Locked)
Creating cloud monitoring alerts based on resource metrics3m
-
(Locked)
Creating and ingesting cloud monitoring custom metrics7m 58s
-
(Locked)
Configuring log sinks to export logs to external systems1m 36s
-
(Locked)
Configuring log routers48s
-
(Locked)
Viewing and filtering logs in Cloud Logging1m 11s
-
(Locked)
Viewing specific log message details in Cloud Logging1m 34s
-
(Locked)
Using cloud diagnostics to research an application issue1m 26s
-
(Locked)
Viewing Google Cloud status56s
-
(Locked)
Questions breakdown3m 55s
-
(Locked)
-
-
(Locked)
Module 6: Configuring access and security introduction25s
-
(Locked)
Learning objectives26s
-
(Locked)
Viewing IAM policies1m 15s
-
(Locked)
Creating IAM policies1m 46s
-
(Locked)
Managing the various role types and defining custom IAM roles1m 56s
-
(Locked)
Viewing audit logs2m 7s
-
(Locked)
Questions breakdown3m 45s
-
(Locked)
-
-
(Locked)
Learning objectives39s
-
(Locked)
Creating service accounts1m 51s
-
(Locked)
Using service accounts in IAM policies with minimum permissions3m 25s
-
(Locked)
Assigning service accounts to resources1m 20s
-
(Locked)
Managing IAM of a service account1m 4s
-
(Locked)
Managing service account impersonation3m 12s
-
(Locked)
Creating and managing short-lived service account credentials40s
-
(Locked)
Questions breakdown3m 41s
-
(Locked)