# Done: Core Infrastructure on GCP Fundamentals - 18 Feb 2021 > **This Document**: https://hackmd.io/CEFY8iASQrazxB4qaLT8Qg?edit or https://is.gd/sequte > **Survey**: is.gd/gomivi > **Slides**: https://1drv.ms/b/s!Aq6hYeVV5o6Dhu96A2KPTkqG1wRFYa> **Slides**: https://1drv.ms/b/s!Aq6hYeVV5o6Dhu96A2KPTkqG1wRFYa New to Progamming - https://learning.oreilly.com/library/view/head-first-programming/9780596806682/ - https://learning.oreilly.com/library/view/head-first-python/9781491919521/ - https://learning.oreilly.com/library/view/head-first-learn/9781491958858/- https://learning.oreilly.com/library/view/head-first-learn/9781491958858/ Misc Google Cloud Link - https://www.partneradvantage.goog/GCPPRM/s/partneradvantageportallogin?language=en_US - Certifications Details https://www.evernote.com/shard/s295/sh/ab8acf7b-98b0-46b3-afbd-3756b46a825e/ffb53c4f70d0fe7fb85f56a9a80bad2f - https://github.com/gregsramblings/google-cloud-4-words - https://thecloudgirl.dev/index.html - www.gcpweekly.com ## Module 1: **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 ability 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. - Mark I: Repulsor weapon manually designed and created - Mark 85: Weapons are created automaitcally **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 **Different ways of Using Cloud** - IaaS: When infra is provided, we do everything else - Going to a restaurant and they only providing us kitchen and food material. We have to cook to eat - Hybrid: Not single cloud dependent. Can be moved between cloud or on prem as well - Resturant where Cooking counter is present. We have some control over what kind of food get's cooked. But we are not cooking - We manage kubernetes and kubernetes manages the infrastructure - PaaS: - We do nothing. Order food, its cooked by the restaurant people - Alternative way of Understanding IaaS, PaaS - On Prem - Get the Infra & manage it completely - IaaS - Use the infra from cloud and maange it completely - Create compute instance and install sql server on it. - Install software for product - CongiurInstall software for product - Congiure networking & logging. &security & connectivity - Do checkpoint - examples in GCP - Compute Engine - (Partially) Managed Product (PaaS) - WHen the product is partially managed by the provider and partially by the user - Scalable not Autoscale - Autoscale feature is present, it's done via config file, not native features of the product - examples in GCP - Cloud SQL or DataProc or BigTable or - Fully Managed Product (Serverless or Cloud Native) - When everything about the product is maanged by the provider - Is AutoScale - examples in GCP - e.g. Big Query service in GCP - App Engine, Cloud Run , Dataflow or PubSub - Container First Approach. (Hybrid is part of Contrainer based Approach) - Instead of OS, think in terms of virtualized (light weight OS. It is not a complete OS, it transferes all the work to the host os) called as Container - https://www.youtube.com/watch?v=4ht22ReBjno | The Illustrated Children's Guide to Kubernetes - YouTube - https://www.youtube.com/watch?v=R9-SOzep73w | A Kubernetes story: Phippy goes to the zoo - YouTube - https://www.katacoda.com/courses/kubernetes | Learn Kubernetes using Interactive Browser-Based Labs | Katacoda - Check below for extra - 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/ ![](https://i.imgur.com/UKMVRuV.png) - 3 horizontal Bars on left of Google CLoud Platform Name: Navigation Menu - Project Name on the right side of Google Cloud Platform Name - Search Bar on the right side of Project Name - Sign >_ is the Cloud Shell. Free linux environment to interact with Google Cloud ![](https://seroter.files.wordpress.com/2021/02/2021.02.03-shell-02.png) ![](https://seroter.files.wordpress.com/2021/02/2021.02.03-shell-03.png) - For details check https://seroter.com/2021/02/03/lets-compare-the-cloud-shells-offered-by-aws-microsoft-azure-and-google-cloud-platform/ - Right most corner is User Profile Scale out (Horizontal Scaling) vs Scale Up (Vertical Scaling) https://go.qwiklabs.com/qwiklabs-free --- Misc https://www.youtube.com/watch?v=6N5l0sgPP5k https://www.one-tab.com/page/gD53UVLSQMu-L7RUjpIO1g ## Questions - [ ] how the performance of a app will get affected if we deploy app completely in a region or we spread it over multi regions. - [ ] Is it possible to do performance tuning in the various layers in cloud Arctitecture. - [ ] How to get access Google Cloud under PartnerAdvantage Program ? - [ ] I am not able to open slide link ? Anything different I need to do ? - [ ] What are options available in GCP for migrating legacy mainframe into cloud as most of organisation still run their business on mainframe?Supplement to the question is that if GCP has tools to convert mainframe cobol , RPGILE code into Java or Python and then migrate OR do as it is migration ?