Reference no: EM132987979
ITECH3100 Mobile and Cloud Security
Lab - Virtual Machine Setup and Configuration using Google Cloud
Overview
This lab is to utilize Google Cloud Platform to build out an infrastructure you can use for this course. You will need any computer with an updated browser and a credit card (*Google has a number of free products/services that will not charge you any money, but subject to what you do with the virtual machine you created at the platform)
This is an alternative option for you to deploy Windows and Linux systems on the Google Cloud Platform without the need to install anything on your machine.
Learning Activitie 1: How to setup and manage a Linux virtual server at Google Cloud.
Learning Activitie 2: How to setup and manage a Windows Virtual machine at Google Cloud
Task Details
Task One - Login Google Cloud Platform
T1.1 Go to the Google Cloud Platform website and explore the option $300 in free credits
New customers also get $300 in free credits to fully explore and conduct an assessment of Google Cloud Platform. You won't be charged until you choose to upgrade .
T1.2 Sign in to your Google account, and agree to the terms of service and enter your information as appropriate Once you are in, click "go to console" button and the top left corner navigation menu (the three white lines in the upper left hand corner), then @ go to "bill" section to enable billing to get started.
Task Two - Setup Windows Machine at Google Cloud
T2.1 click on "Create Instance" ,give your VM a name that you will remember, such as:
naming windows, The Region and Zone typically don't matter, free to choose where you want your VM to be. The monthly estimate may change depending where you select.
@change the Boot disk to Windows by clicking on "Change", and select "Windows Server" from the drop down menu under Operating System and select "Windows Server 2019 Datacenter with Desktop Experience", and finally click "Create" to finish the process.
T2.2 From the navigation menu (the three white lines in the upper left hand corner) scroll and click on VPC network. selecting VPC, from there, select "Firewall Rules" and Create a Firewall Rule; this will allow RDP to our local system.
Fill out the appropriate information, such as a name (rdp), target tag (rdp), source IP ranges(0.0.0.0/0) and under Specified ports, enter 3389. Then hit create.
T2.3 With the VM creation complete, you will set the Windows password to login. Click on the arrow next to RDP and select "Set Windows Password". Choose your username (it should automatically populate). Click "Set". Your new password will appear; copy and save it, then close the window.
T2.4 In the Connect column, click on "RDP." It should pop up with a message to Connect using the Chrome extension, which will allow you to connect to your server from within the browser. You can also download the RDP file and connect that way. If you are using Windows, you can use the built in RDP client to connect; for Mac users, you could either install the extension to your Chrome based browser or install Microsoft Remote Desktop. Linux users can can install Remmina to do the same.
T2.5 using your client of choice, connect to the server, use the Toolkit in NetworkSims (Start->NetworkSims->Toolkit), and go to the OS>WMI tab, and determine the basic specification of the server:
CPU:
Physical memory:
Disk space:
Disks:
T2.6 determine the details of the computer using the WMI (Windows Management Interface) CLI commands:
wmic.exe cpu list brief wmic.exe diskdrive list brief wmic.exe nic list brief wmic.exe os list brief
wmic.exe memphysical list brief
Question:
What is the basic specification your Windows virtual Server at Google Cloud?
T2.7 check which services are running on the WINDOWS virtual server with the netstat -a command, check Windows event log, system log, and application log files?
Question:
Which TCP-based service has an Established connection? Where do can you find Windows system logs?
Task Three - Setup Linux Virtual Machine at Google Cloud
T3.1 at Google Cloud console, @ click the top left corner navigation menu (the three white lines in the upper left hand corner), then go to "Computer Engine", "VM Instances", and select "Create Instance." @Give the VM a name, such as "ubuntu vm", change the Boot disk to Ubuntu 18.04 LTS Minimal, then click "Create"
T3.2 Under the Connect column, click on "SSH". A terminal window will appear on a new browser window. In your Linux system, execute these two commands as shown:
$ sudo apt update && sudo apt install hwinfo -y
$ sudo hwinfo --disk
T3.3 You should now be remotely logged into the virtual Linux server AWS_UBUNTU in the Amazon Cloud. Use the ifconfig , pwd, ls commands to check the details of the current virtual machine.
T3.4 Check connectivity between the created virtual machine and the Internet, and open a second Terminal in localhost, and check connectivity between localhost and the virtual maching, using ping.
Question:
Can your localhost ping your virtual machine at its IP address?
T3.5 Creating your own user accounts, and changing passwords is the first thing you should do on your server, as a basic security measure. The passwords should only be readable by an administration level user.On AWS_UBUNTU check the root user password with: $ sudo grep root /etc/shadow
T3.6 On the virtual machine change the root user password to your own password with: $ sudo passwd
Change the ubuntu user password to itech3100 using: $ sudo passwd ubuntu
Task Four - Create Cyber security Virtual Machine
T4.1 using the cloud credit made available
Attachment:- VM Setup and Configuation at Google Cloud.rar