Skip to content

Instantly share code, notes, and snippets.

@roman4ello
Last active June 1, 2021 11:47
Show Gist options
  • Save roman4ello/5bfd1124f1fb2c124f775b2d0f163e64 to your computer and use it in GitHub Desktop.
Save roman4ello/5bfd1124f1fb2c124f775b2d0f163e64 to your computer and use it in GitHub Desktop.
Create instance in GCP(Как создать инстанс в GCP)
ENG:
1. Login to https://console.cloud.google.com/compute/instances?
2. Check that you are on "Compute engine" page
3. Select "VM instances"
4. Click on "create instance" button
5. Indicate the name, indicate the labels (if necessary), indicate the region and zone of the region.
6. Select the type of machine configuration - N1 ---> g1-small to make it more economical(like the cheapest)
7. In the "Boot disk", select the OS image.
8. In "Service account" -> select your service account
9. In "Security" -> add your ssh-key
10. In "Network" -> select the network in which the instance will be, select the type of internal and external IP, add firewalls using network tags
11. Click "create instance" button.
Finally, you will see your instance on "VM instances" page.
Use your ssh-key to connect
RUS:
1. Войдите в https://console.cloud.google.com/compute/instances?
2. Убедитесь, что вы находитесь на странице «Compute Engine».
3. Выберите "VM instances".
4. Нажмите кнопку «create instanceр».
5. Укажите название, укажите метки (при необходимости), укажите регион и зону региона.
6. Выберите тип конфигурации машины - N1 ---> g1-small, чтобы она была более экономичной (как самая дешевая)
7. В «Boot disk» выберите образ ОС.
8. В «Service account» -> выберите свой сервисный аккаунт.
9. В «Security» -> добавьте свой ssh-ключ.
10. В «Network» -> выберите сеть, в которой будет находиться экземпляр, выберите тип внутреннего и внешнего IP, добавьте firewalls с помощью network tags.
11. Нажмите кнопку «create instance».
Наконец, вы увидите свой экземпляр на странице «VM instances».
Используйте свой ssh-ключ для подключения.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment