1"use strict";(self.webpackChunkcloudpanel_ce_docusaurus_clp=self.webpackChunkcloudpanel_ce_docusaurus_clp||[]).push([[7020],{3905:(e,t,n)=>{n.d(t,{kt:()=>m});var a=n(7294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=a.createContext({}),c=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},g=a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,s=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),g=c(n),m=o,d=g["".concat(s,".").concat(m)]||g[m]||u[m]||r;return n?a.createElement(d,i(i({ref:t},p),{},{components:n})):a.createElement(d,i({ref:t},p))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=n.length,i=new Array(r);i[0]=g;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l[p]="string"==typeof e?e:o,i[1]=l;for(var c=2;c<r;c++)i[c]=n[c];return a.createElement.apply(null,i)}return a.createElement.apply(null,n)}g.displayName="MDXCreateElement"},3919:(e,t,n)=>{function a(e){return!0===/^(\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!a(e)}n.d(t,{Z:()=>o,b:()=>a})},4996:(e,t,n)=>{n.d(t,{C:()=>r,Z:()=>i});var a=n(2263),o=n(3919);function r(){const{siteConfig:{baseUrl:e="/",url:t}={}}=(0,a.Z)();return{withBaseUrl:(n,a)=>function(e,t,n,a){let{forcePrependBaseUrl:r=!1,absolute:i=!1}=void 0===a?{}:a;if(!n)return n;if(n.startsWith("#"))return n;if((0,o.b)(n))return n;if(r)return t+n;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,a)}}function i(e,t){void 0===t&&(t={});const{withBaseUrl:n}=r();return n(e,t)}},195:(e,t,n)=>{n.r(t),n.d(t,{contentTitle:()=>l,default:()=>g,frontMatter:()=>i,metadata:()=>s,toc:()=>c});var a=n(7462),o=(n(7294),n(3905)),r=n(4996);const i={id:"google-compute-engine",title:"Google Compute Engine",sidebar_label:"Google Compute Engine"},l=void 0,s={unversionedId:"admin-area/cloud-features/google-compute-engine",id:"admin-area/cloud-features/google-compute-engine",isDocsHomePage:!1,title:"Google Compute Engine",description:"Settings",source:"@site/docs/admin-area/cloud-features/google-compute-engine.md",sourceDirName:"admin-area/cloud-features",slug:"/admin-area/cloud-features/google-compute-engine",permalink:"/docs/v2/admin-area/cloud-features/google-compute-engine",editUrl:"https://github.com/cloudpanel-io/docs/tree/master/cloudpanel-ce/docs/admin-area/cloud-features/google-compute-engine.md",version:"current",frontMatter:{id:"google-compute-engine",title:"Google Compute Engine",sidebar_label:"Google Compute Engine"},sidebar:"sidebar",previous:{title:"Hetzner Cloud",permalink:"/docs/v2/admin-area/cloud-features/hetzner-cloud"},next:{title:"Vultr",permalink:"/docs/v2/admin-area/cloud-features/vultr"}},c=[{value:"Settings",id:"settings",children:[{value:"Service Account Keys",id:"service-account-keys",children:[]},{value:"Snapshot Settings",id:"snapshot-settings",children:[]}]},{value:"Snapshots",id:"snapshots",children:[{value:"Create Snapshot",id:"create-snapsh
1ot",children:[]}]}],p={toc:c},u="wrapper";function g(e){let{components:t,...n}=e;return(0,o.kt)(u,(0,a.Z)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h2",{id:"settings"},"Settings"),(0,o.kt)("h3",{id:"service-account-keys"},"Service Account Keys"),(0,o.kt)("h4",{id:"create-service-account-keys"},"Create Service Account Keys"),(0,o.kt)("p",null,"For the communication with the ",(0,o.kt)("strong",{parentName:"p"},"Google Compute Engine")," interface, you need to enter ",(0,o.kt)("strong",{parentName:"p"},"Service Account Keys"),"."),(0,o.kt)("img",{class:"border",alt:"Google Compute Engine Settings",src:(0,r.Z)("img/admin-area/cloud-features/google-compute-engine/settings.png?v=0.0.2")}),(0,o.kt)("p",null,"To create the ",(0,o.kt)("strong",{parentName:"p"},"Service Account Keys")," do the following steps:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Login into the ",(0,o.kt)("a",{parentName:"p",href:"https://console.cloud.google.com/"},"Google Cloud Console"),".")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Click in the left navigation on ",(0,o.kt)("strong",{parentName:"p"},"IAM & Admin")," and click on ",(0,o.kt)("strong",{parentName:"p"},"Service Accounts"),".")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"On the ",(0,o.kt)("strong",{parentName:"p"},"Service Accounts")," overview, go to ",(0,o.kt)("strong",{parentName:"p"},"Actions")," and click on ",(0,o.kt)("strong",{parentName:"p"},"Manage Keys"),"."))),(0,o.kt)("img",{class:"border",alt:"Manage Keys",src:(0,r.Z)("img/admin-area/cloud-features/google-compute-engine/manage-keys.png?v=0.0.2")}),(0,o.kt)("ol",{start:4},(0,o.kt)("li",{parentName:"ol"},"Click on ",(0,o.kt)("strong",{parentName:"li"},"Create new Key"),".")),(0,o.kt)("img",{class:"border",alt:"Create new Key",src:(0,r.Z)("img/admin-area/cloud-features/google-compute-engine/create-new-key.png?v=0.0.2")}),(0,o.kt)("ol",{start:5},(0,o.kt)("li",{parentName:"ol"},"Select Key type ",(0,o.kt)("strong",{parentName:"li"},"JSON")," and click on ",(0,o.kt)("strong",{parentName:"li"},"Create")," to download the ",(0,o.kt)("strong",{parentName:"li"},"Service Account Keys")," file.")),(0,o.kt)("img",{class:"border",alt:"Key Type JSON",src:(0,r.Z)("img/admin-area/cloud-features/google-compute-engine/key-type-json.png?v=0.0.2")}),(0,o.kt)("ol",{start:6},(0,o.kt)("li",{parentName:"ol"},"Open the downloaded file and paste the content into the ",(0,o.kt)("strong",{parentName:"li"},"Service Account Keys")," field.")),(0,o.kt)("h3",{id:"snapshot-settings"},"Snapshot Settings"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"To enable ",(0,o.kt)("strong",{parentName:"li"},"Automatic Snapshots"),", click in the left menu on ",(0,o.kt)("strong",{parentName:"li"},"Google Compute Engine")," and then on the tab ",(0,o.kt)("strong",{parentName:"li"},"Settings"),".")),(0,o.kt)("img",{class:"border",alt:"Enable Automatic Snapshots",src:(0,r.Z)("img/admin-area/cloud-features/google-compute-engine/enable-automatic-snapshots.png?v=0.0.2")}),(0,o.kt)("ol",{start:2},(0,o.kt)("li",{parentName:"ol"},"Select the ",(0,o.kt)("strong",{parentName:"li"},"Frequency")," and ",(0,o.kt)("strong",{parentName:"li"},"Retention Period")," and click on the button ",(0,o.kt)("strong",{parentName:"li"},"Save"),".")),(0,o.kt)("p",null,"Four ",(0,o.kt)("strong",{parentName:"p"},"Snapshots")," will be created per day and deleted after seven days with the following configuration."),(0,o.kt)("h2",{id:"snapshots"},"Snapshots"),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://cloud.google.com/compute/docs/disks/create-snapshots"},"Snapshots")," are a central part of the Google Cloud Backup architecture\u2014they allow you to create a point-in-time backup\nof a persistent disk attached to a virtual machine instance and save it to Google Cloud Storage.\nYou can also rapidly restore a snapshot to a persistent disk."),(0,o.kt)("h3",{id:"create-snapshot"},"Create Snapshot"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"To create a ",(0,o.kt)("strong",{parentName:"p"},"Snapshot"),", click in the left menu on ",(0,o.kt)("strong",{parentName:"p"},"Google Compute Engine")," and then on the tab ",(0,o.kt)("strong",{parentName:"p"},"Snapshots"),".")),(0,o.kt)("li",{parentName:"ol"},(0,o.kt)("p",{parentName:"li"},"Click on the button ",(0,o.kt)("strong",{parentName:"p"},"Create Snapshot")," top right."))),(0,o.kt)("img",{class:"border",alt:"Create Snapshot",src:(0,r.Z)("img/admin-area/cloud-features/google-compute-engine/create-snapsh
1ot-1.png?v=0.0.2")}),(0,o.kt)("ol",{start:3},(0,o.kt)("li",{parentName:"ol"},"Enter the ",(0,o.kt)("strong",{parentName:"li"},"Snapshot Name")," and click on ",(0,o.kt)("strong",{parentName:"li"},"Create"),".")),(0,o.kt)("img",{class:"border",alt:"Create Image",src:(0,r.Z)("img/admin-area/cloud-features/google-compute-engine/create-snapshot-2.png?v=0.0.2")}),(0,o.kt)("ol",{start:4},(0,o.kt)("li",{parentName:"ol"},"The ",(0,o.kt)("strong",{parentName:"li"},"Snapshot")," is now being created by the ",(0,o.kt)("strong",{parentName:"li"},"Google Compute Engine"),".")),(0,o.kt)("img",{class:"border",alt:"Snapshot Created",src:(0,r.Z)("img/admin-area/cloud-features/google-compute-engine/snapshot-created.png?v=0.0.2")}))}g.isMDXComponent=!0}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.