Skip to content

Packer and terraform recipes for deploying a Flux Framework cluster on Compute Engine VMs

License

Notifications You must be signed in to change notification settings

converged-computing/flux-terraform-gcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, 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):

$ gcloud auth application-default login

this is for packer to find and use.

Build Images with Packer

Let's first go into build-images to use packer to build our images. You'll need to first install packer 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:

export GOOGLE_PROJECT=myproject
cd ./build-images/bursted
$ make

Deploy with Terraform

You can build images under build-images and then use the modules provided in burst. An example is provided in examples/basic and you can see the 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, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (MIT)

LLNL-CODE- 842614

About

Packer and terraform recipes for deploying a Flux Framework cluster on Compute Engine VMs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published