mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-12 20:17:13 +00:00
Merge pull request #1538 from catherineluse/do-detail
Add detail to doc about RancherOS on Digital Ocean
This commit is contained in:
@@ -3,11 +3,29 @@ title: Digital Ocean
|
||||
weight: 107
|
||||
---
|
||||
|
||||
Now RancherOS is avaliable in DO portal. RancherOS is a member of container distributions and you can find it easily.
|
||||
RancherOS is avaliable in the Digital Ocean portal. RancherOS is a member of container distributions and you can find it easily.
|
||||
|
||||
You can access the host via SSH after booted, the default user is `rancher`.
|
||||
>**Note**
|
||||
>Deploying to Digital Ocean will incur charges.
|
||||
|
||||
You can do some initialization with user data, such as deploying Rancher. Here are the rough user data:
|
||||
To start a RancherOS Droplet on Digital Ocean:
|
||||
|
||||
1. In the Digital Ocean portal, go to the project view.
|
||||
1. Click **New Droplet.**
|
||||
1. Click **Create Droplet.**
|
||||
1. Click the **Container distributions** tab.
|
||||
1. Click **RancherOS.**
|
||||
1. Choose a plan. Make sure your Droplet has the [minimum hardware requirements for RancherOS]({{< baseurl >}}os/v1.x/en/overview/#hardware-requirements).
|
||||
1. Choose any options for backups, block storage, and datacenter region.
|
||||
1. Optional: In the **Select additional options** section, you can check the **User data** box and enter a `cloud-config` file in the text box that appears. The `cloud-config` file is used to provide a script to be run on the first boot. An example is below.
|
||||
1. Choose an SSH key that you have access to, or generate a new SSH key.
|
||||
1. Choose your project.
|
||||
1. Click **Create.**
|
||||
|
||||
|
||||
You can access the host via SSH after the Droplet is booted. The default user is `rancher`.
|
||||
|
||||
Below is an example `cloud-config` file that you can use to initialize the Droplet with user data, such as deploying Rancher:
|
||||
|
||||
```
|
||||
#cloud-config
|
||||
|
||||
Reference in New Issue
Block a user