![]() ![]() This is an (e2-medium), 2-CPU, 4GB RAM instance. For more information about zones, see the Compute Engine guide, Regions and Zones. Note: Remember the zone that you selected to use later. Use the following for this lab:įor more information about regions, see the Compute Engine guide, Regions and Zones. There are many parameters you can configure when creating a new instance. To create a new instance, click CREATE INSTANCE. This may take a minute to initialize for the first time. In the Cloud console, on the Navigation menu ( ), click Compute Engine > VM Instances. In this section, you create new predefined machine types with Compute Engine from the Cloud console. Create a new instance from the Cloud console But in Cloud Shell, you need to set this for every new session or reconnection. Note: When you run gcloud on your own machine, the config settings are persisted across sessions. ![]() Learn more from the Regions & Zones documentation. Your Cloud Platform project in this session is set to The output contains a line that declares the Project_ID for this session: When you are connected, you are already authenticated, and the project is set to your Project_ID. Click Activate Cloud Shell at the top of the Google Cloud console.Cloud Shell provides command-line access to your Google Cloud resources. It offers a persistent 5GB home directory and runs on the Google Cloud. ![]() Note: To view a menu with a list of Google Cloud products and services, click the Navigation menu at the top-left.Ĭloud Shell is a virtual machine that is loaded with development tools. Do not add recovery options or two-factor authentication (because this is a temporary account).Īfter a few moments, the Google Cloud console opens in this tab.Note: Using your own Google Cloud account for this lab may incur extra charges. Do not use your Google Cloud account credentials. Important: You must use the credentials the lab provides you. You can also find the Password in the Lab Details panel.Ĭlick Next. You can also find the Username in the Lab Details panel.Ĭopy the Password below and paste it into the Welcome dialog. If necessary, copy the Username below and paste it into the Sign in dialog. ![]() Note: If you see the Choose an account dialog, click Use Another Account. Tip: Arrange the tabs in separate windows, side-by-side. The lab spins up resources, and then opens another tab that shows the Sign in page. Other information, if needed, to step through this labĬlick Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).The temporary credentials that you must use for this lab.On the left is the Lab Details panel with the following: If you need to pay for the lab, a pop-up opens for you to select your payment method. How to start your lab and sign in to the Google Cloud consoleĬlick the Start Lab button. Note: If you already have your own personal Google Cloud account or project, do not use it for this lab to avoid extra charges to your account. Time to complete the lab-remember, once you start, you cannot pause a lab.This prevents any conflicts between your personal account and the Student account, which may cause extra charges incurred to your personal account. Note: Use an Incognito or private browser window to run this lab. Access to a standard internet browser (Chrome browser recommended).It does so by giving you new, temporary credentials that you use to sign in and access Google Cloud for the duration of the lab. This hands-on lab lets you do the lab activities yourself in a real cloud environment, not in a simulation or demo environment. The timer, which starts when you click Start Lab, shows how long Google Cloud resources will be made available to you. Labs are timed and you cannot pause them. Setup and requirements Before you click the Start Lab button Familiarity with standard Linux text editors such as vim, emacs, or nano.Deploy a web server and connect it to a VM.Create a VM with the gcloud command line.You also learn how to connect an NGINX web server to your VM.Īlthough you can easily copy and paste commands from the lab to the appropriate place, it is recommended that you type the commands yourself to reinforce your understanding of the core concepts. In this hands-on lab, you create VM instances of various machine types using the Google Cloud console and the gcloud command line in Cloud Shell. You can run thousands of virtual CPUs on a system that is designed to be fast and to offer strong consistency of performance. Compute Engine allows you to create virtual machines (VMs) that run different operating systems, including multiple flavors of Linux (Debian, Ubuntu, Suse, Red Hat, CoreOS) and Windows Server, on Google infrastructure. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |