lemniskett.moe/content/writeups/google-cloudskillsboost/GSP101/index.md
2023-09-04 06:27:10 +07:00

3.7 KiB

title description summary date draft author tags canonicalURL showToc TocOpen TocSide hidemeta comments disableHLJS disableShare hideSummary searchHidden ShowReadingTime ShowBreadCrumbs ShowPostNavLinks ShowWordCount ShowRssButtonInSectionTermList cover
[GSP101] Google Cloud Essential Skills: Challenge Lab Quest: Cloud Architecture: Design, Implement, and Manage 2023-05-26T11:30:03+07:00 false Hiiruki
writeups
challenge
google-cloudskillsboost
gsp101
google-cloud
cloudskillsboost
juaragcp
google-cloud-platform
gcp
cloud-computing
cloud
cloud-architecture
true false right false false true true false false true true true true true
image alt caption relative hidden
<image path/url> <alt text> <text> false true

GSP101

Lab Banner

  • Time: 45 minutes
  • Difficulty: Intermediate
  • Price: 5 Credits

Lab: GSP101
Quest: Cloud Architecture: Design, Implement, and Manage

🔄 Last updated: Sep 04, 2023

Challenge scenario

Your company is ready to launch a brand new product! Because you are entering a totally new space, you have decided to deploy a new website as part of the product launch. The new site is complete, but the person who built the new site left the company before they could deploy it.

Your challenge

Your challenge is to deploy the site in the public cloud by completing the tasks below. You will use a simple Apache web server as a placeholder for the new site in this exercise. Good luck!

  1. Create a Compute Engine instance, add necessary firewall rules.

    • In the Cloud Console, click the Navigation menu > Compute Engine > VM Instances.

    • Click Create instance.

    • Set the following values, leave all other values at their defaults:

      Property Value (type value or select option as specified)
      Name INSTANCE_NAME
      Zone COMPUTE_ZONE

      Lab Variable

      VM Create

    • Under Firewall check Allow HTTP traffic.

      Firewall

    • Click Create.

  2. Configure Apache2 Web Server in your instance.

    • In the Cloud Console, click the Navigation menu > Compute Engine > VM Instances.

    • Click on the SSH button next to INSTANCE_NAME instance.

    • Run the following command:

      sudo su -
      

      then run:

      apt-get update
      apt-get install apache2 -y
      
      service --status-all
      
  3. Test your server.

    • In the Cloud Console, click the Navigation menu > Compute Engine > VM Instances.
    • Access the VM using an https address. Check that your URL is http:// EXTERNAL_IP and not https:// EXTERNAL_IP
    • Verify Apache2 Debian Default Page showed up.

Congratulations!

Congratulations Badge