© Copyright 2018 Nickantony Quach. All rights reserved.
In this and the next several chapters, we will show you how to handle Google Cloud Platform (GCP). You must not know how it works in order to see how to move about within it. In this chapter, you will be asked to create a new folder using the Google Cloud Shell then delete it using the Google Cloud Code Editor.
In general, this chapter sequence walks you across the Google Cloud Platform to show you two of its key modules, Datastore and Cloud Functions. Although source code is involved, you’re not expected to understand its logic at all. All the details in computer programming and the subtleties of cloud computing will be covered by later sequences.
2 Introducing Google Cloud Shell
A command-line interface or command language interpreter (CLI), is a means of interacting with a computer program where the user (or client) issues commands to the program in the form of successive lines of text (command lines). A program which handles the interface is called a command language interpreter or shell. Tell me more
After you sign in with GCP, look from right to left on its title bar for the button [>_] that is used to activate Google Cloud Shell.
3 Accessing the code editor
To get started, aim your browser at Cloud.google.com, sign up, then sign in using GCP. As soon as you sign in, you will, through the GCP console, see the GCP dashboard. Click on Activity and see the list of things you did on your GCP so far.
After you sign in with GCP, look from right to left on its title bar for the button [>_] that is used to activate Google Cloud Shell. Look from right to left on the shell title bar for the pencil button that is used to launch the Google Cloud Code Editor.
4 Creating a new folder
The screen is split into two parts. Click your mouse into the black part, the Shell Console, at the bottom then type in the following Cloud Shell command:
You should see a list of items as presented in the first column on the left of the white part, the Shell Editor. Enter the following Cloud Shell commands:
- mkdir myfolder1
You should see myfolder1 added to the list.
5 Deleting the newly created folder
On the File menu near the upper-left corner, select the menu command [File > Refresh]. You should see myfolder1 appear on the folder tree. Delete the newly created item, myfolder1.
*** End of Chapter ***