curl --location -g --request POST '/api/v1/vmware/vpc/{{vpc_id}}/compute/instances' \
--header 'sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120", "Google Chrome";v="120"' \
--header 'sec-ch-ua-mobile: ?0' \
--header 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36' \
--header 'Access-Control-Allow-Origin: *' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Referer;' \
--header 'OrgId: 73a8c45d-5b52-4fa2-b626-38313e8d50a1' \
--header 'sec-ch-ua-platform: "Linux"' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "vm-2401092643",
"hostname": "vm-2401092643",
"catalog": "ubuntu",
"template": "UBUNTU-18.04-07092022",
"hw_flavor": "3d85a2e7-7bd1-4dcf-8569-3a3ede3e7638",
"storage": {
"profile": "Premium-SSD",
"size_gb": 40
},
"nic": {
"name": "subnet-2349-y0sjwcgy"
},
"floatingIpId": "new",
"networkId": "c40ced09-0943-47f7-ac7b-bb66f5b279ea",
"securityGroupIds": [
"70c6a292-3d6a-4d3d-85aa-570596980061"
],
"tag_ids": [
"38a2f666-c11e-46cf-af44-4f81bf155933"
],
"password": "@assss222a1as",
"ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHVFZaMA5l0v1EmiYzMNiwqKjAzNw3lh0fV1cDsOzkRyURo+E82wtoJTdoCNcTx6+nH55izRID4ZSpspXOqynRh7ANaCnHCyJGNCxO50xVdfrEtb6dJNWsNl125MYavFjOxhm8/xf3yTxvv/GXvLpQ2lhg2QqcLrvbvpg5e3Je6aHMDcxYBLa5q1HVwxQnyGwFfBJ45jzMC7TUH1b3X5lObX3xCRLx3048jHiKFW9loAGXiyEHJwQ7NhRG9gObaurWGtlhkTlErnbBrnqIDOObPEc/y/AWSEnr6ok3bof2bIauUMjwa7dfYoSgD3t+SyQKmkQ5KK4tHF0tAP1G/6Z3\n",
"cloud_init": "#cloud-config\n\n# Update apt database on first boot (run '\''apt-get update'\'').\n# Note, if packages are given, or package_upgrade is true, then\n# update will be done independent of this setting.\npackage_update: true\nchpasswd:\n list: |\n root:Welcome***123\n\n# if packages are specified, this package_update will be set to true\n# packages may be supplied as a single package name or as a list\n# with the format [, ] wherein the specific\n# package version will be installed.\npackages:\n - nginx\n - git\n\n# runcmd contains a list of either lists or a string\n# each item will be executed in order at rc.local like level with\n# output to the console\n# - runcmd only runs during the first boot\n# - if the item is a list, the items will be properly executed as if\n# passed to execve(3) (with the first arg as the command).\n# - if the item is a string, it will be simply written to the file and\n# will be interpreted by '\''sh'\''\nruncmd:\n - systemctl enable nginx\n - systemctl start nginx\n - git clone https://github.com/cloudacademy/static-website-example.git\n - cp -r ./static-website-example/* /var/www/html/\n - rm -r ./static-website-example"
}'