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
    Preview
  • Now we need a resuable image for this application
    Preview
    Preview
  • Now create a reusable image
    Preview
  • Now using reusable image create a virtual machine instance
    Preview

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
    Preview
    Preview
  • Using this template lets create two vms
    Preview

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 Reply

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

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube