- https://docs.openstack.org/user-guide/cli-cheat-sheet.html
- https://docs.openstack.org/newton/install-guide-obs/launch-instance-selfservice.html
Instance Creation
$ declare instance="nicolaw-gitlab-runner-test"
$ openstack server create \
--image bf58184c-bcfb-4fd9-a479-d0575623a7da \
--flavor m1.small \
--key-name nicolaw \
--network my_private_network \
--property gitlab_ci_lock_to_project='false' \
--property gitlab_ci_executor='docker' \
--property gitlab_ci_run_untagged_jobs='true' \
--property gitlab_ci_description='gitlab-runner-description' \
--property gitlab_ci_coordinator_url='https://gitlab.local/ci' \
--property gitlab_ci_token='oREtddddqzAYpNpmry33' \
--property gitlab_ci_tags='docker, nicolaw, linux, openstack' \
--property gitlab_ci_docker_image='alpine:latest' \
"$instance"
$ eval "$(openstack floating ip create my_public_network -f shell)"
$ openstack server add floating ip "$instance" "$floating_ip_address"
$ openstack server show "$instance"openstack server list \
--name gitlab-runner \
-f json \
| jq -r '.[].Networks' \
| egrep -ow '10\.([0-9]{1,3}\.){2}[0-9]{1,3}'- https://www.openstack.org/software/project-navigator/
- https://www.packer.io/docs/builders/openstack.html
Deployment
-
conjure-up - Ubuntu’s LXD Containerised Stack Deployment
-
Kolla - Containerised Stack Deployment
Configuration
- http://hardysteven.blogspot.co.uk/2015/05/heat-softwareconfig-resources.html
- CloudInit / cloud-config
Scaling & Capacity Planning
- http://www.stratoscale.com/blog/openstack/openstack-hardware-requirements-and-capacity-planning-servers-cpu-and-ram-part-1/
- http://www.stratoscale.com/blog/openstack/network-design-considerations-openstack-clouds/