GCP Classroom notes 03/Sep/2024

GCE – Contd

GCE Machine Images

  • Refer Here for gce machine images
  • Lets create a reusable machine image with a website using reference template Refer Here
  • Installation steps
sudo apt update
sudo apt install nginx unzip -y
cd /tmp && wget https://www.free-css.com/assets/files/free-css-templates/download/page296/spering.zip
unzip spering.zip
cd spering-html/
cp -r . /var/www/html
  • Now access the application using http url
  • Now we need a resuable image for this application

  • Now create a reusable image
  • Now using reusable image create a virtual machine instance

GCE VM Templates

  • Refer Here for gce vm templates
  • Lets create an instance template for a vm to be created in a vpc with specific network tags and machine images

  • Using this template lets create two vms

Scaling

  • Scaling refers to the following
    • horizontal scaling: Increasing number of servers or workloads
    • vertical scaling: Increasing the size of the server
  • Scale up and Scale down (Vertical scaling)
  • Scale out and Scale in (Horizontal scaling)
  • The ability to scale out or in is generally referred as elasticity

Instance Groups

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Floating Social Media Icons by Acurax Wordpress Designers
Exit mobile version
%%footer%%