diff options
author | rebortg <github@ghlr.de> | 2021-03-29 15:54:07 +0200 |
---|---|---|
committer | rebortg <github@ghlr.de> | 2021-03-29 15:54:07 +0200 |
commit | 7b65c14fe261e38e63062ae5f8b1018d375bc06f (patch) | |
tree | a79896c6afaf97397fe783f2a8aa1f94c86f16a9 /docs/installation/cloud/gcp.rst | |
parent | 2fc8e13e94cfe3c31d87f286b210e1c08d098040 (diff) | |
download | vyos-documentation-7b65c14fe261e38e63062ae5f8b1018d375bc06f.tar.gz vyos-documentation-7b65c14fe261e38e63062ae5f8b1018d375bc06f.zip |
cloud: backport aws, azure and gcp
Diffstat (limited to 'docs/installation/cloud/gcp.rst')
-rw-r--r-- | docs/installation/cloud/gcp.rst | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/docs/installation/cloud/gcp.rst b/docs/installation/cloud/gcp.rst new file mode 100644 index 00000000..07aecdbe --- /dev/null +++ b/docs/installation/cloud/gcp.rst @@ -0,0 +1,58 @@ +##################### +Google Cloud Platform +##################### + +Deploy VM +--------- + +To deploy VyOS on GCP (Google Cloud Platform) + +1. Generate SSH key pair type **ssh-rsa** from the host that will connect to + VyOS. + + Example: + + .. code-block:: none + + ssh-keygen -t rsa -f ~/.ssh/vyos_gcp -C "vyos@mypc" + + +.. note:: In name "vyos@mypc" The first value must be "**vyos**". Because + default user is vyos and google api uses this option. + + +2. Open GCP console and navigate to the menu **Metadata**. Choose + **SSH Keys** and click ``edit``. + +.. figure:: /_static/images/cloud-gcp-01.png + + +Click **Add item** and paste your public ssh key. Click ``Save``. + +.. figure:: /_static/images/cloud-gcp-02.png + + +2. On marketplace search "VyOS" + +3. Change Deployment name/Zone/Machine type and click ``Deploy`` + +.. figure:: /_static/images/cloud-gcp-03.png + +4. After fiew seconds click to ``instance`` + +.. figure:: /_static/images/cloud-gcp-04.png + +5. Find out your external IP address + +.. figure:: /_static/images/cloud-gcp-05.png + +6. Connect to the instance. SSH key was generated in the first step. + + .. code-block:: none + + ssh -i ~/.ssh/vyos_gcp vyos@203.0.113.3 + vyos@vyos-r1-vm:~$ + +References +---------- +https://console.cloud.google.com/
\ No newline at end of file |