Skip to content

Commit 11699fa

Browse files
committed
docs(gce): instructions for running Deis in Google Compute Engine
Adding instructions and script for running on Google Compute Engine. This changes existing CoreOS user-data to set permissions as strings instead of integers. PyYAML interperets integers preceded by 0 to be octal. 0755 would become 493 when converted. closes #1036
1 parent d2c97da commit 11699fa

11 files changed

Lines changed: 634 additions & 8 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@ Vagrantfile.local
5959

6060
# EC2 CloudFormation Setup
6161
contrib/ec2/cloudformation.json
62+
63+
# GCE generated user-data
64+
contrib/gce/gce-user-data

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Deis (pronounced DAY-iss) is an open source PaaS that makes it easy to deploy an
1010

1111
# Deploying Deis
1212

13-
Deis is a set of Docker containers that can be deployed anywhere including public cloud, private cloud, bare metal or your workstation. Decide where you'd like to deploy Deis, then follow the deployment-specific documentation for [Rackspace](contrib/rackspace/README.md), [EC2](contrib/ec2/README.md), [DigitalOcean](contrib/digitalocean/README.md) or [bare-metal](contrib/bare-metal/README.md) provisioning. Documentation for other platforms is forthcoming. Want to see a particular platform supported? Open an [issue](https://github.com/deis/deis/issues/new) and we'll investigate.
13+
Deis is a set of Docker containers that can be deployed anywhere including public cloud, private cloud, bare metal or your workstation. Decide where you'd like to deploy Deis, then follow the deployment-specific documentation for [Rackspace](contrib/rackspace/README.md), [EC2](contrib/ec2/README.md), [DigitalOcean](contrib/digitalocean/README.md), [Google Compute Engine](contrib/gce/README.md) or [bare-metal](contrib/bare-metal/README.md) provisioning. Documentation for other platforms is forthcoming. Want to see a particular platform supported? Open an [issue](https://github.com/deis/deis/issues/new) and we'll investigate.
1414

1515
Trying out Deis? Continue following these instructions for a local cluster setup. This is also a great Deis testing/development environment.
1616

client/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ lightweight and flexible.
2828
Deis comes with out-of-the-box support for Ruby, Python, Node.js, Java,
2929
Clojure, Scala, Play, PHP, Perl, Dart and Go. However, Deis can deploy
3030
anything using Docker images or Heroku Buildpacks. Deis is designed to work
31-
with any cloud provider. Currently Amazon EC2, Rackspace, and DigitalOcean
32-
are supported.
31+
with any cloud provider. Currently Amazon EC2, Rackspace, DigitalOcean, and
32+
Google Compute Engine are supported.
3333

3434

3535
Why Deis?

client/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
url='https://github.com/deis/deis',
3737
keywords=[
3838
'opdemand', 'deis', 'paas', 'cloud', 'chef', 'docker', 'heroku',
39-
'aws', 'ec2', 'rackspace', 'digitalocean'
39+
'aws', 'ec2', 'rackspace', 'digitalocean', 'gce'
4040
],
4141
classifiers=[
4242
'Development Status :: 4 - Beta',

contrib/coreos/user-data

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ write_files:
3333
- path: /etc/motd
3434
content: " \e[31m* * \e[34m* \e[32m***** \e[39mddddd eeeeeee iiiiiii ssss\n\e[31m* * \e[34m* * \e[32m* * \e[39md d e e i s s\n \e[31m* * \e[34m***** \e[32m***** \e[39md d e i s\n\e[32m***** \e[31m* * \e[34m* \e[39md d e i s\n\e[32m* * \e[31m* * \e[34m* * \e[39md d eee i sss\n\e[32m***** \e[31m* * \e[34m***** \e[39md d e i s\n \e[34m* \e[32m***** \e[31m* * \e[39md d e i s\n \e[34m* * \e[32m* * \e[31m* * \e[39md d e e i s s\n\e[34m***** \e[32m***** \e[31m* * \e[39mddddd eeeeeee iiiiiii ssss\n\n\e[39mWelcome to Deis\t\t\tPowered by Core\e[38;5;45mO\e[38;5;206mS\e[39m\n"
3535
- path: /etc/profile.d/nse-function.sh
36-
permissions: 0755
36+
permissions: '0755'
3737
content: |
3838
function nse() {
3939
sudo nsenter --pid --uts --mount --ipc --net --target $(docker inspect --format="{{ .State.Pid }}" $1)
4040
}
4141
- path: /run/deis/bin/get_image
42-
permissions: 0755
42+
permissions: '0755'
4343
content: |
4444
#!/bin/bash
4545
# usage: get_image <component_path>

0 commit comments

Comments
 (0)