Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create a security group with firewall rules

Code Block

...

breakoutModefull-width
$ 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

Code Block
$ openstack network create <b>network_name</b>
$ 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

Code Block
$ 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