Advertisement
ctrlvfailed

gcp1

Jun 19th, 2020
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. gsutil mb gs://
  2. gsutil cp [MY_FILE] gs://[BUCKET_NAME]
  3.  
  4.  
  5. Console and Cloud Shell
  6. 40 minutes Free
  7. Rate Lab
  8. Overview
  9.  
  10. In this lab, you become familiar with the Google Cloud web-based interface. There are two integrated environments: a GUI (graphical user interface) environment called the Cloud Console, and a CLI (command-line interface) called Cloud Shell. In this class you use both environments.
  11.  
  12. Here are a few things you need to know about the Cloud Console:
  13.  
  14. The Cloud Console is under continuous development, so occasionally the graphical layout changes. This is most often to accommodate new Google Cloud features or changes in the technology, resulting in a slightly different workflow.
  15.  
  16. You can perform most common Google Cloud actions in the Cloud Console, but not all actions. In particular, very new technologies or sometimes detailed API or command options are not implemented (or not yet implemented) in the Cloud Console. In these cases, the command line or the API is the best alternative.
  17.  
  18. The Cloud Console is extremely fast for some activities. The Cloud Console can perform multiple actions on your behalf that might require many CLI commands. It can also perform repetitive actions. In a few clicks you can accomplish activities that would require a great deal of typing and would be prone to typing errors.
  19.  
  20. The Cloud Console is able to reduce errors by only offering up through its menus valid options. It is able to leverage access to the platform "behind the scenes" through the SDK to validate configuration before submitting changes. A command line can't do this kind of dynamic validation.
  21.  
  22. Objectives
  23.  
  24. In this lab, you learn how to perform the following tasks:
  25.  
  26. Get access to Google Cloud.
  27.  
  28. Create a Cloud Storage bucket using the Cloud Console.
  29.  
  30. Create a Cloud Storage bucket using Cloud Shell.
  31.  
  32. Become familiar with Cloud Shell features.
  33.  
  34. Qwiklabs setup
  35.  
  36. For each lab, you get a new GCP project and set of resources for a fixed time at no cost.
  37.  
  38. Make sure you signed into Qwiklabs using an incognito window.
  39.  
  40. Note the lab's access time (for example, img/time.png and make sure you can finish in that time block.
  41.  
  42. There is no pause feature. You can restart if needed, but you have to start at the beginning.
  43.  
  44. When ready, click img/start_lab.png.
  45.  
  46. Note your lab credentials. You will use them to sign in to Cloud Platform Console. img/open_google_console.png
  47.  
  48. Click Open Google Console.
  49.  
  50. Click Use another account and copy/paste credentials for this lab into the prompts.
  51.  
  52. If you use other credentials, you'll get errors or incur charges.
  53.  
  54. Accept the terms and skip the recovery resource page.
  55.  
  56. Do not click End Lab unless you are finished with the lab or want to restart it. This clears your work and removes the project.
  57. Task 1: Create a bucket using the Cloud Console
  58.  
  59. In this task, you create a bucket. However, the text also helps you become familiar with how actions are presented in the lab instructions in this class and teaches you about the Cloud Console interface.
  60. Navigate to the Storage service and create the bucket
  61.  
  62. In the Cloud Console, on the Navigation menu (9a951fa6d60a98a5.png), click Storage > Browser.
  63.  
  64. Click Create bucket.
  65.  
  66. For Name, type a globally unique bucket name, and leave all other values as their defaults.
  67.  
  68. Click Create.
  69.  
  70. Explore features in the Cloud Console
  71.  
  72. The Google Cloud menu contains a Notifications (e921662595351d9e.png) icon. Sometimes, feedback from the underlying commands is provided there. If you are not sure what is happening, check Notifications for additional information and history.
  73.  
  74. Click Check my progress to verify the objective.
  75. Create a bucket using the Cloud Console
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement