Using the OpenStack command-line interface (CLI), the following commands will set up a VM that you can use.

Create a security group with firewall rules

$ openstack security group create --description "For Globus Connect Server v5" globus-connect-server-5
$ openstack security group rule create --protocol tcp --dst-port 22:22 --remote-ip 0.0.0.0/0 globus-connect-server-5
$ openstack security group rule create --protocol tcp --dst-port 443:443 --remote-ip 0.0.0.0/0 globus-connect-server-5
$ openstack security group rule create --protocol tcp --dst-port 50000:51000 --remote-ip 0.0.0.0/0 globus-connect-server-5
$ openstack security group rule create --protocol icmp globus-connect-server-5

Create a virtual network

$ openstack network create *network_name*
$ openstack subnet create --network network_name --subnet-range 10.0.0.0/24 subnet_name
$ openstack router create router_name
$ openstack router add subnet router_name subnet_name
$ openstack router set --external-gateway public router_name
$ openstack router show router_name

Create a virtual machine

$ openstack server create instance_name \
--flavor m1.medium \
--image JS-API-Featured-CentOS7-Latest \
--key-name ssh-keypair-name \
--security-group globus-connect-server-5 \
--nic net-id=network_name