https://github.com/converged-computing/flux-terraform-gcp
Packer and terraform recipes for deploying a Flux Framework cluster on Compute Engine VMs
https://github.com/converged-computing/flux-terraform-gcp
Last synced: 5 months ago
JSON representation
Packer and terraform recipes for deploying a Flux Framework cluster on Compute Engine VMs
- Host: GitHub
- URL: https://github.com/converged-computing/flux-terraform-gcp
- Owner: converged-computing
- License: apache-2.0
- Created: 2023-05-26T04:16:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-17T20:44:37.000Z (almost 2 years ago)
- Last Synced: 2025-09-10T14:50:08.371Z (9 months ago)
- Language: HCL
- Size: 116 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Flux Terraform GCP
Terraform module to create Google Cloud images for Flux Framework HashiCorp Packer and AWS CodeBuild.
We are mirroring functionality from [GoogleCloudPlatform/scientific-computing-examples](https://github.com/GoogleCloudPlatform/scientific-computing-examples/tree/openmpi/fluxfw-gcp), however we have refactored the entire
thing to only use one base image, and have all configuration done via a start boot script.
Thank you Google, we love you!
## Usage
### Create Google Service Accounts
Create default application credentials (just once):
```bash
$ gcloud auth application-default login
```
this is for packer to find and use.
### Build Images with Packer
Let's first go into [build-images](build-images) to use packer to build our images.
You'll need to first [install packer](https://developer.hashicorp.com/packer/downloads)
You can use the Makefile there to build all (or a select set of) images.
Note that we are currently advocating for using the single bursted image:
```bash
export GOOGLE_PROJECT=myproject
cd ./build-images/bursted
```
```bash
$ make
```
### Deploy with Terraform
You can build images under [build-images](build-images) and then use the modules
provided in [burst](burst). An example is provided in [examples/basic](examples/basic)
and you can see the [flux-burst-compute-engine](https://github.com/converged-computing/flux-burst-compute-engine).
## License
HPCIC DevTools is distributed under the terms of the MIT license.
All new contributions must be made under this license.
See [LICENSE](https://github.com/converged-computing/cloud-select/blob/main/LICENSE),
[COPYRIGHT](https://github.com/converged-computing/cloud-select/blob/main/COPYRIGHT), and
[NOTICE](https://github.com/converged-computing/cloud-select/blob/main/NOTICE) for details.
SPDX-License-Identifier: (MIT)
LLNL-CODE- 842614