aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
aster.cloud aster.cloud
  • /
  • Platforms
    • Public Cloud
    • On-Premise
    • Hybrid Cloud
    • Data
  • Architecture
    • Design
    • Solutions
    • Enterprise
  • Engineering
    • Automation
    • Software Engineering
    • Project Management
    • DevOps
  • Programming
    • Learning
  • Tools
  • About
  • Computing

Let’s Build A Linux Virtual Machine

  • aster.cloud
  • May 1, 2023
  • 3 minute read

Creating a virtual machine (VM), a computer you can use without needing to purchase, set up, or keep around, is one of the most basic functions of the cloud. You can rent as many computers as you need and delete them when you’re done with them.

But VMs are only a benefit if setting up a virtual machine is easy. In Google Cloud, creating a VM is done with the Compute Engine service. There’s a short (probably under 5 minute) interactive tutorial to get you started. I’ll explain what’s going on in that tutorial here, but you should walk through the tutorial as well to see all of the exact steps.


Partner with aster.cloud
for your next big idea.
Let us know here.



From our partners:

CITI.IO :: Business. Institutions. Society. Global Political Economy.
CYBERPOGO.COM :: For the Arts, Sciences, and Technology.
DADAHACKS.COM :: Parenting For The Rest Of Us.
ZEDISTA.COM :: Entertainment. Sports. Culture. Escape.
TAKUMAKU.COM :: For The Hearth And Home.
ASTER.CLOUD :: From The Cloud And Beyond.
LIWAIWAI.COM :: Intelligence, Inside and Outside.
GLOBALCLOUDPLATFORMS.COM :: For The World's Computing Needs.
FIREGULAMAN.COM :: For The Fire In The Belly Of The Coder.
ASTERCASTER.COM :: Supra Astra. Beyond The Stars.
BARTDAY.COM :: Prosperity For Everyone.

Once you’ve finished this tutorial, be sure to check the references to learn more about creating and using VMs.

Selecting a project

Everything in your application will be in a project, so you’ll either need to create or select a project to do this tutorial in. Projects need to be associated with a billing account, so if you don’t have one, consider signing up for the Free Trial. You’ll start in the Cloud Console.

Enabling APIs

Normally you will go to APIs and services from the Navigation menu to enable the Compute Engine API, but the tutorial will let you do this by just clicking a button. If you’ve already enabled the Compute Engine API for a project, you won’t need to enable it again.

Creating a VM

In this tutorial, you’ll create a Linux VM. (Don’t worry; if you want a Windows VM, there’s a tutorial for that too!) From the Navigation menu, select Computer Engine. By default, you’ll go to the first item in the submenu, which is VM instances.

Read More  TSMC and Synopsys Bring Breakthrough NVIDIA Computational Lithography Platform to Production

You can then click Create instance to create a new VM. You’ll notice there are a lot of options, allowing you to change the name, the machine configuration, the boot disk, and far more. As you change options, notice how the price for the VM changes in the upper right of the screen.

Figure 1-Some of the many VM options available

The tutorial will give you suggested changes to make to change the operating system and allow HTTP traffic. These options can be seen further down the options screen, as shown in Figure 2. It will also help you find the right places to enter this information–the first time you see these screens they may be a bit overwhelming!

Figure 2 – More of the VM options

There are a variety of different operating systems available as shown in the Boot disk section (Figure 3). Once you’ve selected an operating system, you may also need to select the particular version of that OS. For operating systems with a licensing fee, that fee will be included in the price of the VM. Try some out and see how the price changes.

If you already know what your memory and CPU needs are, we have a tool that will help you pick the best options for your VM. It takes quite a few factors into consideration beyond just those, such as how much performance fluctuations matter and your preferred type of processor. Give it a try!

The boot disk section also gives you the ability to use custom images, snapshots, and existing VMs to create your image. You can find out more about these in the reference section.

Read More  4 Linux Tools To Erase Your Data

Figure 3 – Some of the built-in OS options

Connecting to the VM

Once you’ve set the options, select Create, which will return you to the VM instances page, as shown in Figure 4. Once there’s a checkmark next to the VM, it’s ready to go. You can access it by going to the Connect column of the instance information and click SSH. It will then open in a new browser window. At this point you can administer the machine, set up accounts, install software, etc. just as you’d do with any Linux machine. You’re already set up as a superuser of the machine.

Figure 4 – The VM instances page

Cleaning up

There is a charge to both keep a VM running and to store its boot disk. You can stop the charge to run the VM by selecting it on the VM instances page and then clicking stop. If you won’t be using this VM again, you can select the VM and press Delete instead.

Yes, the tutorial shows you exactly how to do this!

While there are lots more details about Compute Engine, you’ve got the big picture now. Go do something creative and useful with it!

By: Laurie White (Developer Relations Engineer)
Originally published at: Google Cloud Blog

Source: Cyberpogo


For enquiries, product placements, sponsorships, and collaborations, connect with us at [email protected]. We'd love to hear from you!

Our humans need coffee too! Your support is highly appreciated, thank you!

aster.cloud

Related Topics
  • Compute Engine
  • Linux
  • Tutorial
You May Also Like
Getting things done makes her feel amazing
View Post
  • Computing
  • Data
  • Featured
  • Learning
  • Tech
  • Technology

Nurturing Minds in the Digital Revolution

  • April 25, 2025
View Post
  • Computing
  • Public Cloud
  • Technology

United States Army Enterprise Cloud Management Agency Expands its Oracle Defense Cloud Services

  • April 15, 2025
Microsoft’s Majorana 1 chip carves new path for quantum computing
View Post
  • Computing
  • Technology

Microsoft’s Majorana 1 chip carves new path for quantum computing

  • February 19, 2025
View Post
  • Computing
  • Engineering

Why a decades old architecture decision is impeding the power of AI computing

  • February 19, 2025
CES 2025: Intel Shows Off Its AI Tech
View Post
  • Computing
  • Technology

CES 2025: Intel Shows Off Its AI Tech

  • January 23, 2025
View Post
  • Computing
  • Design
  • Engineering
  • Technology

Here’s why it’s important to build long-term cryptographic resilience

  • December 24, 2024
Cloud platforms among the clouds
View Post
  • Computing
  • Learning
  • Public Cloud

Best Cloud Platforms Offering Free Trials for Cloud Mastery

  • December 23, 2024
View Post
  • Computing

Azure Cobalt 100-based Virtual Machines are now generally available

  • October 22, 2024

Stay Connected!
LATEST
  • college-of-cardinals-2025 1
    The Definitive Who’s Who of the 2025 Papal Conclave
    • May 7, 2025
  • conclave-poster-black-smoke 2
    The World Is Revalidating Itself
    • May 6, 2025
  • oracle-ibm 3
    IBM and Oracle Expand Partnership to Advance Agentic AI and Hybrid Cloud
    • May 6, 2025
  • 4
    Conclave: How A New Pope Is Chosen
    • April 25, 2025
  • Getting things done makes her feel amazing 5
    Nurturing Minds in the Digital Revolution
    • April 25, 2025
  • 6
    AI is automating our jobs – but values need to change if we are to be liberated by it
    • April 17, 2025
  • 7
    Canonical Releases Ubuntu 25.04 Plucky Puffin
    • April 17, 2025
  • 8
    United States Army Enterprise Cloud Management Agency Expands its Oracle Defense Cloud Services
    • April 15, 2025
  • 9
    Tokyo Electron and IBM Renew Collaboration for Advanced Semiconductor Technology
    • April 2, 2025
  • 10
    IBM Accelerates Momentum in the as a Service Space with Growing Portfolio of Tools Simplifying Infrastructure Management
    • March 27, 2025
about
Hello World!

We are aster.cloud. We’re created by programmers for programmers.

Our site aims to provide guides, programming tips, reviews, and interesting materials for tech people and those who want to learn in general.

We would like to hear from you.

If you have any feedback, enquiries, or sponsorship request, kindly reach out to us at:

[email protected]
Most Popular
  • 1
    Tariffs, Trump, and Other Things That Start With T – They’re Not The Problem, It’s How We Use Them
    • March 25, 2025
  • 2
    IBM contributes key open-source projects to Linux Foundation to advance AI community participation
    • March 22, 2025
  • 3
    Co-op mode: New partners driving the future of gaming with AI
    • March 22, 2025
  • 4
    Mitsubishi Motors Canada Launches AI-Powered “Intelligent Companion” to Transform the 2025 Outlander Buying Experience
    • March 10, 2025
  • PiPiPi 5
    The Unexpected Pi-Fect Deals This March 14
    • March 13, 2025
  • /
  • Technology
  • Tools
  • About
  • Contact Us

Input your search keywords and press Enter.