Skip to content

Tool Manager Configuration

Keanelek Enns edited this page Mar 9, 2022 · 21 revisions

Ready to get into the nitty-gritty? You've come to the right place. If you want a softer introduction to the DevXP workflow, please visit the Example Workflow page of the wiki.

Terraform

This section will discuss how to use DevXP to set up your cloud services with Terraform, but for more background information about what Terraform is and why you should use it, please read the Terraform page of the wiki.

The Goal

It is always useful to start by identifying your goal. Perhaps you are like Dave and have been tasked to set up [insert Dave's requirements] on top of your already long list of responsibilities. Perhaps you are investigating what resources are available to you through each provider and what some of the configuration parameters mean. Perhaps you want to get an understanding of how to write a complete Terraform configuration file, or maybe you were just overwhelmed by all the options that were available to you and are looking for a simpler set of configuration options that you can digest. You may have a different goal in mind, but regardless, you probably want to end up with a set of cloud services configured and deployed. If you are just here to learn, feel free to keep exploring the wiki and clicking around in the tool manager to see what this is all about.

Prerequisites

  • Determine what cloud resources you would like to configure to achieve your end goal. You can find information about supported resources in the resources section of the Terraform page in this wiki.
  • Choose a provider, and create an account with them. Currently DevXP only supports three major providers as discussed in the linked Terraform page of the wiki.
  • Download Terraform
  • Familiarize yourself with the core workflow commands. Run terraform -help to get a list of commands. The main commands are init, plan, apply, and destroy.
  • Configure credentials so that Terraform knows what account to deploy the resources to (and so the cloud service provider knows who to bill!). There are multiple ways to do this (a good initial technique is to pass them as environment variables), so long as you are careful not to let your credentials leak into your repository or any other public files.
  • Now you are ready to create a terraform configuration file using DevXP!

Terraform Resource Configuration

This section describes the required configuration parameters associated with each supported resource for terraform. To learn more about the resources themselves, please visit the supported resources section in the Terraform page of the wiki.


General Configuration

Secure

Dictates whether or not to put all the configured resources into their own VPC, setup a subnet, and give them IAM permissions to access each other.

SSH

Inbound Web Traffic

Outbound Web Traffic

Network Load Balancing




Support for Microsoft Azure features is on its way!

Clone this wiki locally