Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.
Terraform
Terraform
- Service Overview
- Getting Started
- Terraform Basics
- User Guide
- FAQs
- Reference
- General Reference
On this page
Copied.
Adding an EVS Disk
Application Scenario
Create an EVS disk and attach it to the ECS.
Related Resources
Procedure
- Add the following information to the main.tf file:
resource "huaweicloud_evs_volume" "myvolume" { name = "myvolume" availability_zone = data.huaweicloud_availability_zones.myaz.names[0] volume_type = "SAS" size = 10 } resource "huaweicloud_compute_volume_attach" "attached" { instance_id = huaweicloud_compute_instance.myinstance.id volume_id = huaweicloud_evs_volume.myvolume.id }
- Run terraform plan to view resources.
- After you confirm that the resource information is correct, run terraform apply to start EVS creation.
- After the EVS disk is attached to the ECS, you need to initialize the disk before you use it.
Parent topic: Elastic Cloud Server (ECS)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot