All Products
Search
Document Center

Elastic Compute Service:CreateInstance

Last Updated:Jul 04, 2026

Membuat instans Elastic Compute Service (ECS) berlangganan atau bayar sesuai pemakaian dengan parameter yang dapat disesuaikan.

Deskripsi operasi

Catatan

Operasi ini tidak lagi dipelihara. Gunakan RunInstances sebagai gantinya.

Sebelum memanggil operasi ini, pastikan Anda sepenuhnya memahami metode penagihan dan harga ECS.

Ini adalah operasi asinkron. Setelah permintaan untuk membuat instans dikirim, ID instans dikembalikan. Instans tidak segera dibuat. Panggil DescribeInstanceStatus untuk mengkueri status instans. Ketika statusnya Stopped, instans telah dibuat. Kemudian Anda dapat memanggil StartInstance untuk memulai instans.

Sebelum memulai

  • Pembuatan instans menimbulkan biaya. Pastikan Anda memahami metode penagihan Elastic Computing Service (ECS). Untuk informasi lebih lanjut, lihat Ikhtisar penagihan.

  • Pastikan jumlah total instans atau jumlah total vCPU di semua tipe instans tidak melebihi kuota. Untuk informasi lebih lanjut, lihat Pusat Kuota.

  • Sebelum membuat instans yang terhubung ke VPC, buat VPC di wilayah yang sesuai. Untuk informasi lebih lanjut, lihat Membuat VPC.

Sebelum memulai

  • Saat Anda memanggil operasi ini, sistem tidak mengirimkan notifikasi (termasuk pesan teks, email, atau pesan internal) tentang pembuatan instans.

  • Jika metode penagihan instans adalah berlangganan (PrePaid), kupon aktif di akun Anda digunakan secara default selama pembayaran.

  • Jika memori instans adalah 512 MiB, Anda tidak dapat menggunakan image Windows Server kecuali melalui saluran setengah tahun. Jika memori instans adalah 4 GiB atau lebih, Anda tidak dapat menggunakan image sistem operasi 32-bit.

  • Instans yang dibuat dengan memanggil operasi ini tidak diberi alamat IP Internet. Jika bandwidth publik lebih besar dari 0, panggil AllocatePublicIpAddress untuk menetapkan alamat IP publik. Jika bandwidth publik adalah 0, panggil ModifyInstanceNetworkSpec untuk menyesuaikan bandwidth lalu panggil AllocatePublicIpAddress untuk menetapkan alamat IP publik.

Catatan

Di satu wilayah, total bandwidth puncak Internet bayar-per-bandwidth untuk satu akun Alibaba Cloud dibatasi. Untuk informasi lebih lanjut, lihat Batas bandwidth publik.

Rekomendasi

  • Pemilihan tipe instans: Lihat Keluarga instans atau panggil DescribeInstanceTypes untuk mengkueri data kinerja tipe instans target. Anda juga dapat melihat Pengaturan untuk pemilihan tipe instans untuk mempelajari cara memilih tipe instans.

  • Memeriksa resource aktif: Panggil DescribeAvailableResource untuk mengkueri resource aktif di wilayah atau zona tertentu.

  • Data pengguna: Jika instans memenuhi persyaratan untuk data pengguna instans, Anda dapat meneruskan UserData. Data UserData tidak dienkripsi saat permintaan API dikirim. Jangan mengirim informasi rahasia seperti kata sandi atau kunci privat dalam teks biasa. Jika Anda harus meneruskan informasi tersebut, enkripsi dan gunakan pengkodean Base64 sebelum meneruskannya. Lalu lakukan dekripsi di dalam instans.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

ecs:CreateInstance

create

*全部资源

*

  • vpc:VPC
  • vpc:IsDefaultVSwitch
  • vpc:IsDefaultVpc
  • ecs:IsDiskEncrypted
  • ecs:InstanceType
  • ecs:InstanceTypeFamily
  • ecs:ImageOwnerId
  • ecs:ImageSource
  • ecs:NotSpecifySecurityGroupId
  • ecs:LoginAsNonRoot
  • ecs:IsSystemDiskByokEncrypted
  • ecs:IsDiskByokEncrypted
  • ecs:PasswordInherit
  • ecs:PasswordCustomized
  • ecs:IsSystemDiskEncrypted
  • ecs:ImagePlatform
  • ecs:LoginAsNonRoot
  • ecs:IsSystemDiskByokEncrypted
  • ecs:IsDiskByokEncrypted
  • ecs:PasswordInherit
  • ecs:PasswordCustomized
  • ecs:IsSystemDiskEncrypted
  • ecs:ImagePlatform
  • ecs:SecurityHardeningMode
  • vpc:CreateDefaultVpc
  • ecs:SecurityEnhancementStrategy
  • ecs:AssociatePublicIpAddress
  • ecs:InstanceChargeType
None

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

Yes

ID wilayah instans. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah terbaru.

cn-hangzhou

ImageId

string

No

ID image yang digunakan untuk memulai instans. Untuk menggunakan image Alibaba Cloud Marketplace, Anda dapat melihat ImageId di halaman produk image. Jika Anda tidak menggunakan ImageFamily untuk memilih image terbaru yang tersedia dari keluarga gambar, parameter ini diperlukan.

ubuntu_18_04_64_20G_alibase_20190624.vhd

ImageFamily

string

No

Nama keluarga gambar. Atur parameter ini untuk mendapatkan image terbaru yang tersedia dari keluarga gambar yang ditentukan untuk membuat instans.

  • Jika ImageId ditentukan, Anda tidak dapat mengatur parameter ini.

  • Jika ImageId tidak ditentukan, Anda dapat mengatur parameter ini.

hangzhou-daily-update

InstanceType

string

Yes

Tipe instans.

ecs.g6.large

SecurityGroupId

string

No

ID grup keamanan tempat instans berada.

sg-bp15ed6xe1yxeycg****

InstanceName

string

No

Nama instans. Panjang nama harus 2 hingga 128 karakter dan dapat berisi huruf dalam kategori huruf Unicode (termasuk karakter Inggris dan Tiongkok) serta angka. Nama dapat berisi titik dua (:), garis bawah (_), titik (.), atau tanda hubung (-). Jika parameter ini tidak ditentukan, nilai defaultnya adalah ID instans.

k8s-node-[1,4]-alibabacloud

InternetChargeType

string

No

Metode penagihan untuk penggunaan jaringan. Nilai valid:

  • PayByBandwidth: bayar-per-bandwidth.

  • PayByTraffic (default): bayar-per-trafik.

Catatan

Dalam mode bayar-per-trafik, bandwidth puncak arah masuk dan keluar keduanya merupakan batas atas dan tidak dijamin. Ketika konflik sumber daya terjadi, bandwidth puncak dapat dibatasi. Jika workload Anda memerlukan bandwidth yang dijamin, gunakan mode bayar-per-bandwidth.

PayByTraffic

AutoRenew

boolean

No

Apakah akan mengaktifkan perpanjangan otomatis. Parameter ini hanya berlaku ketika InstanceChargeType diatur ke PrePaid. Nilai valid:

  • true: mengaktifkan perpanjangan otomatis.

  • false (default): menonaktifkan perpanjangan otomatis.

true

AutoRenewPeriod

integer

No

Periode perpanjangan otomatis. Parameter ini diperlukan ketika AutoRenew diatur ke True.

Jika PeriodUnit diatur ke Month, nilai valid AutoRenewPeriod adalah 1, 2, 3, 6, dan 12.

2

InternetMaxBandwidthIn

integer

No

Bandwidth publik arah masuk maksimum, dalam Mbit/s. Nilai valid:

  • Jika bandwidth keluar yang dibeli kurang dari atau sama dengan 10 Mbit/s: 1 hingga 10. Nilai default: 10.

  • Jika bandwidth keluar yang dibeli lebih besar dari 10 Mbit/s: 1 hingga nilai InternetMaxBandwidthOut. Nilai default: nilai InternetMaxBandwidthOut.

50

InternetMaxBandwidthOut

integer

No

Bandwidth publik arah keluar maksimum, dalam Mbit/s. Nilai valid: 0 hingga 100.

Nilai default: 0.

5

HostName

string

No

Hostname server.

  • Hostname tidak boleh dimulai atau diakhiri dengan titik (.) atau tanda hubung (-), dan tidak boleh berisi titik atau tanda hubung berturut-turut.

  • Instans Windows: Panjang hostname harus 2 hingga 15 karakter dan tidak boleh berisi titik (.) atau seluruhnya terdiri dari angka. Hostname dapat berisi huruf besar dan kecil, angka, dan tanda hubung (-).

  • Instans lain (seperti Linux): Panjang hostname harus 2 hingga 64 karakter dan dapat berisi beberapa titik (.). Setiap segmen yang dipisahkan oleh titik dapat berisi huruf besar dan kecil, angka, dan tanda hubung (-).

LocalHostName

Password

string

No

Kata sandi instans. Panjang kata sandi harus 8 hingga 30 karakter dan harus mengandung setidaknya tiga dari jenis karakter berikut: huruf besar, huruf kecil, angka, dan karakter khusus. Karakter khusus berikut didukung:

()`~!@#$%^&*-_+=|{}[]:;'<>,.?/

Perhatikan item berikut:

  • Untuk tujuan keamanan, gunakan HTTPS untuk mengirim permintaan jika parameter Password ditentukan.

  • Untuk instans Windows, kata sandi tidak boleh dimulai dengan garis miring (/).

  • Untuk instans yang menjalankan sistem operasi tertentu, kata sandi tidak didukung. Hanya pasangan kunci yang didukung. Contoh: Others Linux dan Fedora CoreOS.

TestEcs123!

PasswordInherit

boolean

No

Apakah akan menggunakan kata sandi yang sudah diatur sebelumnya di image. Saat Anda menggunakan parameter ini, parameter Password harus kosong. Pastikan image memiliki kata sandi yang dikonfigurasi.

false

DeploymentSetId

string

No

ID set penyebaran.

ds-bp1brhwhoqinyjd6****

DeploymentSetGroupNo

integer

No

Nomor kelompok instans di set penyebaran. Parameter ini hanya berlaku ketika set penyebaran menggunakan strategi kelompok ketersediaan tinggi (AvailabilityGroup). Nilai valid: 1 hingga 7.

1

ZoneId

string

No

ID zona instans. Untuk informasi lebih lanjut, panggil DescribeZones untuk mengkueri daftar zona.

Catatan

Jika Anda menentukan VSwitchId, ZoneId yang ditentukan harus berada di zona yang sama dengan vSwitch. Anda juga dapat membiarkan ZoneId kosong, dan sistem secara otomatis memilih zona vSwitch yang ditentukan.

Nilai default: kosong. Sistem secara otomatis memilih zona.

cn-hangzhou-g

ClusterId

string

No

ID kluster instans.

Catatan

Parameter ini akan dihentikan. Untuk meningkatkan kompatibilitas, gunakan parameter lain sebagai gantinya.

c-bp67acfmxazb4p****

ClientToken

string

No

Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi pastikan token unik di antara permintaan yang berbeda. Nilai ClientToken hanya dapat berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Untuk informasi lebih lanjut, lihat Cara memastikan idempotensi.

123e4567-e89b-12d3-a456-426655440000

VlanId

string

No

ID virtual local area network.

10

InnerIpAddress

string

No

Alamat IP internal instans.

192.168.**.**

SystemDisk.Size

integer

No

Ukuran disk sistem, dalam GiB. Nilai valid:

  • Disk dasar: 20 hingga 500

  • Tipe disk lain: 20 hingga 2048

Nilai parameter ini harus lebih besar dari atau sama dengan max{20, ImageSize}.

Nilai default: max{40, ImageSize}.

40

SystemDisk.Category

string

No

Kategori disk sistem. Nilai valid:

  • cloud_efficiency: disk ultra.

  • cloud_ssd: SSD standar.

  • cloud_essd: SSD Perusahaan (ESSD).

  • cloud: disk dasar.

  • cloud_auto: disk ESSD AutoPL.

  • cloud_essd_entry: disk ESSD Entry.

Catatan

Nilai cloud_essd_entry hanya didukung ketika InstanceType diatur ke u1, family instans universal (ecs.u1) atau e, family instans ekonomis (ecs.e). Pengaturan parameter ini menentukan daya komputasi dan tingkat optimasi disk sistem.

Untuk tipe instans yang pensiun yang bukan instans yang dioptimalkan I/O, nilai defaultnya adalah cloud. Untuk tipe instans lain, nilai defaultnya adalah cloud_efficiency.

cloud_ssd

SystemDisk.DiskName

string

No

Nama disk sistem. Panjang nama harus 2 hingga 128 karakter dan dapat berisi huruf dalam kategori huruf Unicode (termasuk karakter Inggris, Tiongkok, dan angka). Nama dapat berisi titik dua (:), garis bawah (_), titik (.), atau tanda hubung (-).

Nilai default: kosong.

SystemDiskName

SystemDisk.Description

string

No

Deskripsi disk sistem. Panjang deskripsi harus 2 hingga 256 karakter dan tidak boleh dimulai dengan http:// atau https://.

Nilai default: kosong.

TestDescription

SystemDisk.PerformanceLevel

string

No

Tingkat kinerja (PL) dari SSD Perusahaan (ESSD) yang digunakan sebagai disk sistem. Pengaturan parameter ini hanya berlaku ketika kategori disk bukan SSD standar. Nilai valid:

  • PL0: satu disk dapat mengirimkan hingga 10.000 IOPS baca/tulis acak.

  • PL1 (default): satu disk dapat mengirimkan hingga 50.000 IOPS baca/tulis acak.

  • PL2: satu disk dapat mengirimkan hingga 100.000 IOPS baca/tulis acak.

  • PL3: satu disk dapat mengirimkan hingga 1.000.000 IOPS baca/tulis acak.

Untuk informasi tentang cara memilih tingkat kinerja ESSD, lihat ESSD.

PL1

NodeControllerId

string

No

Catatan

Parameter ini berada dalam pratinjau undangan dan tidak tersedia untuk umum.

null

Description

string

No

Deskripsi instans. Panjang deskripsi harus 2 hingga 256 karakter dan tidak boleh dimulai dengan http:// atau https://.

Nilai default: kosong.

InstanceTest

VSwitchId

string

No

ID vSwitch. Parameter ini diperlukan saat Anda membuat instans yang terhubung ke VPC. Anda dapat memanggil DescribeVSwitches untuk mengkueri vSwitch yang tersedia.

Catatan

Jika Anda menentukan VSwitchId, ZoneId yang ditentukan harus berada di zona yang sama dengan vSwitch. Anda juga dapat membiarkan ZoneId kosong, dan sistem secara otomatis memilih zona vSwitch yang ditentukan.

vsw-bp1s5fnvk4gn2tws0****

PrivateIpAddress

string

No

Alamat IP privat instans. Alamat IP harus berupa alamat yang tersedia dalam Blok CIDR vSwitch (VSwitchId) yang ditentukan.

172.16.236.*

IoOptimized

string

No

Apakah instans dioptimalkan I/O. Nilai valid:

  • none: tidak dioptimalkan I/O.

  • optimized: dioptimalkan I/O.

Nilai default untuk tipe instans yang pensiun adalah none.

Nilai default untuk tipe instans lain adalah optimized.

optimized

UseAdditionalService

boolean

No

Apakah akan menggunakan konfigurasi sistem mesin virtual yang disediakan oleh Alibaba Cloud (Windows: NTP dan KMS. Linux: NTP dan YUM).

true

InstanceChargeType

string

No

Metode penagihan instans. Nilai valid:

  • PrePaid: langganan. Jika Anda mengatur parameter ini ke PrePaid, pastikan akun Anda mendukung pembayaran kredit atau pembayaran saldo. Jika tidak, error InvalidPayMethod dikembalikan.

  • PostPaid (default): bayar sesuai pemakaian.

PrePaid

Period

integer

No

Durasi langganan instans. Satuan ditentukan oleh PeriodUnit. Parameter ini diperlukan dan hanya berlaku ketika InstanceChargeType diatur ke PrePaid. Jika DedicatedHostId ditentukan, nilai parameter ini tidak boleh melebihi durasi langganan host khusus. Nilai valid:

Jika PeriodUnit diatur ke Month, nilai valid Period adalah 1, 2, 3, 6, dan 12.

1

PeriodUnit

string

No

Satuan durasi langganan. Nilai valid:

Month.

Nilai default: Month.

Month

UserData

string

No

Data pengguna instans. Data harus dienkode dalam Base64. Ukuran maksimum data mentah adalah 32 KB.

ZWNobyBoZWxsbyBlY3Mh

SpotStrategy

string

No

Kebijakan penawaran untuk instans. Parameter ini hanya berlaku ketika InstanceChargeType diatur ke PostPaid. Nilai valid:

  • NoSpot (default): Instans adalah instans bayar sesuai pemakaian reguler.

  • SpotWithPriceLimit: Instans adalah spot instans dengan harga per jam maksimum yang ditentukan pengguna.

  • SpotAsPriceGo: Instans adalah spot instans yang harga pasarnya pada saat pembelian secara otomatis digunakan sebagai harga penawaran.

NoSpot

KeyPairName

string

No

Nama pasangan kunci.

Catatan

Untuk instans Windows, parameter ini diabaikan. Nilai defaultnya kosong. Bahkan jika parameter ini ditentukan, hanya konten Password yang digunakan.

KeyPairTestName

SpotPriceLimit

number

No

Harga per jam maksimum instans. Nilai ini dapat akurat hingga tiga tempat desimal. Parameter ini hanya berlaku ketika SpotStrategy diatur ke SpotWithPriceLimit.

0.98

SpotDuration

integer

No

Periode perlindungan spot instans, dalam jam. Nilai default: 1. Nilai valid:

  • 1: Setelah instans dibuat, Alibaba Cloud memastikan bahwa instans tidak dilepaskan secara otomatis selama 1 jam. Setelah 1 jam, sistem secara otomatis membandingkan harga penawaran dengan harga pasar dan memeriksa ketersediaan sumber daya untuk menentukan apakah akan mempertahankan pelepasan otomatis instans.

  • 0: Setelah instans dibuat, Alibaba Cloud tidak memastikan bahwa instans berjalan selama 1 jam. Sistem secara otomatis membandingkan harga penawaran dengan harga pasar dan memeriksa ketersediaan sumber daya untuk menentukan apakah akan mempertahankan pelepasan otomatis instans.

Catatan
  • Parameter ini hanya mendukung nilai 0 atau 1.

  • Spot instans ditagih per detik. Atur periode perlindungan berdasarkan durasi eksekusi tugas yang diharapkan.

  • Alibaba Cloud mengirimkan notifikasi peristiwa sistem ECS 5 menit sebelum instans dilepaskan.

1

SpotInterruptionBehavior

string

No

Mode penghentian spot instans. Nilai valid:

Nilai default: Terminate.

Terminate

RamRoleName

string

No

Nama peran RAM instans. Anda dapat memanggil API RAM ListRoles untuk mengkueri peran RAM instans yang telah Anda buat.

RAMTestName

SecurityEnhancementStrategy

string

No

Apakah akan mengaktifkan penguatan keamanan. Nilai valid:

  • Active: mengaktifkan penguatan keamanan. Nilai ini hanya berlaku untuk image publik.

  • Deactive: menonaktifkan penguatan keamanan. Nilai ini berlaku untuk semua jenis image.

Active

ResourceGroupId

string

No

ID kelompok sumber daya perusahaan tempat instans berada.

rg-bp67acfmxazb4p****

HpcClusterId

string

No

ID kluster HPC tempat instans berada.

hpc-bp67acfmxazb4p****

DryRun

boolean

No

Apakah akan menjalankan dry run saja. Nilai valid:

  • true: Hanya menjalankan dry run. Sistem memeriksa apakah parameter yang diperlukan ditentukan, apakah format permintaan valid, apakah batas layanan terpenuhi, dan apakah sumber daya ECS yang ditentukan tersedia. Jika pemeriksaan gagal, kode kesalahan yang sesuai dikembalikan. Jika pemeriksaan berhasil, kode kesalahan DryRunOperation dikembalikan.

  • false (default): Menjalankan dry run dan mengirim permintaan. Jika pemeriksaan berhasil, instans dibuat.

false

DedicatedHostId

string

No

ID spesifikasi khusus.

Anda dapat memanggil DescribeDedicatedHosts untuk mengkueri daftar ID spesifikasi khusus.

Penting Spot instans tidak dapat dibuat di spesifikasi khusus. Jika Anda menentukan DedicatedHostId, pengaturan SpotStrategy dan SpotPriceLimit dalam permintaan secara otomatis diabaikan.

dh-bp67acfmxazb4p****

CreditSpecification

string

No

Mode kinerja Instance Burstable. Nilai valid:

Standard

DeletionProtection

boolean

No

Atribut perlindungan pelepasan instans. Menentukan apakah instans dapat dilepaskan dari Konsol ECS atau dengan memanggil DeleteInstance.

  • true: mengaktifkan perlindungan pelepasan.

  • false (default): menonaktifkan perlindungan pelepasan.

Catatan

Atribut ini hanya berlaku untuk instans bayar sesuai pemakaian. Ini hanya dapat mencegah pelepasan manual, bukan pelepasan yang diinisiasi sistem.

false

HibernationOptions.Configured

boolean

No

Catatan

Parameter ini berada dalam pratinjau undangan dan tidak tersedia untuk umum.

false

Affinity

string

No

Apakah instans terkait dengan host khusus. Nilai valid:

  • default: Instans tidak terkait dengan host khusus. Ketika instans yang memiliki mode hemat diaktifkan dimulai ulang setelah dihentikan, instans diterapkan ke host khusus lain di kolam sumber daya penyebaran otomatis jika resource host khusus asli tidak mencukupi.

  • host: Instans terkait dengan host khusus. Ketika instans yang memiliki mode hemat diaktifkan dimulai ulang setelah dihentikan, instans tetap berada di host khusus asli. Jika resource host khusus asli tidak mencukupi, instans gagal dimulai ulang.

Nilai default: default.

default

Tenancy

string

No

Apakah akan membuat instans di spesifikasi khusus. Nilai valid:

  • default: membuat instans di host non-khusus.

  • host: membuat instans di spesifikasi khusus. Jika Anda tidak menentukan DedicatedHostId, Alibaba Cloud secara otomatis memilih spesifikasi khusus untuk instans.

Nilai default: default.

default

StorageSetId

string

No

ID set penyimpanan.

ss-bp1j4i2jdf3owlhe****

StorageSetPartitionNumber

integer

No

Jumlah maksimum partisi di set penyimpanan. Nilai valid: lebih besar dari atau sama dengan 2.

2

HttpEndpoint

string

No

Apakah akan mengaktifkan saluran akses untuk metadata instans. Nilai valid:

  • enabled: diaktifkan.

  • disabled: dinonaktifkan.

Nilai default: enabled.

Catatan

Untuk informasi lebih lanjut tentang metadata instans, lihat Ikhtisar metadata instans.

enabled

HttpTokens

string

No

Apakah akan secara paksa menggunakan mode yang diperkuat keamanan (IMDSv2) untuk mengakses metadata instans. Nilai valid:

  • optional: tidak secara paksa menggunakan mode yang diperkuat keamanan.

  • required: secara paksa menggunakan mode yang diperkuat keamanan. Setelah nilai ini diatur, metadata instans tidak dapat diakses dalam mode normal.

Nilai default: optional.

Catatan

Untuk informasi lebih lanjut tentang mode untuk mengakses metadata instans, lihat Mode akses metadata instans.

optional

HttpPutResponseHopLimit

integer

No

Catatan

Parameter ini tidak tersedia untuk umum.

0

PrivatePoolOptions.MatchCriteria

string

No

Opsi kolam privat untuk meluncurkan instans. Kolam privat dihasilkan ketika jaminan elastisitas atau reservasi kapasitas berlaku. Anda dapat memilih kolam privat saat memulai instans. Nilai valid:

  • Open: mode terbuka. Sistem secara otomatis mencocokkan kolam privat terbuka. Jika tidak ada kolam privat yang cocok tersedia, instans diluncurkan menggunakan resource kolam publik. Anda tidak perlu mengatur PrivatePoolOptions.Id.

  • Target: mode tertentu. Instans diluncurkan menggunakan kolam privat yang ditentukan. Jika kolam privat yang ditentukan tidak tersedia, instans gagal diluncurkan. Dalam mode ini, Anda harus menentukan ID kolam privat. Atur PrivatePoolOptions.Id ke ID kolam privat.

  • None: tidak menggunakan kolam privat. Instans diluncurkan tanpa menggunakan kolam privat apa pun.

Nilai default: None.

Dalam salah satu skenario berikut, opsi kolam privat hanya dapat diatur ke None atau dibiarkan kosong:

  • Membuat spot instans.

  • Membuat Instance ECS di host khusus.

Open

PrivatePoolOptions.Id

string

No

ID kolam privat, yaitu ID jaminan elastisitas atau reservasi kapasitas.

eap-bp67acfmxazb4****

DataDisk

array<object>

No

Daftar disk data.

object

No

PerformanceLevel

string

No

Tingkat kinerja (PL) dari SSD Perusahaan (ESSD) yang digunakan sebagai disk data. Pengaturan parameter ini hanya berlaku ketika kategori disk bukan SSD standar. Nilai N harus sama dengan nilai di DataDisk.N.Category=cloud_essd. Nilai valid:

  • PL0: satu disk dapat mengirimkan hingga 10.000 IOPS baca/tulis acak.

  • PL1 (default): satu disk dapat mengirimkan hingga 50.000 IOPS baca/tulis acak.

  • PL2: satu disk dapat mengirimkan hingga 100.000 IOPS baca/tulis acak.

  • PL3: satu disk dapat mengirimkan hingga 1.000.000 IOPS baca/tulis acak.

Untuk informasi tentang cara memilih tingkat kinerja ESSD, lihat ESSD.

PL2

Description

string

No

Deskripsi disk data. Panjang deskripsi harus 2 hingga 256 karakter dan tidak boleh dimulai dengan http:// atau https://.

TestDescription

SnapshotId

string

No

ID snapshot yang digunakan untuk membuat disk data N. Nilai valid N: 1 hingga 16.

  • Jika DataDisk.N.SnapshotId ditentukan, DataDisk.N.Size diabaikan. Ukuran aktual disk yang dibuat adalah ukuran snapshot yang ditentukan.

  • Snapshot yang dibuat pada atau sebelum 15 Juli 2013 tidak dapat digunakan. Permintaan dengan snapshot tersebut ditolak.

s-bp17441ohwka0yuh****

Size

integer

No

Ukuran disk data N, dalam GiB. Nilai valid N: 1 hingga 16. Nilai valid:

  • cloud_efficiency: 20 hingga 32768.

  • cloud_ssd: 20 hingga 32768.

  • cloud_essd: Nilai valid bergantung pada nilai DataDisk.N.PerformanceLevel.
    • PL0: 1 hingga 65.536.

    • PL1: 20 hingga 65.536.

    • PL2: 461 hingga 65.536.

    • PL3: 1261 hingga 65.536.

  • cloud: 5 hingga 2000.

Catatan

Nilai parameter ini harus lebih besar dari atau sama dengan ukuran snapshot yang ditentukan oleh SnapshotId.

2000

Device

string

No

Titik memasang disk data.

Catatan

Parameter ini hanya berlaku untuk skenario image lengkap (image sistem). Anda dapat mengatur parameter ini ke titik memasang disk data dalam image lengkap dan memodifikasi parameter DataDisk.N.Size dan DataDisk.N.Category yang sesuai untuk mengubah kategori dan ukuran disk data dalam image lengkap.

/dev/xvdb

DiskName

string

No

Nama disk data. Panjang nama harus 2 hingga 128 karakter dan dapat berisi huruf dalam kategori huruf Unicode (termasuk karakter Inggris, Tiongkok, dan angka). Nama dapat berisi titik dua (:), garis bawah (_), titik (.), atau tanda hubung (-).

DataDiskName

Category

string

No

Kategori disk data N. Nilai valid:

  • cloud_efficiency: disk ultra.

  • cloud_ssd: SSD standar.

  • cloud_essd: SSD Perusahaan (ESSD).

  • cloud: disk dasar.

  • cloud_auto: disk ESSD AutoPL.

  • cloud_essd_entry: disk ESSD Entry.
    Catatan

    Nilai cloud_essd_entry hanya didukung ketika InstanceType diatur ke family instans ecs.u1 atau ecs.e. Pengaturan parameter ini menentukan tingkat optimasi disk data.

  • elastic_ephemeral_disk_standard: disk ephemeral elastis - standar.

  • elastic_ephemeral_disk_premium: disk ephemeral elastis - Edisi Premium.

Nilai default adalah cloud_efficiency untuk instans yang dioptimalkan I/O dan cloud untuk instans yang tidak dioptimalkan I/O.

cloud_ssd

DeleteWithInstance

boolean

No

Apakah disk data dilepaskan ketika instans dilepaskan.

  • true: Disk data dilepaskan ketika instans dilepaskan.

  • false: Disk data tidak dilepaskan ketika instans dilepaskan.

Nilai default: true.

true

KMSKeyId

string

No

ID kunci KMS yang digunakan oleh disk.

0e478b7a-4262-4802-b8cb-00d****

EncryptAlgorithm

string

No

Catatan

Parameter ini tidak tersedia untuk umum.

null

Encrypted

boolean

No

Apakah disk data N dienkripsi.

  • true: dienkripsi.

  • false: tidak dienkripsi.

Nilai default: false.

false

StorageClusterId

string

No

ID kluster penyimpanan blok khusus. Untuk menggunakan disk di kluster penyimpanan blok khusus sebagai disk data saat Anda membuat Instance ECS, atur parameter ini.

dbsc-j5e1sf2vaf5he8m2****

Arn

array<object>

No

Catatan

Parameter ini berada dalam pratinjau undangan dan tidak tersedia untuk umum.

object

No

RoleType

string

No

Catatan

Parameter ini berada dalam pratinjau undangan dan tidak tersedia untuk umum.

Primary

Rolearn

string

No

Catatan

Parameter ini berada dalam pratinjau undangan dan tidak tersedia untuk umum.

acs:ram::123456789012****:role/adminrole

AssumeRoleFor

integer

No

Catatan

Parameter ini berada dalam pratinjau undangan dan tidak tersedia untuk umum.

1234567890

Tag

array<object>

No

Daftar tag.

object

No

Daftar tag.

key

string

No

Kunci tag.

Catatan

Untuk meningkatkan kompatibilitas, gunakan Tag.N.Key sebagai gantinya.

Test

Key

string

No

Kunci tag untuk instans, disk, dan ENI primer. Nilai valid N: 1 hingga 20. Kunci tag tidak boleh berupa string kosong. Panjang kunci tag dapat hingga 128 karakter dan tidak boleh dimulai dengan aliyun atau acs:. Kunci tag tidak boleh berisi http:// atau https://.

TestKey

Value

string

No

Nilai tag untuk instans, disk, dan ENI primer. Nilai valid N: 1 hingga 20. Nilai tag dapat berupa string kosong. Panjang nilai tag dapat hingga 128 karakter dan tidak boleh berisi http:// atau https://.

TestValue

value

string

No

Nilai tag.

Catatan

Untuk meningkatkan kompatibilitas, gunakan Tag.N.Value sebagai gantinya.

Test

SystemDisk

object

No

Parameter disk sistem. ID kluster penyimpanan blok khusus (StorageClusterId) harus diatur melalui parameter ini.

StorageClusterId

string

No

ID kluster penyimpanan blok khusus. Untuk menggunakan disk di kluster penyimpanan blok khusus sebagai disk sistem saat Anda membuat Instance ECS, atur parameter ini.

dbsc-j5e1sf2vaf5he8m2****

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

InstanceId

string

ID instans.

i-bp67acfmxazb4p****

OrderId

string

ID pesanan. Parameter ini hanya dikembalikan ketika Anda membuat Instance ECS berlangganan (parameter permintaan InstanceChargeType=PrePaid).

1234567890

TradePrice

number

Harga transaksi pesanan.

0.165

Contoh

Respons sukses

JSONformat

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "InstanceId": "i-bp67acfmxazb4p****",
  "OrderId": "1234567890",
  "TradePrice": 0.165
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidStorageClusterId.CapacityNotEnough The remaining capacity of the current dedicated storage cluster is less than the size of disk.
400 InvalidStorageClusterId.StatusNotSupport The current status of the dedicated storage cluster cannot create a cloud disk yet.
400 InvalidStorageClusterId.ZoneIdEmpty The specified param ZoneId cannot be empty when StorageClusterId given.
400 InvalidStorageClusterId.PerformanceLevelNotMatch The current dedicated storage cluster cannot create this performance level of disk.
400 InvalidStorageClusterId.CategoryNotMatch The current dedicated storage cluster cannot create this category of disk.
400 InvalidStorageClusterId.DiskSizeEmpty The specified param DiskSize cannot be empty when StorageClusterId given.
400 InvalidInstanceType.ValueUnauthorized The specified InstanceType is not authorized.
400 InvalidInternetChargeType.ValueNotSupported The specified InternetChargeType is not valid.
400 InvalidParameter The specified parameter "InternetMaxBandwidthOut" is not valid.
400 InvalidSystemDiskCategory.ValueNotSupported The specified parameter " SystemDisk.Category " is not valid.
400 InvalidDataDiskSize.ValueNotSupported The specified DataDisk.n.Size beyond the permitted range, or the capacity of snapshot exceeds the size limit of the specified disk category.
400 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
400 InvalidDescription.Malformed The specified parameter "Description" is not valid.
400 InvalidHostName.Malformed The specified parameter "HostName" is not valid.
400 InvalidPassword.Malformed The specified parameter "Password" is not valid.
400 InvalidPasswordParam.Mismatch The input password should be null when passwdInherit is true.
400 InvalidDiskName.Malformed The specified parameter "SystemDisk.DiskName or DataDisk.n.DiskName" is not valid.
400 InvalidDiskDescription.Malformed The specified parameter "SystemDisk.DiskDescription" or "DataDisk.n.Description" is not valid.
400 InvalidDataDiskCategory.ValueNotSupported The specified parameter "DataDisk.n.Category" is not valid.
400 InvalidDataDevice.Malformed The specified parameter "DataDisk.n.Device" is not valid.
400 InvalidNodeControllerId.Malformed The specified parameter "NodeControllerId" is not valid.
400 InvalidInnerIpAddress.Malformed The specified parameter "InnerIpAddress" is not valid.
400 InvalidInnerIpAddress.Unusable The specified InnerIpAddress is already used or not found in usable ip range.
400 OperationDenied The specified parameter "VlanId" is not valid or vlan has not enough IP address.
400 InvalidParameter.Conflict The specified image does not support the specified instance type.
400 ImageNotSupportCloudInit The specified image does not support cloud-init.
400 InvalidSnapshotId.BasedSnapshotTooOld The specified snapshot is created before 2013-07-15.
400 QuotaExceed.AfterpayInstance The maximum number of Pay-As-You-Go instances is exceeded: %s.
400 InvalidMarketImageChargeType.NotSupport The specified chargeType of marketImage is unsupported.
400 InvalidInstanceName.Malformed The specified parameter "InstanceName" is not valid.
400 InvalidParameter.Mismatch Specified security group and virtual switch are not in the same VPC.
400 InvalidNetworkType.Mismatch Specified parameter InternetMaxBandwidthIn or InternetMaxBandwidthOut conflict with instance network type.
400 InvalidPrivateIpAddress Specified private IP address is not in the CIDR block of virtual switch.
400 InvalidPrivateIpAddress.Malformed Specified private IP address is invalid.
400 InvalidPrivateIpAddress.Duplicated Specified private IP address is duplicated.
400 QuotaExceeded.PrivateIpAddress Don't have enough private IPs in this switch.
400 QuotaExceeded Living instances quota exceeded in this VPC.
400 IncorrectVSwitchStatus The current status of virtual switch does not support this operation.
400 ResourceNotAvailable Resource you requested is not available in this region or zone.
400 MissingParameter The input parameter "VSwitchId" that is mandatory for processing this request is not supplied.
400 InvalidDiskCategory.Mismatch The specified disk categories' combination is not supported.
400 InvalidIoOptimizedValue.ValueNotSupported IoOptimized value not supported.
400 MissingParamter The specified parameter "Period" is not null.
400 InvalidPeriod The specified period is not valid.
400 InstanceDiskCategoryLimitExceed The specified DataDisk.n.Size beyond the permitted range, or the capacity of snapshot exceeds the size limit of the specified disk category.
400 InvalidParameter.Bandwidth The specified parameter Bandwidth is not valid.
400 InvalidIPAddress.AlreadyUsed The specified IPAddress is already used by other resource.
400 InvalidUserData.SizeExceeded The specified parameter "UserData" exceeds the size.
400 InvalidUserData.NotSupported The specified parameter "UserData" only support the vpc and IoOptimized Instance.
400 InstanceDiskNumber.LimitExceed The total number of specified disk in an instance exceeds.
400 Account.Arrearage Your account has an outstanding payment.
400 InvalidDiskCategory.ValueNotSupported The specified parameter "DiskCategory" is not valid.
400 InvalidAutoRenewPeriod.ValueNotSupported The specified autoRenewPeriod is not valid.
400 InvalidSpotStrategy The specified SpotStrategy is not valid.
400 InvalidSpotParam.EmptyZoneID The specified ZoneId is empty when SpotStrategy is set.
400 InvalidSpotPriceLimit The specified SpotPriceLimitis not valid.
400 InvalidSpotDuration The specified SpotDuration is not valid.
400 InvalidSpotAuthorized The specified Spot param is unauthorized.
400 InvalidSpotPrepaid The specified Spot type is not support PrePay Instance.
400 InvalidSpotAliUid The specified UID is not authorized to use SPOT instance.
400 InvalidTagKey.Malformed The specified Tag.n.Key is not valid.
400 RegionUnauthorized %s
400 Zone.NotOnSale %s
400 InvalidSystemDiskSize.ValueNotSupported %s
400 InvalidParameter.EncryptedIllegal %s
400 InvalidParameter.EncryptedNotSupported %s
400 EncryptedOption.Conflict %s
400 InvalidSpotPriceLimit.LowerThanPublicPrice The specified parameter "soptPriceLimit" can't be lower than current public price.
400 InvalidHpcClusterId.Unnecessary The specified HpcClusterId is unnecessary.
400 InvalidVSwitchId.Necessary The VSwitchId is necessary.
400 InvalidHpcClusterId.Necessary The HpcClusterId is necessary.
400 InvalidHpcClusterId.NotFound The specified HpcClusterId is not found.
400 InvalidHpcClusterId.Creating The specified HpcClusterId is creating.
400 InvalidPeriodUnit.ValueNotSupported The specified parameter PeriodUnit is not valid.
400 IncorrectImageStatus Encrypted snapshots do not support this operation.
400 InvalidTagValue.Malformed The specified Tag.n.Value is not valid.
400 InvalidSecurityGroup.NotInDefaultVpc %s
400 VpcNotFound Vpc is not found according to the specified VSwitch or the vpc does not belong to you.
400 InvalidSpotInterruptionBehavior %s
400 OperationDenied.IllegalPaymentPolicy The current payment policy is illegal, please connect your service provider to authenticate relative agreement.
400 InvalidDeploymentOnHost %s
400 InvalidInstanceChargeType.NotSupport The Dedicated host not support the specified Instance charge type.
400 InvalidNetworkType.NotSupported The classic networkType not support create ECS on dedicatedHost.
400 InvalidDedicatedHostId.NotFound The specified DedicatedHostId does not exist.
400 InvalidDedicatedHostStatus.NotSupport Operation denied due to dedicated host status.
400 IncorrectDedicatedHostStatus The current status of the resource does not support this operation.
400 ChargeTypeViolation.PostPaidDedicatedHost Prepaid instance onto postpaid dedicated host is not allowed.
400 InvalidPeriod.ExceededDedicatedHost Instance expired date can't exceed dedicated host expired date.
400 DedicatedHostType.Unmatched The specified DedicatedHostType doesn?t match the instance type.
400 NoAvaliableDedicatedHost There's no enough resource on the specified dedicated host.
400 InvalidParameter.Affinity The specified Affinity is invalid.
400 InvalidParameter.Tenancy The specified Tenancy is invalid.
400 InvalidParam.Tenancy The specified Tenancy is invalid.
400 InvalidParameter.CreditSpecification The specified CreditSpecification is not supported in this region.
400 InvalidInstanceType.NotSupported The specified instanceType is not supported by the deployment set.
400 InvalidVpcZone.NotSupported Zone of the specified VSwitch is not available for creating, please try in other zones.
400 IncorrectDefaultVpcStatus The status of the default VPC is invalid.
400 IoOptimized.NotSupported The specified instance must be IoOptimized instance when kmsKeyId is not empty.
400 InvalidClientToken.ValueNotSupported The ClientToken provided is invalid.
400 InvalidCapacityReservationId.NotFound The specified CapacityReservationId does not exist.
400 LackResource There's no enough resource on the specified capacity reservation.
400 Duplicate.TagKey The Tag.N.Key contain duplicate key.
400 InvalidParameter.Arns The specified Arns is not valid.
400 InvalidOperation.NotSupportEnterpriseGroup The specified instance type doesn't support enterprise level security group.
400 InvalidOperation.MultiGroupType The specified instance can't join different types of security group.
400 InvalidAccountStatus.PayAmountLimitExceeded Your account is being restricted, because you have no default payment method or you are not authorized.
400 InvalidPerformanceLevel.Malformed The specified parameter DataDisk.n.PerformanceLevel is not valid.
400 InvalidSecurityGroup.NetworkType %s
400 QuotaExceeded.PrepayDataDiskCapacity The quota of prepay data disk capacity exceeds.
400 InvalidCustomInstanceType.NotSupported The specified custom instance type is invalid.
400 InvalidOperation.EniCountExceeded The maximum number of eni in a enterprise security group is exceeded.
400 AccountForbidden.ProductCreationLimited The commodity must be officially operated by Aliyun and in pay-as-you-go billing method.
400 UnexpectedImageFamily.ImageIdSupplied The input parameter ImageFamily must be null when image id is set.
400 InvalidEncrypted.NotMatchEncryptAlgorithm The specified parameter Encrypted must be true when EncryptAlgorithm is not empty.
400 InvalidEncrypted.NotMatchKmsKeyId The specified parameter Encrypted must be true when KmsKeyId is not empty.
400 InvalidEncryptAlgorithm.NotMatchSnapshot The specified parameter EncryptAlgorithm is different from the encrypt algorithm of the snapshot.
400 InvalidKmsKeyId.NotMatchSnapshot The specified parameter KmsKeyId is different from the KmsKeyId of the snapshot.
400 InvalidEncryptAlgorithm The specified parameter EncryptAlgorithm is not valid.
400 InvalidHttpEndpoint.NotSupported The specified HttpEndpoint not supported, you can use enabled(default) or disabled.
400 InvalidHttpTokens.NotSupported The specified HttpTokens not supported, you can use optional(default) or required.
400 InvalidHttpPutResponseHopLimit.NotSupported The specified HttpPutResponseHopLimit not supported, more than 1 and less than 64 is reasonable.
400 InvalidOperation.VpcHasEnabledAdvancedNetworkFeature The specified vpc has enabled advanced network feature.
400 InvalidChargeType.CapacityReservationNotSupported %s
400 InvalidPerformanceLevel.ValueNotSupported The current ZoneId or InstanceType does not support PL0 of cloud_essd.
400 InvalidKMSKeyId.NotSymmetric The specified parameter KmsKeyId must be symmetric.
400 InvalidDedicatedHostClusterId.NotFound The specified DedicatedHostClusterId does not exist.
400 InvalidDedicatedHostClusterId.InValid The specified Dedicated Host Cluster is invalid.
400 InvalidOperation.UserNotSupported Reseller user do not support purchase at the moment.
400 InvalidDeploymentSetId.NotFound The parameter DeploymentSetId is invalid.
400 MissingParameter.PrivatePoolOptionsId The specified PrivatePoolOptions.Id should not be null.
400 Invalid.PrivatePoolOptionsId The specified PrivatePoolOptions.Id is invalid.
400 DedicatedHostNotSupported DedicatedHost is not supported for PrivatePool.
400 SpotNotSupported Spot is not supported for PrivatePool.
400 ClassicNetworkNotSupported Classic network is not supported for PrivatePool.
400 Invalid.InstanceId Instance does not exist.
400 Invalid.PrivatePoolOptions.MatchCriteria Target mode does not support this operation.
400 MissingParameter.PrivatePoolOptions.Id The specified PrivatePoolOptions.Id should not be null.
400 Invalid.PrivatePoolOptions.Id The PrivatePool does not exist.
400 Invalid.InstanceType The InstanceType does not match the PrivatePool.
400 Invalid.InstanceChargeType The InstanceChargeType does not match the PrivatePool.
400 Invalid.ZoneId The ZoneId does not match the PrivatePool.
400 Invalid.PrivatePoolOptions.NoStock The PrivatePool has been used up.
400 InvalidPlatform.ValueNotSupported The Platform does not match the PrivatePool.
400 Invalid.PrivatePoolOptions.status The PrivatePool is expired or inactive.
400 InvalidAliUid The PrivatePool does not belong to the user of the Instance.
400 HibernationConfigured.InstanceTypeNotSupport The specified instance type is not support.
400 HibernationConfigured.ImageNotEncrypted The hibernation configured instance only support encrypted image.
400 HibernationConfigured.MemorySizeTooBig The hibernation configured instance memory size is too big.
400 InvalidSystemDiskSize.LessThanMemSize The specified parameter SystemDisk.Size is less than the memory size.
400 InvalidCloudBoxZone.OperationNotSupported The cloud box zone does not support creating prepaid or encrypted resources.
400 InvalidInternetMaxBandwidthOut.Malformed The specified parameter InternetMaxBandwidthOut is not valid.
400 InvalidInternetMaxBandwidthIn.Malformed The specified parameter InternetMaxBandwidthIn is not valid.
400 InvalidParameter.CloudboxNotSupported %s
400 NotSupportSnapshotEncrypted.ShareImage Shared snapshot creating encrypted disks with native snapshot encrypt is not supported.
400 QuotaExceed.DiskCapacity The used capacity of disk type has exceeded the quota in the zone, %s.
400 InvalidParameter.DataEncryptedKeyCreateFailed Create kms data encrypted key fail. If you need further assistance, you can contact the KMS Technical Support.
400 InvalidDiskCategory.NotSupported The specified disk category is not supported.
400 InvalidDestinationZone.DeploymentSetMismatch Error happened, %s.
400 NoPermission.Price The operation requires price permission. Please either apply for permission from your main account, or set the parameter AutoPay as true.
400 InvalidParameter.DedicatedRegionNotSupported The specified action is rejected because the specified ECS instance in the dedicated region does not support public IP.
400 InvalidParameter.KmsNotEnabled Failed to perform this operation because KMS is not activated.
400 InvalidParameter.Encrypted.KmsNotEnable Failed to perform this operation because KMS is not activated.
400 InvalidParam.EncryptedMismatch Creating encrypted disks with shared encrypted image requires replacing encryption keys.
400 InvalidParameter.Encrypted Creating non-encrypted disks with encrypted snapshots is not supported.
400 QuotaExceeded.InternetBandwidth %s.
400 InvalidVSwitchId.NotFound The specified VSwitch does not exist in the specified region.
400 OperationDenied.TestAccountRetricted Test-account for testing has been prohibited from creating instance in this region. Please contact 400181.
401 InvalidRamRole.NotEcsRole The specified ram role is not authorized for ecs, please check your role policy.
500 InternalError The request processing has failed due to some unknown error.
500 InvalidImage.OSType The image OSType does not support this instance type.
403 InvalidDiskCategory.NotSupported The specified disk category is not support the specified instance type.
403 ImageNotSubscribed The specified image has not be subscribed.
403 OperationDenied The specified Image is disabled or is deleted.
403 InvalidSystemDiskCategory.ValueUnauthorized The disk category is not authorized.
403 InvalidSnapshotId.NotReady The specified snapshot has not completed yet.
403 InstanceDiskCategoryLimitExceed The total size of specified disk category in an instance exceeds.
403 InvalidDevice.InUse The specified device has been occupied.
403 ImageRemovedInMarket The specified market image is not available, Or the specified user defined image includes product code because it is based on an image subscribed from marketplace, and that image in marketplace includeing exact the same product code has been removed.
403 CategoryNotSupported The specified zone does not offer the specified disk category.
403 OperationDenied.NoStock The requested resource is sold out in the specified zone; try other types of resources or other regions and zones.
403 QuotaExceed.PortableCloudDisk The quota of portable cloud disk exceeds.
403 SecurityGroupInstanceLimitExceed The maximum number of instances in a security group is exceeded.
403 NodeControllerUnavailable The Node Controller is temporarily unavailable.
403 RegionUnauthorized There is no authority to create instance in the specified region.
403 InvalidSnapshotId.NotDataDiskSnapshot The specified snapshot is system disk snapshot.
403 DeleteWithInstance.Conflict The specified disk is not a portable disk and cannot be set to DeleteWithInstance attribute.
403 InstanceDiskNumLimitExceed The number of specified disk in an instance exceeds.
403 IoOptimized.NotSupported The specified image is not support IoOptimized Instance.
403 ImageNotSupportInstanceType The specified image don't support the InstanceType instance.
403 InvalidDiskSize.TooSmall Specified disk size is less than the size of snapshot.
403 InvalidDiskCategory.Mismatch The specified disk categories combination is not supported.
403 QuotaExceed.BuyImage The specified image is from the image market, You have not bought it or your quota has been exceeded.
403 InvalidVSwitchId.NotFound The VSwitchId provided does not exist in our records.
403 InvalidParameter.ResourceOwnerAccount ResourceOwnerAccount is Invalid.
403 InvalidUserData.Forbidden User not authorized to input the parameter "UserData", please apply for permission "UserData".
403 Zone.NotOpen The specified zone is not granted to you to buy resources yet.
403 Zone.NotOnSale The specified zone is not available for purchase.
403 InvalidClusterId.NotFound The specified clusterId does not exist.
403 InvalidResourceType.NotSupported %s
403 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
403 InvalidInstanceType.ZoneNotSupported The specified zone does not support this instancetype.
403 InvalidPayMethod The specified pay method is not valid.
403 OperationDenied.ImageNotValid The specified Image is disabled or is deleted.
403 InvalidUserData.Base64FormatInvalid The specified UserData is not valid.
403 InstanceType.Offline %s
403 DependencyViolation.WindowsInstance The instance creating is window, cannot use ssh key pair to login.
403 RealNameAuthenticationError Your account has not passed the real-name authentication yet.
403 InvalidNetworkType.MismatchRamRole Ram role cannot be applied to instances of Classic network type.
403 InvalidUser.PassRoleForbidden The RAM user does not have the privilege to pass a RAM role.
403 InvalidImage.NotSupported The specified image does not support vSGX instance.
403 InvalidAccountStatus.NotEnoughBalance Your account does not have enough balance.
403 IncorrectVpcStatus Current VPC status does not support this operation.
403 InvalidParameter.NotMatch %s
403 OperationDenied.InvalidNetworkType %s
403 InvalidSpotInterruptionBehavior.ClassicNetworkNotSupport The specified SpotInterruptionBehavior does not support Classic network Instance.
403 InvalidSpotInterruptionBehavior.LocalDiskNotSupport The specified SpotInterruptionBehavior does not support local disk instance.
403 QuotaExceed.PostPaidDisk Living postPaid disks quota exceeded.
403 QuotaExceed.DeploymentSetInstanceQuotaFull Instance quota in one deployment set exceeded.
403 InvalidVSwitch.DefaultVSwitchNotSupport The specified zone in vpc can't support create default vSwitch.
403 OperationDenied.LocalDiskUnsupported The configuration change is not allowed when the specified instance has local disks mounted.
403 OperationDenied.InconsistentNetwork The specified security group and vswitch are not in the same vpc.
403 DefaultVswitch.Existed The default vswitch for VPC already exists.
403 InvalidChargeType.ValueNotSupported Deletion protection is only valid for postPaid instance, not for prePaid or spot instance.
403 IncorrectInstanceStatus The current status of the resource does not support this operation.
403 CategoryViolation The specified instance does not support this operation because of its disk category.
403 ResourcesNotInSameZone The specified instance and dedicated host are not in the same zone.
403 InvalidRegion.NotSupport The specified region does not support byok.
403 UserNotInTheWhiteList The user is not in byok white list.
403 InvalidParameter.KMSKeyId.KMSUnauthorized ECS service have no right to access your KMS.
403 SecurityRisk.3DVerification We have detected a security risk with your default credit or debit card. Please proceed with verification via the link in your email.
403 InvalidDisk.SystemDiskSize The specified SystemDiskSize beyond the permitted range.
403 InsufficientBalance Your account does not have enough balance.
403 Mayi.InternalError The request processing has failed due to some unknown error.
403 InvalidNetworkType The network type is not support in this region.
403 InvalidAccountStatus Your account status is invalid, please contact customer service.
403 QuotaExceeded.PrivateIpAddress %s
403 InvalidVSwitchId.IpInvalid %s
403 OperationDenied.PerformanceLevelNotMatch The specified DataDisk.n.PerformanceLevel and DataDisk.n.Size do not match.
403 InvalidStorageSetName.Malformed Specified parameter StorageSetName is not valid.
403 InvalidDescription.Malformed Specified parameter Description is not valid.
403 InvalidMaxPartitionNumber.Malformed Specified parameter MaxPartitionNumber is not valid.
403 InvalidParameter.StorageSetPartitionNumber Specified parameter StorageSetPartitionNumber is not valid.
403 InvalidParameter.StorageSetId Specified parameter StorageSetId is not valid.
403 InvalidParameter.StorageSetZoneId Specified parameter StorageSetZoneId is not valid.
403 QuotaExceed.Tags %s
403 OperationDenied.RegionIdNotSupported Region not support spot duration instance.
403 OperationDenied.FlavorNotSupported Flavor not support spot duration instance.
403 OperationDenied.TimestampNotSupported Timestamp not support spot duration instance.
403 OperationDenied.PrepayNotAvailable Prepay instance is not available now.
403 OperationDenied.PaygNotAvailable Pay-as-you-go instance is not available now.
403 EnterpriseGroupLimited.MutliGroupType The specified instance can not join multi SecurityGroup types.
403 EnterpriseGroupLimited.InstanceType The specified instance type does not support Enterprise SecurityGroup.
403 InternalError.AllocateUnderlayIp Allocate underlay ip for the instance error.
403 OperationDenied.BidOwnResource Bid user can not own resource.
403 OperationDenied.CloudSSDNotSupported The specified available zone does not offer the cloud_ssd disk, use cloud_essd instead.
403 InvalidVPCStatus.NotWorking The specified VPC subnet status is not working.
403 QuotaExceed.ElasticQuota No additional quota is available for the specified ECS instance type.
403 QuotaExceeded.PostpaidDataDiskCapacity The quota of postpaid data disk capacity exceeds.
403 InvalidImageFamily.MissingAvailableImage There is no available image related to the specified image family.
403 InvalidRegionId.NotSupportEncryptAlgorithm The current region does not support creating encrypted disks with EncryptAlgorithm.
403 InvalidOperation.ResourceManagedByCloudProduct %s
403 Forbidden.OnlySupportEnterpriseGroup %s
403 HibernationConfigured.InstanceOperationForbidden The operation is not permitted due to limit of the hibernation configured instance.
403 InstanceDiskLimitExceeded The amount of the disk on instance reach its limits.
403 InvalidInstanceType.NotSupportDiskCategory The instanceType of the specified instance does not support this disk category.
403 NotSupportSnapshotEncrypted.DiskCategory The specified disk category does not support creating encrypted system disks or creating encrypted data disks from snapshots. Check the DiskCategory or Encrypted parameter, or check your account for default encryption settings.
403 InvalidOperation.PublicIpAddressNoStock The public IP address for the specified Region or ChargeType of the instance is out of stock. Please try another Region or ChargeType.
403 InvalidParameter.KMSKeyId.CMKNotEnabled The CMK (Customer Master Key) must be in an active state.
403 InvalidParameter.KMSKeyId.CMKUnauthorized The CMK(Customer Master Key) lacks authorization to add tags to the ECS service.
403 InvalidEncrypted.NotMatchDiskDefaultEncryption Enabling disk default encryption prevents the creation of non-encrypted disks.
403 InvalidEncrypted.NotMatchSnapshot The specified parameter Encrypted must be set to true when creating disks with encrypted snapshots.
404 InvalidStorageClusterId.NotExist The specified StorageClusterId does not exist in current region.
404 InvalidRegionId.NotFound The RegionId provided does not exist in our records.
404 IoOptimized.NotSupported The specified instancetype is not support IoOptimized instance.
404 InvalidZoneId.NotFound The ZoneId provided does not exist in our records.
404 InvalidSecurityGroupId.NotFound The specified SecurityGroupId does not exist.
404 InvalidDataDiskSnapshotId.NotFound The specified parameter "DataDisk.n.SnapshotId" is not valid.
404 InvalidClusterId.NotFound The ClusterId provided does not exist in our records.
404 OperationDenied The specified Image is disabled or is deleted.
404 InvalidVSwitchId.NotFound Specified virtual switch does not exist.
404 InvalidImageId.NotFound The specified ImageId does not exist.
404 InvalidInstanceChargeType.NotFound The InstanceChargeType does not exist in our records.
404 DependencyViolation.IoOptimized The specified instancetype must be IoOptimized instance.
404 PaymentMethodNotFound No payment method has been registered on the account.
404 HOSTNAME_ILLEGAL The specified parameter Hostname is not valid.
404 InvalidSystemDiskSize.LessThanImageSize The specified parameter SystemDisk.Size is less than the image size.
404 InvalidSystemDiskSize.LessThanMinSize The specified parameter SystemDisk.Size is less than the min size.
404 InvalidSystemDiskSize.MoreThanMaxSize The specified SystemDisk.Size parameter exceeds the maximum size.
404 InvalidParameter The specified vm bandwidth is not valid.
404 InvalidSystemDiskSize The specified parameter SystemDisk.Size is invalid.
404 InvalidKeyPairName.NotFound The specified parameter KeyPairName does not exist in our records.
404 InvalidRamRole.NotFound The specified RAMRoleName does not exist.
404 InvalidResourceGroup.NotFound The ResourceGroup provided does not exist in our records.
404 InvalidMarketImage.NotFound The specified marketplace image does not exist, please change the imageId and try again.
404 DeploymentSet.NotFound The specified deployment set does not exist.
404 InvalidInstanceType.ValueNotSupported The specified InstanceType does not exist or beyond the permitted range.
404 InvalidParameter.KMSKeyId.NotFound The specified KMSKeyId does not exist.
404 InvalidDiskIds.NotPortable The specified DiskId is not portable.
429 Throttling.Resource The request throttle by resource operation.
409 OperationConflict Request was denied due to conflict with a previous request,please try again later.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.