Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: appengine/gce-backend/README.md

Issue 2480653002: Remove unused pubsub stuff (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | appengine/gce-backend/app.yaml » ('j') | appengine/gce-backend/catalog.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # GCE Backend 1 # GCE Backend
2 2
3 A GCE backend for Machine Provider. 3 A GCE backend for Machine Provider.
4 4
5 GCE Backend is composed of a series of cron jobs. Each cron runs independently 5 GCE Backend is composed of a series of cron jobs. Each cron runs independently
6 of the others and performs idempotent operations. Many of the jobs are only 6 of the others and performs idempotent operations. Many of the jobs are only
7 eventually consistent, converging on the desired state over multiple calls. 7 eventually consistent, converging on the desired state over multiple calls.
8 8
9 9
10 ## Setting up 10 ## Setting up
11 11
12 * Visit http://console.cloud.google.com and create a project. Replace 12 * Visit http://console.cloud.google.com and create a project. Replace
13 `<appid>` below with your project id. 13 `<appid>` below with your project id.
14 * Visit Google Cloud Console, 14 * Visit Google Cloud Console,
15 * IAM & Admin, click `Add Member` and add someone else so you can safely 15 * IAM & Admin, click `Add Member` and add someone else so you can safely
16 be hit by a bus. 16 be hit by a bus.
17 * Pub/Sub, click `Enable API`.
18 * Compute Engine, to enable Compute Engine. 17 * Compute Engine, to enable Compute Engine.
19 * In Pub/Sub, create a topic with the same name as
20 pubsub.get\_machine\_provider\_topic(), and a pull subscription with the
21 same name as pubsub.get\_machine\_provider\_subscription(). On the topic,
22 authorize the Machine Provider's default service account as a publisher,
23 e.g. machine-provider@appspot.gserviceaccount.com.
24 * Upload the code with: `./tools/gae upl -x -A <appid>` 18 * Upload the code with: `./tools/gae upl -x -A <appid>`
25 * Visit https://\<appid\>.appspot.com/auth/bootstrap and click `Proceed`. 19 * Visit https://\<appid\>.appspot.com/auth/bootstrap and click `Proceed`.
26 * If you plan to use a [config service](../config_service), 20 * If you plan to use a [config service](../config_service),
27 * Make sure it is setup already. 21 * Make sure it is setup already.
28 * [Follow instruction 22 * [Follow instruction
29 here](../components/components/config/#linking-to-the-config-service). 23 here](../components/components/config/#linking-to-the-config-service).
30 * If you plan to use an [auth_service](../auth_service), 24 * If you plan to use an [auth_service](../auth_service),
31 * Make sure it is setup already. 25 * Make sure it is setup already.
32 * [Follow instructions 26 * [Follow instructions
33 here](../auth_service#linking-isolate-or-swarming-to-auth_service). 27 here](../auth_service#linking-isolate-or-swarming-to-auth_service).
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 147
154 ## delete-instance-templates 148 ## delete-instance-templates
155 149
156 Deletes GCE instance templates that aren't found in the config and have no 150 Deletes GCE instance templates that aren't found in the config and have no
157 instance group managers configured to use them. 151 instance group managers configured to use them.
158 152
159 153
160 ## cleanup-entities 154 ## cleanup-entities
161 155
162 Deletes entities that are no longer needed. 156 Deletes entities that are no longer needed.
OLDNEW
« no previous file with comments | « no previous file | appengine/gce-backend/app.yaml » ('j') | appengine/gce-backend/catalog.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698