# פרק 264: 264 Cloud Vendor Series - Google Cloud - HA/DR and multi-cloud

> עמוד זה נוצר אוטומטית על ידי מודל שפה ממקורות הפרק. ייתכנו בו שגיאות. כדאי לבדוק מול הפרק לפני שמצטטים.

- פרק: https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html
- תאריך: 2015-06-08
- אורחים: ואדים סולובי

## תקציר

פרק 264 הוא הפרק הראשון בסדרת Cloud Vendor Series, והוא עוסק ב-Google Cloud Platform. האורח, Google Developer Expert מחברת DoIT, מסביר זמינות גבוהה (High Availability) והתאוששות מאסון (Disaster Recovery) בענן של Google. הדיון עובר על העברה חיה של שרתים, הפעלה מחדש אוטומטית, Cloud SQL, אחסון Nearline ו-snapshots. בסוף הפרק מוסבר על multi-cloud עם S3 API, Kubernetes ו-OpenStack.

## נקודות מרכזיות

- [4:31](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=271) האורח מספר ש-Google משקיעה בתשתית מחשוב מאז 2001, ובשנת 2009 החליטה לפתוח חלקים ממנה ללקוחות.
- [7:13](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=433) multi-cloud מאפשר לנצל את החוזקות של כל ספק ולפזר את הסיכון של תלות בספק אחד.
- [9:39](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=579) Transparent migration מאפשר להעביר שרת וירטואלי בזמן שהוא פועל, ללא שהלקוח מרגיש בכך.
- [10:53](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=653) Google השתמשה ביכולת הזאת כדי לעדכן מאות אלפי שרתים בתיקון לבאג ב-SSL בלי שלקוחות הבחינו בכך.
- [13:19](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=799) Auto restart מעלה מחדש את ה-instance על שרת פיזי אחר כשהשרת הקודם נופל, ולכן יש זמן השבתה קצר.
- [17:05](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=1025) ההבדל בין transparent migration ל-auto restart הוא ה-state: מיגרציה שומרת עליו, ו-restart מאבד אותו.
- [22:00](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=1320) Instance group שומר מספר מינימלי של שרתים, ו-health checks מזהים שרת תקול ומחליפים אותו.
- [25:01](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=1501) Cloud SQL הוא MySQL מנוהל, עם replicas במיקומים שונים והחלפה אוטומטית בתקלה.
- [28:31](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=1711) Google מחברת את מרכזי הנתונים שלה בתשתית סיבים אופטיים פרטית, ולכן יש throughput גבוה ו-latency נמוך בין יבשות.
- [30:00](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=1800) בהגדרת Cloud SQL אפשר לבחור בין רפליקציה סינכרונית, שלא מאבדת מידע, לבין רפליקציה אסינכרונית, שמהירה יותר.
- [33:36](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=2016) Disaster recovery יכול להיות בין שרתים בתוך הענן, או מהמרכז הפרטי של הארגון אל הענן.
- [36:04](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=2164) Google Cloud Storage Nearline מתומחר בסנט לג'יגה לחודש, ומתאים לגיבויים עם גישה מהירה יחסית.
- [45:02](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=2702) Kubernetes ו-Docker מאפשרים להעביר קונטיינרים בין ספקי ענן שונים בצורה כמעט שקופה.
- [50:00](https://www.reversim.com/2015/06/264-cloud-vendor-series-google-cloud.html#t=3000) לקוחות מריצים את ה-instances במקום אחד ואת פתרונות ה-Big Data במקום אחר, לפי יתרונות כל ספק.

## מה לקחת מהפרק

- Google מציעה שני מנגנוני המשכיות: העברה חיה של שרתים לפעולה מתוכננת, והפעלה מחדש אוטומטית לתקלה לא צפויה.
- Cloud SQL מספק MySQL עם High Availability מובנה, ואפשר לבחור בין סינכרוני לאסינכרוני.
- Multi-cloud דורש התייחסות לניהול, לעלויות תעבורה ולתאימות בין הספקים, ו-Kubernetes ו-S3 API מפשטים את העניין.
- אחסון Nearline מתאים לגיבוי ול-DR, כי המחיר נמוך והגישה לנתונים מהירה יחסית.

## טכנולוגיות

BigQuery, Cassandra, Docker, InnoDB, Kubernetes, MongoDB, MySQL, OpenStack, S3 API, SSL

## חברות

Amazon Web Services, DoIT, Google, Google Cloud Platform, IBM, Microsoft Azure, VMware, Veritas

## כלים וריפוזיטוריז

Amazon Glacier, Amazon S3, Ansible, Bigtable, CFEngine, Chef, Cloud SQL, Dataflow, Deployment Manager, Google App Engine, Google Cloud Storage, Google Compute Engine, Magnum, Puppet, Salt, iperf, vMotion
