Deploy Arm Instances on Oracle Cloud Infrastructure using Terraform
Introduction
Automate OCI VM instance creation using Terraform
Next Steps
Deploy Arm Instances on Oracle Cloud Infrastructure using Terraform
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You can use any computer with the required tools installed, including a desktop, laptop, or a virtual machine. The command format assumes that you’re working on a Linux machine.
The OCI API key pair is used to authenticate Terraform’s requests to OCI. The SSH key pair is used to connect to the provisioned instance. Set
private_key_path for the API private key and ssh_authorized_keys_path and ssh_private_key_path for your SSH keys.Create
availability-domains.tf with the provided data source and output definition, then run terraform plan. If authentication succeeds, you’ll see the availability domains in your tenancy. Keep this file in the same directory as provider.tf.Create
outputs.tf with the provided public_ip output definition, which reads oci_core_instance.Ampere.public_ip. After provisioning the instance, run terraform refresh to display its public IP address.You’ll finish with an OCI Arm instance provisioned from your Terraform configuration.