Skip to content

Commit f3e7368

Browse files
committed
Merge pull request #1352 from deis/add_do_to_docs
docs(*): add back references to DigitalOcean support
2 parents e80ef8e + 46c41eb commit f3e7368

5 files changed

Lines changed: 19 additions & 15 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Deis (pronounced DAY-iss) is an open source PaaS that makes it easy to deploy an
99

1010
# Deploying Deis
1111

12-
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), 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.
12+
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.
1313

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

@@ -81,7 +81,7 @@ Use `make run` to start all Deis components. This can take some time - the regis
8181
$ make run
8282
```
8383

84-
Your Vagrant VM is accessible at `local.deisapp.com` (or `local3.deisapp.com`/`local5.deisapp.com`). For clusters on other platforms (EC2, Rackspace, bare metal, etc.), see our guide to [Configuring DNS](http://docs.deis.io/en/latest/installing_deis/configure-dns/).
84+
Your Vagrant VM is accessible at `local.deisapp.com` (or `local3.deisapp.com`/`local5.deisapp.com`). For clusters on other platforms (EC2, Rackspace, DigitalOcean, bare metal, etc.), see our guide to [Configuring DNS](http://docs.deis.io/en/latest/installing_deis/configure-dns/).
8585

8686
## Testing the cluster
8787
Integration tests and corresponding documentation can be found under the `test/` folder.

contrib/digitalocean/README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
1-
# Provision a Deis Cluster on Digital Ocean
1+
# Provision a Deis Cluster on DigitalOcean
22

3-
Note that Digital Ocean does not support CoreOS images natively. To work around this, the provision
4-
scripts for Digital Ocean first create a CoreOS image which will be used for provisioning the cluster.
5-
6-
Digital Ocean support was contributed by [sttts](https://github.com/sttts). The CoreOS bootstrapping
3+
## Note on Deis support for DigitalOcean
4+
DigitalOcean support was contributed by [sttts](https://github.com/sttts). The CoreOS bootstrapping
75
is heavily based on [Levi Aul's code](https://gist.github.com/tsutsu/490f35f48897df0f5173).
86

9-
To deploy Deis to Digital Ocean:
7+
Note that DigitalOcean does not support CoreOS images natively. To work around this, the provision
8+
scripts for DigitalOcean first create a CoreOS image which will be used for provisioning the cluster.
9+
10+
Until native DigitalOcean support for CoreOS is implemented, this workaround is likely to be more fragile than deploying
11+
Deis to other cloud platforms which support CoreOS natively.
12+
13+
UPDATE: As of July 15, 2014, native CoreOS support on DigitalOcean is [planned](http://digitalocean.uservoice.com/forums/136585-digital-ocean/suggestions/4250154-suport-coreos-as-a-deployment-platform).
1014

1115
## Customize cloud-config.yml
1216
Edit [user-data](../coreos/user-data) and add a discovery URL. This URL will be used by all nodes in this Deis cluster. You can get a new discovery URL by sending a request to http://discovery.etcd.io/new.
1317

1418
## Install tugboat and authorize:
15-
The tugboat gem consumes the Digital Ocean API.
19+
The tugboat gem consumes the DigitalOcean API.
1620
```console
1721
$ gem install tugboat
1822
$ tugboat authorize
1923
```
2024
You can leave all but the client and API keys as the defaults.
2125

2226
## Upload keys
23-
Choose an SSH keypair to use for Deis and import it to Digital Ocean:
27+
Choose an SSH keypair to use for Deis and import it to DigitalOcean:
2428
```console
2529
$ tugboat add-key deis
2630
```

contrib/digitalocean/provision-digitalocean-deis-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ CONTRIB_DIR=$(dirname $THIS_DIR)
88
source $CONTRIB_DIR/utils.sh
99

1010
if ! which tugboat &>/dev/null; then
11-
echo_red 'Digital Ocean command line client tugboat not found.'
11+
echo_red 'DigitalOcean command line client tugboat not found.'
1212
exit 1
1313
fi
1414

contrib/digitalocean/provision-do-cluster.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ fi
2323
# check that the CoreOS user-data file is valid
2424
$CONTRIB_DIR/util/check-user-data.sh
2525

26-
# launch the Deis cluster on Digital Ocean
26+
# launch the Deis cluster on DigitalOcean
2727
i=1 ; while [[ $i -le $DEIS_NUM_INSTANCES ]] ; do \
2828
NAME=deis-$i
2929
echo_yellow "Provisioning ${NAME}..."
3030
tugboat create $NAME -r $1 -i $2 -p true -k $3 -s $4
3131
((i = i + 1)) ; \
3232
done
3333

34-
echo_green "Your Deis cluster has successfully deployed to Digital Ocean."
34+
echo_green "Your Deis cluster has successfully deployed to DigitalOcean."
3535
echo_green "Please continue to follow the instructions in the README."

docs/installing_deis/configure-dns.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Configure DNS
99
For local clusters, we've created the DNS record ``local.deisapp.com`` which resolves to the IP of the first VM, 172.17.8.100.
1010
You can use ``local.deisapp.com`` to both log into the controller and to access applications that you've deployed (they will be subdomains of ``local.deisapp.com``, like ``happy-unicorn.local.deisapp.com``). Similarly, you can use ``local3.deisapp.com`` or ``local5.deisapp.com`` for 3- and 5-node clusters, respectively. No DNS configuration is necessary for local clusters.
1111

12-
For Deis clusters hosted elsewhere (EC2, Rackspace, bare metal, etc.), DNS records will need to be created to point to the cluster. For a one-node cluster, we schedule and launch one router, and deis-router and deis-controller will run on the same host. So, the DNS record specified below can be configured to point to this one machine.
12+
For Deis clusters hosted elsewhere (EC2, Rackspace, DigitalOcean, bare metal, etc.), DNS records will need to be created to point to the cluster. For a one-node cluster, we schedule and launch one router, and deis-router and deis-controller will run on the same host. So, the DNS record specified below can be configured to point to this one machine.
1313

1414
On a multi-node cluster, however, there are probably multiple routers, and the controller will likely be scheduled on a separate machine. As mentioned in :ref:`configure-load-balancers`, a load balancer is recommended in this scenario.
1515

@@ -24,7 +24,7 @@ Deis requires one wildcard DNS record. Assuming ``myapps.com`` is the top-level
2424

2525
Apps can then be accessed via ``appname.myapps.com``, and the Deis controller can be accessed at ``deis.myapps.com``.
2626

27-
This record is necessary for all deployments of Deis (EC2, Rackspace, bare metal, etc.). Local clusters can use the domain ``local.deisapp.com``, ``local3.deisapp.com``, or ``local5.deiaspp.com``.
27+
This record is necessary for all deployments of Deis (EC2, Rackspace, DigitalOcean, bare metal, etc.). Local clusters can use the domain ``local.deisapp.com``, ``local3.deisapp.com``, or ``local5.deiaspp.com``.
2828

2929
Using xip.io
3030
------------

0 commit comments

Comments
 (0)