婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > 在Google Container Engine上申請創建Docker容器

在Google Container Engine上申請創建Docker容器

熱門標簽:AI智能客服電銷機器人穩定嗎 許昌真人電銷機器人價格 界首高德地圖標注店 方舟地圖標注位置 德州智能外呼系統收費 世界地圖標注地理 外呼系統的呼叫轉移在哪里設置 cass中宗地圖標注四至 漯河銷售外呼系統

(1)要申請一個Google賬戶。
(2)激活Google賬單,即綁定支付信用卡,為使用Google的服務買單。激活過程中為了驗證信用卡是否可用,需要支付1美元的費用。
激活支付地址:https://console.developers.google.com/billing?_ga=1.62759852.1080048005.1441690490
支付激活后,可以看到能夠使用的一些服務,同時看到可以免費使用60天。

(3)激活Google API
激活后,可以使用如下兩種服務:
Google Container Engine API
Google Compute Engine and associated APIs
創建一個gerry-test-proj工程:

然后點擊建立,會自動跳轉到當前創建好的工程中:

(4)安裝gcloud

到Google Cloud SDK上可以下載到各個版本的客戶端:https://cloud.google.com/sdk/#windows
安裝方法也有說明。安裝完成后,可以看下gcloud的使用方法:

復制代碼
代碼如下:

root@gerryyang:~# gcloud -h
Usage: gcloud [optional flags] group | command>
group may be auth | components | compute | config | container |
deployment-manager | dns | sql | topic
command may be docker | feedback | help | info | init | version
 
The *gcloud* CLI manages authentication, local configuration, developer 
workflow, and interactions with the Google Cloud Platform APIs. 
 
optional flags: 
  --account ACCOUNT      Google Cloud Platform user account to use for 
                         invocation. 
  --format FORMAT        Format for printed output. 
  --help                 Display detailed help. 
  --log-http LOG_HTTP    Logs all HTTP server requests and responses to stderr. 
                         (true/false) 
  --project PROJECT_ID   Google Cloud Platform project ID to use for this 
                         invocation. 
  --quiet, -q            Disable all interactive prompts. 
  --trace-token TRACE_TOKEN 
                         Token used to route traces of service requests for 
                         investigation of issues. 
  --user-output-enabled USER_OUTPUT_ENABLED 
                         Control whether user intended output is printed to the 
                         console.  (true/false) 
  --verbosity VERBOSITY  Override the default verbosity for this command.  This 
                         must be a standard logging verbosity level: [debug, 
                         info, warning, error, critical, none] (Default: 
                         [warning]). 
  -h                     Print a summary help and exit. 
  -v, --version          Print version information. 
 
command groups: 
  auth                   Manage oauth2 credentials for the Google Cloud SDK. 
  components             List, install, update, or remove Google Cloud SDK 
                         components or packages. 
  compute                Read and manipulate Google Compute Engine resources. 
  config                 View and edit Google Cloud SDK properties. 
  container              Deploy and manage clusters of machines for running 
                         containers. 
  deployment-manager     Manage deployments of cloud resources. 
  dns                    Manage your Cloud DNS managed-zones and record-sets. 
  sql                    Manage Cloud SQL databases. 
  topic                  gcloud supplementary help. 
 
commands: 
  docker                 Provides the docker CLI access to the Google Container 
                         Registry. 
  feedback               Provide feedback to the Google Cloud SDK team. 
  help                   Prints detailed help messages for the specified 
                         commands. 
  info                   Display information about the current gcloud 
                         environment. 
  init                   Create and initialize a gcloud workspace in the current 
                         directory. 
  version                Print version information for Cloud SDK components. 

然后使用gcloud登陸GCP賬戶(即,完成認證):

后記
越來越多的公司開始使用容器來構建應用,它可以方便地實現擴展、復制以及升級。這個新服務提供了一種全新的途徑來管理大量容器,免除了涉及到多容器業務流操作的大量底層工作。
Google于2014年11月首次對外發布了容器引擎,不過只是預覽版本。隨著這次商業性的發布,Google確保該服務已經具備好應對生產環境的各種條件,并承諾99.95%的正常運行時間。
另外,定價也已經確定。少于6個節點的用戶可以免費使用,若需管理多于6個節點則需為每個集群支付$0.15/小時的費用。
Google自身早已使用容器來運行Internet服務,例如搜索和郵箱服務。
通過容器,公司可以讓每個組件包含一部分應用,以模塊化的方式構建它們的應用,這就是廣為人知的微服務架構。當應用需要更新時,一個新的容器可以輕易地實現替換,以減小對操作的影響。
容器也為DevOps形式的軟件開發創造了條件。這種情況下,開發者在開發應用時快速地迭代,通過在容器中打包,每個獨立的組件都可以輕松地進行測試。
通過這個服務,用戶在單次操作中,完成對多容器復雜應用的部署。GCE會記錄操作日志,以確保每個容器的正確運行,它也提供一條簡易的途徑,通過增加額外的處理器或內存,來調整集群的大小。

標簽:亳州 大連 白城 保定 黔南 興安盟 吉安 嘉峪關

巨人網絡通訊聲明:本文標題《在Google Container Engine上申請創建Docker容器》,本文關鍵詞  在,Google,Container,Engine,上,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《在Google Container Engine上申請創建Docker容器》相關的同類信息!
  • 本頁收集關于在Google Container Engine上申請創建Docker容器的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 长顺县| 镇沅| 句容市| 故城县| 响水县| 察隅县| 鄄城县| 咸阳市| 改则县| 阿拉善盟| 集安市| 漾濞| 时尚| 泾源县| 屯昌县| 辽宁省| 宣汉县| 集贤县| 凤阳县| 三原县| 高淳县| 额尔古纳市| 沙雅县| 应用必备| 桃源县| 澎湖县| 康马县| 札达县| 靖宇县| 桃园县| 建瓯市| 同仁县| 福清市| 青田县| 贡觉县| 刚察县| 昌黎县| 临邑县| 武陟县| 磐安县| 黔南|