LogoLogo
  • 🤩Welcome!
  • Buffer overflow
    • Remote Buffer Overflow
      • Crashing the Application
      • Controlling the EIP
      • Finding Bad Characters
      • Finding a Return Address
      • Generating Shellcode
      • Getting a Shell
  • Wireless Penetration Testing
    • Wifi Pineapple - Tetra
      • Setup
      • Firmware Upgrade
      • Capturing Wireless Handshake
      • Cracking WPA2 Handshake
      • PineAP
      • Modules
  • PortSwigger Labs
    • Authentication
      • Username enumeration via different responses
      • Username enumeration via subtly different responses
      • Username enumeration via response timing
  • TryHackMe
    • 🎄Advent of Cyber 3 (2021)
      • [Day 1] Save The Gifts
      • [Day 2] Elf HR Problems
      • [Day 3] Christmas Blackout
      • [Day 4] Santa's Running Behind
      • [Day 5] Pesky Elf Forum
      • [Day 6] Patch Management Is Hard
      • [Day 7] Migration Without Security
      • [Day 8] Santa's Bag of Toys
      • [Day 9] Where Is All This Data Going
  • Google Cloud Computing
    • ☁️Cloud Computing Fundamentals
      • Getting Started with Cloud Shell and gcloud
      • Creating a Virtual Machine
      • App Engine: Qwik Start - Python
      • Cloud Functions: Qwik Start - Command Line
      • Kubernetes Engine: Qwik Start
      • Set Up Network and HTTP Load Balancers
Powered by GitBook
On this page
  • Overview
  • Create new Instance via Cloud Console
  • Installing NGINX web server

Was this helpful?

  1. Google Cloud Computing
  2. Cloud Computing Fundamentals

Creating a Virtual Machine

LAB 2

PreviousGetting Started with Cloud Shell and gcloudNextApp Engine: Qwik Start - Python

Last updated 3 years ago

Was this helpful?

Overview

Compute Engine lets you create virtual machines that run different operating systems, including multiple flavors of Linux (Debian, Ubuntu, Suse, Red Hat, CoreOS) and Windows Server, on Google infrastructure. You can run thousands of virtual CPUs on a system that is designed to be fast and to offer strong consistency of performance.

In this hands-on lab, you'll create virtual machine instances of various machine types using the Google Cloud Console and the gcloud command line. You'll also learn how to connect an NGINX web server to your virtual machine.

Create new Instance via Cloud Console

Head over to the VM Instances page as shown below.

Create a VM Instance with the specs below.

Once the VM spawns, it will look like the following. Hit the SSH button to continue configuring it if needed.

Installing NGINX web server

This is pretty straight forward

sudo su -
apt-get update
apt-get install nginx -y

Confirm that its successfully installed, up and running.

ps auwx | grep nginx

We are able to see that root is running the NGINX service. We can also confirm this by heading over to the VMs public IP via a web browser as shown below.

☁️