Skip to content

Instantly share code, notes, and snippets.

@fatih-keles
Created April 26, 2023 13:00
Show Gist options
  • Save fatih-keles/3d46084935f96bc590bcc3c29bf96627 to your computer and use it in GitHub Desktop.
Save fatih-keles/3d46084935f96bc590bcc3c29bf96627 to your computer and use it in GitHub Desktop.
{
"instanceType": "compute",
"launchDetails": {
"agentConfig": {
"isManagementDisabled": false,
"isMonitoringDisabled": false,
"pluginsConfig": [
{
"desired-state": "DISABLED",
"name": "Vulnerability Scanning"
},
{
"desired-state": "DISABLED",
"name": "Oracle Java Management Service"
},
{
"desired-state": "ENABLED",
"name": "OS Management Service Agent"
},
{
"desired-state": "ENABLED",
"name": "Management Agent"
},
{
"desired-state": "ENABLED",
"name": "Custom Logs Monitoring"
},
{
"desired-state": "ENABLED",
"name": "Compute Instance Run Command"
},
{
"desired-state": "ENABLED",
"name": "Compute Instance Monitoring"
},
{
"desired-state": "DISABLED",
"name": "Block Volume Management"
},
{
"desired-state": "ENABLED",
"name": "Bastion"
}
]
},
"availabilityDomain": "sbnF:UK-LONDON-1-AD-1",
"compartmentId": "<compartmentId>",
"createVnicDetails": {
"nsgIds": [
"<nsgId>"
],
"subnetId": "<subnetId>"
},
"displayName": "apex-instance-config4=ML3DOZ8P2WLCQEKW2",
"faultDomain": "FAULT-DOMAIN-1",
"metadata": {
"ssh_authorized_keys": "<mySshPublicKey>",
"user_data": "<myCloudInitScriptBase64Encoded>"
},
"shape": "VM.Standard.E4.Flex",
"shapeConfig": {
"memoryInGBs": 16.0,
"ocpus": 1.0
},
"sourceDetails": {
"imageId": "<imageId>",
"sourceType": "image"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment