O'Reilly logo

Extending OpenStack by Omar Khedher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example – NGINX web server

In the following example, we will setup a new Magnum bay running Docker Swarm as the COE. The Swarm cluster will deploy a simple NGINX web server running on a Docker container and listening on port 80 and 443 as follows:

  1. Create a new Magnum cluster template to deploy a Swarm cluster:
# magnum cluster-template-create --name coe-swarm-template \                                 --image-id fedora-latest \                                 --keypair-id pp_key \                                --external-network-id pub-net \                                  --dns-nameserver 8.8.8.8 \                                 --flavor-id m1.small \                                 --docker-volume-size 4 \                                 --network-driver docker \                                 --coe swarm     
The previous command line assumes the existence of an image fedora_atomic in the Glance image repository, a key-pair named pp_key and an external Neutron network named pub-net ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required