Terraform to deploy IBM WebSphere on OCI.
WebSphere Application Server is part of IBM’s WebSphere Suite. It hosts Java-based web applications and is built using open standards.
The OCI Terraform Provider is now available for automatic download through the Terraform Provider Registry.
For more information on how to get started view the documentation
and setup guide.
Now, you’ll want a local copy of this repo. You can make that with the commands:
git clone https://github.com/oracle-quickstart/oci-arch-websphere-on-oci.git
cd oci-arch-websphere-on-oci
ls
First off, you’ll need to do some pre-deploy setup. That’s all detailed here.
Secondly, create a terraform.tfvars
file and populate with the following information:
# Authentication
tenancy_ocid = "<tenancy_ocid>"
user_ocid = "<user_ocid>"
fingerprint = "<finger_print>"
private_key_path = "<pem_private_key_path>"
# SSH Keys
ssh_public_key = "<public_ssh_key_path>"
# Region
region = "<oci_region>"
# Compartment
compartment_ocid = "<compartment_ocid>"
`
Deploy:
terraform init
terraform plan
terraform apply
The current version of the code here only provision the required infrastructure and does not install WebSphere.
When you no longer need the deployment, you can run this command to destroy it:
terraform destroy