Skip to content

MusicDin/terraform-kvm-graalvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-kvm-graalvm

Install VM with GraalVM on KVM using Terraform.

Prerequisite

Installed KVM and Terraform.

Usage

Edit terraform.tfvars file. Especially important fields to be edited are:

  • vm_ssh_private_key_location - Location of SSH private key that will be used to SSH into VM
  • vm_image_location - Location of and image that will be installed on VM
  • vm_ram - Amount of RAM that will be available to VM
  • vm_cpu - Number of vCPU that will be available to VM

To create VM use the following command where main.tf file is located:

terraform apply

When asked enter yes to confirm execution.

After creation ssh.sh file will be created for easier access to VM. Use it with command:

./ssh.sh

To destroy all created resources use command:

terraform destroy

And when asked enter yes to confirm destruction.

About

Install GraalVM on KVM using Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published