使用GCE(Google Container Engine)体验容器云服务 (1)

本文介绍了如何开始使用Google Container Engine(GCE)体验容器云服务,包括申请Google账户、激活账单、安装gcloud工具,并提供了相关资源和教程链接。
摘要由CSDN通过智能技术生成

2015-09-09 wcdj


摘要:本文记录使用GCE(Google Container Engine)体验容器云服务的过程和方法。


(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

The Container Engine API uses the gcloud command line tool for clusteroperations and for managing credentials.

Install thegcloud tool.

安装完成后,可以看下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 verbo
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值