Bitnami Cloud Tools for Google Cloud

    The Bitnami Cloud Tools for Google Cloud is a set of tools packaged together with preconfigured Python language runtime to work out of the box.


    Load the environment for starting using Bitnami Cloud Tools for Google Cloud

    On Linux and OSX just go to the installation directory an run the script. On Windows, you can to the same with the google-cmd.bat script.
    bitnami@bitnami-machine:~/googletools-1.0-0$ ./
    WARNING: Your Google account was not authorized yet.
    Please run the 'gcloud auth login' command to authorize your account.

    Link your Bitnami Cloud Tools for Google Cloud with your credentials

    To store the credentials of your Google account into the installed Bitnami Cloud Tools for Google Cloud, you can run the suggested command:

    bash-4.2$ gcloud auth login
    Your browser has been opened to visit:
    Created new window in existing browser session.
    You can view your existing projects and create new ones in the Google
    Developers Console at: If you have a
    project ready, you can enter it now.
    Enter your Google Cloud project ID (or leave blank to not set):
    You can set your active project at any time by running:
    $ gcloud config set project <project id>
    You are logged in as
    There are available updates for some Cloud SDK components.  To
    install them, please run:
    $ gcloud components update

    At this point, you have to accept the terms of service on your browser as it is shown below:


    Update Google Cloud SDK components

    You can update the installed components of the Google Cloud SDK just by typing the following.

    bash-4.2$ gcloud components update
    The following components will be updated:
        | Cloud SDK Core Libraries               | 2014.02.20 | < 1 MB |
        | Cloud SQL Admin Command Line Interface | 2014.02.20 | < 1 MB |
    Do you want to continue (Y/n)? Y
    Creating update staging area...
    Uninstalling: Cloud SDK Core Libraries ... Done
    Uninstalling: Cloud SQL Admin Command Line Interface ... Done
    Installing: Cloud SDK Core Libraries ... Done
    Installing: Cloud SQL Admin Command Line Interface ... Done
    Creating backup and activating new installation...

    Create an instance using gcutil

    You can create a new instance in the project example just running the following:

    bash-4.2$ gcutil addinstance my-first-instance --project example
     Select a zone:
    1: europe-west1-a  (maintenance starts in 108 days)
    2: europe-west1-b  (maintenance starts in 17 days)
    3: us-central1-a
    4: us-central1-b
    5: us-central2-a (DEPRECATED)
    >>> 3
    Select a machine type:
    1: n1-standard-1    1 vCPU, 3.75 GB RAM
    2: n1-standard-2    2 vCPUs, 7.5 GB RAM
    3: n1-standard-4    4 vCPUs, 15 GB RAM
    4: n1-standard-8    8 vCPUs, 30 GB RAM
    5: n1-highcpu-2    2 vCPUs, 1.8 GB RAM
    6: n1-highcpu-4    4 vCPUs, 3.6 GB RAM
    7: n1-highcpu-8    8 vCPUs, 7.2 GB RAM
    8: n1-highmem-2    2 vCPUs, 13 GB RAM
    9: n1-highmem-4    4 vCPUs, 26 GB RAM
    10: n1-highmem-8    8 vCPUs, 52 GB RAM
    11: f1-micro    1 vCPU (shared physical core) and 0.6 GB RAM
    12: g1-small    1 vCPU (shared physical core) and 1.7 GB RAM
    >>> 11
    Select an image:
    1: bitnami-wordpress-380-0
    >>> 1
    INFO: Preparing boot disk [my-first-instance] for instance
    [my-first-instance] from disk image
    INFO: Waiting for insert of disk my-first-instance. Sleeping for 3s.
    INFO: Waiting for insert of disk my-first-instance. Sleeping for 3s.
    WARNING: You don't have an ssh key for Google Compute Engine. Creating
    one now...
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    INFO: Waiting for insert of instance my-first-instance. Sleeping for 3s.
    INFO: Waiting for insert of instance my-first-instance. Sleeping for 3s.
    Table of resources:
    | name              | network-ip  | external-ip | zone                               | status  |
    | my-first-instance | | xx.yy.zz.aa | projects/example/zones/us-central1 | RUNNING |
    Table of operations:
    | name                                           | status | operation-type |
    | operation-0000000000000-4f32a5819e659-b04c6a20 | DONE   | insert         |
    ash-4.2$ gcutil --project example ssh my-first-instance
    INFO: Zone for my-first-instance detected as us-central1-a.
    INFO: Running command line: ssh -o UserKnownHostsFile=/dev/null -o
    CheckHostIP=no -o StrictHostKeyChecking=no -i
    /home/bitnami/.ssh/google_compute_engine -A -p 22 bitnami@xx.yy.zz.aa --
    Warning: Permanently added 'xx.yy.zz.aa' (ECDSA) to the list of known
    Linux my-first-instance 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64
    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.
    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.





    Additional information

    For getting additional information about Google Cloud and Google Cloud SDK you can check the following links:

    Tag page (Edit tags)
    • No tags
    Page statistics
    9252 view(s), 8 edit(s) and 8333 character(s)


    You must login to post a comment.

    Attach file


    FileSizeDateAttached by 
    Terms of service for Google Cloud
    58.45 kB15:43, 25 Feb 2014VictorActions
    Google Cloud
    86.69 kB16:21, 25 Feb 2014VictorActions
    Bitnami Cloudtools for Google Cloud
    27.56 kB16:13, 25 Feb 2014VictorActions