0% found this document useful (0 votes)
26 views

Lab 2-Google Compute Engine-VM Instance Creation

This document provides instructions for students to create a virtual machine (VM) instance on Google Cloud Platform. It guides them through signing up for a free account, navigating to Compute Engine, selecting parameters for an instance, creating the instance, accessing it via SSH, installing Apache web server using apt-get, and making a report with screenshots to submit.

Uploaded by

Raj 147
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Lab 2-Google Compute Engine-VM Instance Creation

This document provides instructions for students to create a virtual machine (VM) instance on Google Cloud Platform. It guides them through signing up for a free account, navigating to Compute Engine, selecting parameters for an instance, creating the instance, accessing it via SSH, installing Apache web server using apt-get, and making a report with screenshots to submit.

Uploaded by

Raj 147
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

ME605 Cloud Engineering

LAB Sheet Week 2: VM Instance Creation

Name: ____________________________

Date: ______________ _______________

1. Browse Google Cloud Platform (https://cloud.google.com)

2. Go to the following link and learn about Google Free Tier:

https://cloud.google.com/free/docs/gcp-free-tier

3. Sign up and open a free Google Account.

ME605 Cloud Engineering Page - 1

Improved By: Dr Md Hasanul Ferdaus


4. Select “My Console” from top right corner

5. In today’s lab we will conduct a simple experiment using “Compute Engine”

ME605 Cloud Engineering Page - 2

Improved By: Dr Md Hasanul Ferdaus


6. Click “Get Started”

7. Select “Create Instance”

ME605 Cloud Engineering Page - 3

Improved By: Dr Md Hasanul Ferdaus


8. Your tutor will guide you through this step to make sure you select right
parameters.

9. Once you create an instance, you should be able to see your instance with
external IP.

ME605 Cloud Engineering Page - 4

Improved By: Dr Md Hasanul Ferdaus


10. At this stage do “SSH” to the VM instance

11. Now you have access to the machine with your user account. Enter the following command
to switch to root user – xxxx@instance-1:~$ sudo su

12. This will give you the following prompt –


root@instance-1:/home/xxxx#
13. Enter the following command to update all the packages –
root@instance-1:/home/xxxx# apt-get update
14. Now install apache2 server –
root@instance-1:/home/xxxx# apt-get install apache2
15. If everything goes right then at this stage you should be able to browse your
server.

ME605 Cloud Engineering Page - 5

Improved By: Dr Md Hasanul Ferdaus


16. Make a report with all the screen shots and submit through the week – 2 lab
submission link

ME605 Cloud Engineering Page - 6

Improved By: Dr Md Hasanul Ferdaus

You might also like