Skip to content

Commit

Permalink
Merge pull request #9 from lukasvan3l/master
Browse files Browse the repository at this point in the history
europe-west1-a is deprecated
  • Loading branch information
chees committed Mar 26, 2015
2 parents 8cb9608 + df024eb commit a22e204
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -31,14 +31,14 @@ Install scripts to run Meteor on Google Compute Engine.
`gsutil cp ../<YOUR_APP_NAME>.tar.gz gs://iloveq42/versions/default.tar.gz`

10. Create a new persistent disk for MongoDB:
`gcloud compute disks create "mongo-data" --size "200GB" --zone "europe-west1-a" --type "pd-standard"`
`gcloud compute disks create "mongo-data" --size "200GB" --zone "europe-west1-d" --type "pd-standard"`

11. Create a compute engine instance using the startup.sh script (replace 'iloveq42' with your bucket name):
`gcloud compute instances create "meteor" --zone "europe-west1-a" --tags "http-server" --scopes storage-ro --metadata startup-script-url=gs://iloveq42/startup.sh --disk "name=mongo-data" "mode=rw" "boot=no"`
`gcloud compute instances create "meteor" --zone "europe-west1-d" --tags "http-server" --scopes storage-ro --metadata startup-script-url=gs://iloveq42/startup.sh --disk "name=mongo-data" "mode=rw" "boot=no"`

This will output something like this:

NAME ZONE MACHINE_TYPE INTERNAL_IP EXTERNAL_IP STATUS
meteor europe-west1-a n1-standard-1 10.240.134.93 130.211.62.68 RUNNING
meteor europe-west1-d n1-standard-1 10.240.134.93 130.211.62.68 RUNNING

Done! At this point your site should be reachable on the external IP (http://130.211.62.68 in this case).

0 comments on commit a22e204

Please sign in to comment.