Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Cloud Next'17 Extended - Ibadan

Cloud Next'17 Extended - Ibadan

My presentation during the just concluded Cloud Next'17 Extended - Ibadan where I spoke about creating an instance of virtual machine on Google Compute Engine.

Olanrewaju Abidogun

March 08, 2017
Tweet

More Decks by Olanrewaju Abidogun

Other Decks in Technology

Transcript

  1. What Compute Engine Simply Mean: It's a google cloud service

    that delivers virtual machines running in Google's innovative data centers and worldwide fiber network. Compute Engine's tooling and workflow support enable scaling from single instances to global, load-balanced cloud computing.
  2. About Google Compute Engine ➢ It’s an Infrastructure-as-a-Service ➢ It

    provides scaleable and highly customizable virtual machines. ➢ Compute Engine's VMs boot quickly, come with high performance persistent and local disk options, deliver consistent performance. ➢ Virtual servers are available in many configurations including predefined sizes, and option to create Custom Machine Types optimized for your specific needs. ➢ Its cheap with flexible pricing plan.
  3. Setup and Requirements ➔ Create a Google Account ➔ Sign-in

    to Google Cloud Platform console https://console.cloud.google.com/ ➔ Create a new Project Take Note Remember your project ID, it’s a unique name across all Google Cloud projects.
  4. Create a New Instance You can create a new Google

    Compute Engine Virtual Machine Instance in two ways: ➢ From Cloud Console ➢ From Cloud Shell using the command line tool called gcloud
  5. Using Cloud Console. ➢ Make sure you’re signed in to

    the developer Console ➢ Click the hamburger menu, then select Compute Engine
  6. Yasssss!!! you’ve your new virtual machine created. Lets SSH into

    the VM to install our NGINX server. Take Note Remember the External IP of the machine on the VM instances page - you will need this later
  7. Lets Install Our NGINX Server. ➢ Click on SSH on

    the right hand side of the instance page. ➢ A new browser window shows up to display the SSH client
  8. ➢ Get root access by typing sudo su ➢ Download

    repositories new package list by executing apt-get update ➢ Then Install NGINX like so : apt-get install nginx-y
  9. ➢ Check if NGINX is installed with : ps auwx

    | grep nginx If you can see that….Great!!! ➢ Now, Lets see our webpage using the External IP, remember?? ➢ In your browser, type http://EXTERNAL IP
  10. Creating VM Instance with NGINX server done and dusted Do

    you prefer working on the terminal to GUI? Ok, we can do it your way.
  11. Using the Command Line Tool (gcloud) From Google Cloud Shell

    ➢ Open the google cloud shell by clicking ➢ Create a new virtual machine from the command line using gcloud
  12. Be a good cloud citizen: ➢ You can stop an

    instance temporarily to save running cost when it’s not in use. ➢ You can as well delete it, after all, they are easy to create.
  13. Thank You! You can find me here: Github , Twitter

    codeInBit https://codeinbit.github.i o