- Download the WSO2 API Manager terraform resource.
$ git clone https://github.com/wso2/terraform-apim.git
-
Build the API manager custom image using centos-base.json packer file.
Note: If you have an Azure subscription, update user variables
centos-base.json
in root directoryazure-simple/packer
to include your subscription credentials. The WSO2 API Manager 3.1.0 distribution needs to download into theazure-simple/packer/ansible-apim/files/packs
directory.$ packer build centos-base.json
-
Changed the directory to
azure-simple/terraform
and update the buildbaseimage
variable invariables.tf
andterraform.tfvars
files inclusive of Azure subscription credentials.$ terraform apply
Note: Add the host entry
<PUBLIC-IP> apim.wso2test.com
in/etc/hosts
file to access the WSO2 API Manager console. -
Try navigating to the following consoles from your favorite browser.