In this table are summarized the currently tested OS setups for the diffrent cloud providers:
Linux Family | Linux OS | Linux OS version | aws | gcp | az | oci |
---|---|---|---|---|---|---|
redhat | centos | 7 | ✔️ | ✔️ | ✔️ | ❌ |
redhat | centos | 8 | ❌ | ❌ | ❌ | ❌ |
debian | ubuntu | 2004 | ❌ | ✔️ | ❌ | ❌ |
debian | ubuntu | 2104 | ✔️ | ✔️ | ❌ | ❌ |
- Terraform
- Packer
- Ansible
cd terraform
cat <<EOF > aws.tfvars
build_on_aws = true
aws_access_key = "YOUR-ACCESS-KEY"
aws_secret_key = "YOUR-SECRET-KEY"
aws_region = "eu-central-1"
aws_instance_type = "t3.small"
linux_os = "ubuntu"
linux_os_version = "2104"
linux_os_family = "debian"
ssh_username = "ubuntu"
EOF
terraform init
terraform apply -var-file aws.tfvars
cd terraform
cat <<EOF > gcp.tfvars
build_on_google = true
google_project_id = "YOUR-PROJECT-ID"
google_account_file = "YOUR-JSON-KEY"
google_network_name = "caravan-gcp-vpc"
google_subnetwork_name = "caravan-gcp-subnet"
linux_os = "ubuntu"
linux_os_version = "2004"
linux_os_family = "debian"
ssh_username = "ubuntu"
EOF
terraform apply -var-file gcp.tfvars
cd terraform
cat <<EOF > azure.tfvars
build_on_azure = true
azure_subscription_id = "YOUR-SUBSCRIPTION-ID"
azure_target_resource_group = "YOUR-RESOURCE-GROUP"
azure_client_id = "YOUR-AZURE-CLIENT-ID"
azure_client_secret = "YOUR-AZURE-CLIENT-SECRET"
linux_os = "centos"
linux_os_version = "7"
linux_os_family = "redhat"
ssh_username = "centos"
EOF
terraform apply -var-file azure.tfvars