aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gce_setup/README.md
blob: 253e94daa94f2c7d1f59f354571a342753a1a368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
GCE images for GRPC
===================

This directory contains a number of shell files used for setting up GCE images
and instances for developing and testing gRPC.



Goal
----

- provides a script to create a GCE image that has everything needed to try
out gRPC on GCE.
- provide another script that creates a new GCE instance from the latest image

- additional scripts may be added in the future


Usage
------

# Minimal usage (see the scripts themselves for options)

$ create_grpc_dev_image.sh  # creates a grpc GCE image
$ ...
$ new_grpc_dev_instance.sh  # creates an instance using the latest grpc GCE image


Requirements
------------

Install [Google Cloud SDK](https://developers.google.com/cloud/sdk/)

Contents
--------

Library scripts that contain bash functions used in the other scripts:
- shared_setup_funcs.sh  # funcs used in create_grpc_dev_image and new_grpc_dev_instance
- gcutil_extras.sh  # wrappers for common tasks that us gcutil
- build_grpc_dist.sh  # funcs building the GRPC library and tests into a debian dist

GCE [startup scripts](https://developers.google.com/compute/docs/howtos/startupscript)
- *_on_startup.sh

Main scripts (as of 2014/09/04)
- create_grpc_dev_instance.sh
- new_grpc_dev_instance.sh