Ajinkya Kolhe
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    1
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Done: Core Infrastructure GCP Fundamentals - 11 Mar 2021 > This Document: https://tinyurl.com/gcp-infra-11mar21 or https://hackmd.io/yBKHwsqzSKCOfNhRF2SWwg?both > > Slides: https://1drv.ms/p/s!Aq6hYeVV5o6Dh4Ais20OweiybJFoHg?e=lpI4IL & https://is.gd/jeravi --- ## Module 1: Intro to GCP - https://cloudwars.co/cloud-wars-top-10-vendors-world/ - https://cloudwars.co/special-report-2020/ - Online copies of the the course today - https://www.coursera.org/learn/gcp-fundamentals ((Audit the course then you can do it for free)) - https://cloudonair.withgoogle.com/events/apac-gcp-fundamentals-series - Check the learning paths: https://cloud.google.com/training#learning-paths - https://www.gcpweekly.com/gcp-resources/ - https://github.com/gregsramblings/google-cloud-4-words OnPrem vs Cloud vs Serverless Cloud - OnPrem - User configured, user managed and user maintained - Cloud - User configured, provider managed and provider maintained - Different Ways of Using Cloud - (on prem is user bought, user configured & user maintained) - Infrastructure as a Service: User configured, user maintained & Provider provided - Platform as a Service / Managed Product: User configured, provider managed & maintained but partial work still is needed by user - Fully Managed / Serverless: Everything is done by the provider. User just codes - Example restaurant - IaaS: You cook in the restaurant. - PaaS: Buffet self service - Serverless: Waiter serves you prepared food - https://www.episerver.com/articles/pizza-as-a-service & https://www.bmc.com/blogs/saas-vs-paas-vs-iaas-whats-the-difference-and-how-to-choose/ - Serverless Cloud - Fully automated and no configuration required Types of Jobs on Cloud 1. **Migration**. We move the codebase’s place of execution from on prem to on cloud - Google Cloud has partner ecosystem and patterns are heavily involved in migration. - Many of the technical guides related to migration: Find them here https://cloud.google.com/docs/tutorials 2. **Cloud Native Development** or **New application**: Generally startups do this or MNCs for a new application 3. Feature Addition on prexisting cloud env product 4. Maintenance Evolution to Cloud 1. First On Prem either server or data center - My Infra, I buy it, I manage it 2. Then On Cloud. (First migration called lift & shift) - Someone else’s infra - Renting not Buying. But renting gives flexibility - House Rent vs Buy? - Renting gives us abilrity to change 3. Then Cloud Native / Serverless / Fully Managed - Someone else’s Infra, but completely automatically managed - Iron Man? Mark I vs Mark 85 in End Game. nano tech. Migration to Cloud 1. Lift & Shift. Move as is 2. Optimize for Cloud. Tiny rewrite to improve the performance 3. Rewrite for Cloud Native or Restructure for Hybrid cloud via Container ## Module 2: VMs & Storage **Understanding Scale & Auto Scale** - Scale: - Scale means can change either up or down - it doesn’t change automatically. We have to do it by executing commands or using UI - e.g. Ant Man is Scale - e.g. editing Compute engine disk - change it either via UI or CloudShell - Auto Scale - It can change automatically without user intervention - Harry Potter Room of Requirement is AutoScale - SQL storage - How do you scale or auto scale? - Vertical Scaling - Increased demand is met by increasing the power of the same machine - Single machine computing - Horitontal Scaling - Increased demand is met by increasing the number of machines working together - Distributed computing - This is a sustainable way because there is a upper limit to vertical scaling and it’s very expensive to build more powerful machines **Storage Products** (https://cloud.google.com/products/storage & https://cloud.google.com/products/databases) 1. Cloud Storage - File System - Auto Scale - Fully Managed - https://cloud.google.com/storage 2. Bigtable - NoSQL wide columnar DB - Scale (horizontal) - (Partially) Managed - https://cloud.google.com/bigtable 3. SQL - SQL DB - Scale (vertical) - (Partially) Managed - https://cloud.google.com/sql 4. Spanner - New SQL DB - Scale (horizontal) - (Partially) Managed - https://cloud.google.com/spanner 5. DataStore - NoSQL Document DB - NoSQL DB, format is key value pair - Autoscale (horitzontal) - Fully Managed - https://cloud.google.com/datastore 6. BigQuery - Relational SQL - For OLAP Operations - https://cloud.google.com/datastore https://db-engines.com/en/ranking ### Module 3: Containers & Kubernetes - https://kubernetes.io/case-studies/pinterest/ - https://www.youtube.com/watch?v=z7TIzCAEo0M&ab_channel=CNCF%5BCloudNativeComputingFoundation%5D - https://medium.com/tinder-engineering/tinders-move-to-kubernetes-cda2a6372f44 ### Module 4: Big Data & ML - Dataproc - to run Hadoop and Spark/Hive/Pig - Dataflow - used for ETL, data analysis, Orchestration, Integrate other GCP services - used to create pipelines - BigQuery - Pub/Sub - Datalab AI 1. Custom Model - You write the code of the model and train it on the Data - You can use following to write the model - DataProc - Tensorflow - BigQuery ML - SQL based ML - Looker ML - SQL Based ML - KubFlow 2. Auto ML - With helps of UI, we simply create a higher quility model than API. - Auto ML model is worse than Custom Model and better than API model in accuracy - But Auto ML model doesn't need as much data as Custom Model. If data is less, custom model is not possible. 3. APIs - Pre built apis like, Speech to text, ,text to speech, vision, NLP, Translation or Video Analytivcs are present --- ## Questions - Is there difference between fully managed and serverless. - No. It's one and the same - where to find Audit option to see free enrollment in coursera - For handson experience via google console,provided credit card details for trial version. But in that it mentions that credit card needs to verified by providing some bill copy. Is there a better way to practice lab sessions ? - How to assign only view permission to a specific machines(VM) & Edit permission to a specific SQL servers within a project? - Say I have a DB size of 20 TB and more than 200 applications, is it wise to move to cloud? - Do we need to have working experiance on networking for cloud engineering? - What is the usecase to select persistant disk for vm? - I am working in ETL application, where there are different types of source systems which transfer the file to ETL server (unix), and our process also creates and trasnfer files to different target. Is it possible to move such application to cloud? in this case, source and target also needs te be migrated to cloud? - Containers v/s Hypervisor: Do containers require no installation on host OS? How is it exactly different than a Hypervisor? - how did you host the flask application and link to the server( eg app.{} the ip ) ? any config needed ? - Suppose 10 containers/applications running in a vm .Application is dependent on the Host OS.If Host OS crashes ,will the applications be impacted ? - Stackdriver is enabled by default for all GCP services or this needs to be configured? - Can you please introduce us to the GCP/Cloud certifications that one can aim for as a beginner to Cloud? -

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully