{"id":18496178,"url":"https://github.com/clayshek/cloudstack-vagrant-quickstart","last_synced_at":"2026-04-25T23:37:13.922Z","repository":{"id":114755108,"uuid":"321793581","full_name":"clayshek/cloudstack-vagrant-quickstart","owner":"clayshek","description":"Vagrant provisioned CloudStack / KVM demo environment inside of Hyper-V.","archived":false,"fork":false,"pushed_at":"2020-12-17T13:08:55.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-25T17:12:09.967Z","etag":null,"topics":["ansible","cloudstack","hyper-v","hyperv","vagrant"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clayshek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-15T21:30:00.000Z","updated_at":"2023-02-12T13:13:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"f97b6343-cee9-4323-a5a0-dcf5c237c462","html_url":"https://github.com/clayshek/cloudstack-vagrant-quickstart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayshek%2Fcloudstack-vagrant-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayshek%2Fcloudstack-vagrant-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayshek%2Fcloudstack-vagrant-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clayshek%2Fcloudstack-vagrant-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clayshek","download_url":"https://codeload.github.com/clayshek/cloudstack-vagrant-quickstart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239212561,"owners_count":19600830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","cloudstack","hyper-v","hyperv","vagrant"],"created_at":"2024-11-06T13:28:19.194Z","updated_at":"2026-04-25T23:37:08.898Z","avatar_url":"https://github.com/clayshek.png","language":"HTML","readme":"# CloudStack (Nested in Hyper-V) Vagrant Quickstart\r\n\r\nVagrant provisioning of a CloudStack managed KVM virtualization playground / lab, on top of Windows (Hyper-V). For demo purposes.\r\n\r\nStill a work in progress, but funcational.\r\n\r\nVagrantfile will provision 3 machines by default, all running CentOS 7:\r\n- csmgmt: CloudStack management server and MySql DB, allocated with 4 GB of vRAM.\r\n- kvm1 \u0026 kvm2: QEMU/KVM Hypervisors with CloudStack agent installed, each allocated with 2 GB vRAM. \r\n\r\nNotes:\r\n- Primary goal here is a quick start temporary demo environment. Items like security were not priority. So for example, the MySQL installation is not secured per best practice, and the CloudStack database is created without security in mind, for sake of simplicity. \r\n\r\n## Requirements:\r\n\r\n- [Hyper-V: Installed \u0026 functional](https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v), with a virtual switch that allows outbound Internet connectivity (for package downloads), and DHCP for VM IP addressing.\r\n- [Vagrant installed](https://www.vagrantup.com/downloads)\r\n\r\n## Usage:\r\n\r\nClone this repo. Validate appropriateness to your setup of some of the defaults, such as 4 GB RAM to management server VM and 2 GB to each KVM host. \r\n\r\nFrom within the repo directory, run: `vagrant up`. The only prompts should be asking which Hyper-V virtual switch to use for each VM. The Vagrant Hyper-V provider [can't figure this out yet](https://www.vagrantup.com/docs/providers/hyperv/limitations).\r\n\r\nOnce Vagrant provisioning is complete, the CloudStack UI should be accessible at \r\n\r\nhttp://csmgmt.local:8080\r\n\r\nDefault credentials are `admin / password`, and further setup of CloudStack will be necessary as outlined in the [CloudStack Install Guide](http://docs.cloudstack.apache.org/en/4.14.0.0/installguide/index.html). \r\n\r\n## Cleanup:\r\n\r\nDestroy all VMs:  `vagrant destroy --force`  \r\n\r\nDestroy specific VMs: `vagrant destroy vmname`\r\n\r\n## Reference Docs:\r\n\r\n- [CloudStack Quick Install Guide](http://docs.cloudstack.apache.org/en/4.14.0.0/quickinstallationguide/qig.html)\r\n- [CloudStack Install Guide](http://docs.cloudstack.apache.org/en/4.14.0.0/installguide/index.html)\r\n- [How To Build A CloudStack Test Environment](https://www.shapeblue.com/virtualbox-test-env/)\r\n\r\n\r\n## To-Do\r\n\r\n - [ ] Figure out a better method for assigning static IPs\r\n - [ ] Setup \u0026 configure Primary and Secondary storage\r\n - [ ] Setup [Primate UI](http://docs.cloudstack.apache.org/en/4.14.0.0/installguide/primate.html#what-is-primate)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclayshek%2Fcloudstack-vagrant-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclayshek%2Fcloudstack-vagrant-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclayshek%2Fcloudstack-vagrant-quickstart/lists"}