Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Perform Foundational Infrastructure Tasks in Google Cloud Chal… #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gagan1612
Copy link

Perform Foundational Infrastructure Tasks in Google Cloud: Challenge Lab

Launch the lab here

In this lab there is no command line instructions, you have to just use the Google Cloud Platform (GCP) for completing this lab. A walkthrough of each task is available below:

Your challenge

You are now asked to help a newly formed development team with some of their initial work on a new project around storing and organizing photographs, called memories. You have been asked to assist the memories team with initial configuration for their application development environment; you receive the following request to complete the following tasks:

  • Create a bucket for storing the photographs.
  • Create a Pub/Sub topic that will be used by a Cloud Function you create.
  • Create a Cloud Function.
  • Remove the previous cloud engineer’s access from the memories project.

Some Jooli Inc. standards you should follow:

  • Create all resources in the us-east1 region and us-east1-b zone, unless otherwise directed.
  • Use the projectdatd VPCs.
  • Naming is normally team-resource, e.g. an instance could be named kraken-webserver1
  • Allocate cost effective resource sizes. Projects are monitored and excessive resource use will result in the containing project's termination (and possibly yours), so beware. This is the guidance the monitoring team is willing to share; unless directed, use f1-micro for small Linux VMs and n1-standard-1 for Windows or other applications such as Kubernetes nodes.

Solving tasks

Task 1: Create a bucket

  1. Navigation menu > Cloud Storage > Browser > Create Bucket
  2. Name your bucket > Enter Enter Enter Given Bucket Name in Project > Continue
  3. Choose where to store your data > Region: us-east1 > Continue
  4. Use default for the remaining
  5. Create

Task 2: Create a Pub/Sub topic

  1. Navigation menu > Pub/Sub > Topics
  2. Create Topic > Name: Enter Given Topic Name in Project > Create Topic

Task 3: Create the thumbnail Cloud Function

  1. Navigation menu > Cloud Functions > Create Function

  2. Use the following config:

    Name: Enter Given Function Name in Project
    Region: us-east1
    Trigger: Cloud Storage
    Event type: Finalize/Create
    Bucket: BROWSE > Select the qwiklabs bucket

  3. Remaining default > Next

  4. Runtime: Node.js 14
    Entry point: thumbnail

  5. Add the code appropiately

  6. Download the image from URL (https://storage.googleapis.com/cloud-training/gsp315/map.jpg)

  7. Navigation menu > Cloud Storage > Browser > Select your bucket > Upload files

  8. Refresh bucket

Task 4: Remove the previous cloud engineer

  1. Navigation menu > IAM & Admin > IAM
  2. Search for the "Username 2" > Edit > Delete Role

The lab was Update Kindly Update it.*

…lenge Lab.md

the challenge lab was updated with these details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant