Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions en/compute/operations/vm-create/create-linux-vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ description: Use this tutorial to create a Linux VM.
* `name`: Name the VM will get when created.
* `zoneId`: Availability zone matching the selected subnet.
* `platformId`: [Platform](../../concepts/vm-platforms.md).
* `resourceSpec`: Resources available to the VM. The values must match the selected platform.
* `resourcesSpec`: Resources available to the VM. The values must match the selected platform.
* `metadata`: In metadata, provide the public key for accessing the VM via SSH. Learn more in [{#T}](../../concepts/vm-metadata.md).
* `bootDiskSpec`: Boot disk settings. Specify the selected image ID and disk size.
* `autoDelete`: Auto-delete the boot disk together with the VM. See [{#T}](../../concepts/disk.md#autodelete-disks).
Expand Down Expand Up @@ -322,4 +322,4 @@ description: Use this tutorial to create a Linux VM.

#### See also {#see-also}

* [{#T}](../vm-connect/ssh.md)
* [{#T}](../vm-connect/ssh.md)
10 changes: 5 additions & 5 deletions en/compute/operations/vm-create/create-vm-with-gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,10 @@ By default, a [cloud](../../../resource-manager/concepts/resources-hierarchy.md#
}

resource "yandex_vpc_subnet" "subnet-1" {
name = "subnet1"
zone = "<availability_zone>"
network_id = "${yandex_vpc_network.network-1.id}"
name = "subnet1"
zone = "<availability_zone>"
v4_cidr_blocks = ["192.168.1.0/24"]
network_id = "${yandex_vpc_network.network-1.id}"
}
```

Expand All @@ -178,7 +179,6 @@ By default, a [cloud](../../../resource-manager/concepts/resources-hierarchy.md#
* `yandex_compute_instance`: VM description:
* `name`: VM name.
* {% include [terraform-allow-stopping](../../../_includes/compute/terraform-allow-stopping.md) %}
* `platform_id`: [Platform](../../concepts/vm-platforms.md) ID:
* `zone`: Availability zone the VM will reside in.

{% include [gpu-zones](../../../_includes/compute/gpu-zones.md) %}
Expand Down Expand Up @@ -220,4 +220,4 @@ By default, a [cloud](../../../resource-manager/concepts/resources-hierarchy.md#

#### See also {#see-also}

* Learn how to update the VM configuration [here](../vm-control/vm-update-resources.md).
* Learn how to update the VM configuration [here](../vm-control/vm-update-resources.md).
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ To create a VM with a custom configuration script:
```bash
yc compute instance create \
--name my-sample-instance \
--zone {{ region-id}}-a \
--zone {{ region-id }}-a \
--network-interface subnet-name=<subnet_name>,nat-ip-version=ipv4,security-group-ids=<security_group_ID> \
--create-boot-disk image-folder-id=standard-images,image-family=ubuntu-2204-lts,kms-key-id=<key_ID> \
--metadata-from-file user-data="<path_to_configuration_file>"
Expand Down Expand Up @@ -383,7 +383,7 @@ To make sure the configuration scripts ran successfully, [get the serial port ou
--silent \
--show-error \
--location \
https://dl.k8s.io/release/v1.3.0/bin/linux/amd64/kubectl \
https://dl.k8s.io/release/v1.31.0/bin/linux/amd64/kubectl \
--output /usr/local/etc/kubectl
sudo install -o root -g root -m 0755 /usr/local/etc/kubectl /usr/local/bin/kubectl
sudo rm -rf /usr/local/etc/kubectl
Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/vm-create/create-linux-vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ description: Следуя данной инструкции, вы сможете
* `name` — имя, которое будет присвоено ВМ при создании.
* `zoneId` — зона доступности, которая соответствует выбранной подсети.
* `platformId` — [платформа](../../concepts/vm-platforms.md).
* `resourceSpec` — ресурсы, доступные ВМ. Значения должны соответствовать выбранной платформе.
* `resourcesSpec` — ресурсы, доступные ВМ. Значения должны соответствовать выбранной платформе.
* `metadata` — в метаданных необходимо передать открытый ключ для SSH-доступа на ВМ. Подробнее в разделе [{#T}](../../concepts/vm-metadata.md).
* `bootDiskSpec` — настройки загрузочного диска. Укажите идентификатор выбранного образа и размер диска.
* `autoDelete` — настройка автоудаления загрузочного диска вместе с ВМ. См. [{#T}](../../concepts/disk.md#autodelete-disks).
Expand Down Expand Up @@ -327,4 +327,4 @@ description: Следуя данной инструкции, вы сможете

#### См. также {#see-also}

* [{#T}](../vm-connect/ssh.md).
* [{#T}](../vm-connect/ssh.md).
10 changes: 5 additions & 5 deletions ru/compute/operations/vm-create/create-vm-with-gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,10 @@ description: Следуя данной инструкции, вы сможете
}

resource "yandex_vpc_subnet" "subnet-1" {
name = "subnet1"
zone = "<зона_доступности>"
network_id = "${yandex_vpc_network.network-1.id}"
name = "subnet1"
zone = "<зона_доступности>"
v4_cidr_blocks = ["192.168.1.0/24"]
network_id = "${yandex_vpc_network.network-1.id}"
}
```

Expand All @@ -183,7 +184,6 @@ description: Следуя данной инструкции, вы сможете
* `yandex_compute_instance` — описание ВМ:
* `name` — имя ВМ.
* {% include [terraform-allow-stopping](../../../_includes/compute/terraform-allow-stopping.md) %}
* `platform_id` — идентификатор [платформы](../../concepts/vm-platforms.md):
* `zone` — зона доступности, в которой будет находиться ВМ.

{% include [gpu-zones](../../../_includes/compute/gpu-zones.md) %}
Expand Down Expand Up @@ -225,4 +225,4 @@ description: Следуя данной инструкции, вы сможете

#### См. также {#see-also}

* Узнайте, как [изменить конфигурацию ВМ](../vm-control/vm-update-resources.md).
* Узнайте, как [изменить конфигурацию ВМ](../vm-control/vm-update-resources.md).
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ description: Следуя данной инструкции, вы сможете
```bash
yc compute instance create \
--name my-sample-instance \
--zone {{ region-id}}-a \
--zone {{ region-id }}-a \
--network-interface subnet-name=<имя_подсети>,nat-ip-version=ipv4,security-group-ids=<идентификатор_группы_безопасности> \
--create-boot-disk image-folder-id=standard-images,image-family=ubuntu-2204-lts,kms-key-id=<идентификатор_ключа> \
--metadata-from-file user-data="<путь_к_файлу_конфигурации>"
Expand Down Expand Up @@ -383,7 +383,7 @@ description: Следуя данной инструкции, вы сможете
--silent \
--show-error \
--location \
https://dl.k8s.io/release/v1.3.0/bin/linux/amd64/kubectl \
https://dl.k8s.io/release/v1.31.0/bin/linux/amd64/kubectl \
--output /usr/local/etc/kubectl
sudo install -o root -g root -m 0755 /usr/local/etc/kubectl /usr/local/bin/kubectl
sudo rm -rf /usr/local/etc/kubectl
Expand Down
4 changes: 2 additions & 2 deletions ru/compute/operations/vm-create/create-with-lockbox-secret.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Как создать виртуальную машину с доступом в секрету {{ lockbox-name }}
title: Как создать виртуальную машину с доступом к секрету {{ lockbox-name }}
description: Следуя данной инструкции, вы сможете получить изнутри виртуальной машины значение секрета {{ lockbox-full-name }}, переданного через метаданные при создании ВМ.
---

Expand Down Expand Up @@ -257,4 +257,4 @@ description: Следуя данной инструкции, вы сможете

* [{#T}](../../concepts/vm-metadata.md)
* [{#T}](./create-with-env-variables.md)
* [{#T}](./create-with-cloud-init-scripts.md)
* [{#T}](./create-with-cloud-init-scripts.md)