HCP Consul users can now auto-generate ready-to-apply Terraform configurations to deploy HCP Consul end-to-end with a demo application in less than 20 minutes.
HashiCorp Cloud Platform (HCP) Consul is a managed service mesh and service discovery solution. One of HCP’s goals is to provide an easier onboarding experience. We are pleased to announce the release of a new UI enhancement that makes it faster and easier to deploy and test HCP Consul.
In October 2021, we released new HashiCorp Terraform modules that automate the end-to-end deployment of HCP Consul. To make it simpler to utilize these modules, we have added a new UI feature that improves the user experience further by auto-generating specific Terraform configurations within the UI. This configuration can then be simply executed to quickly deploy an end-to-end environment to evaluate Consul capabilities. Users can now complete an end-to-end deployment of HCP Consul and a demo application within 20 minutes. We’ve designed this experience so that even users with limited or no Terraform experience can utilize these configurations.
Here is a short demo screencast:
To get started, log in to your HCP account. Under the Consul section of the overview page you will see a link that says “Deploy with Terraform”.
Clicking on this link will bring you to a configuration page. There you can specify the target VPC region in which the workloads will be deployed, using either an existing or a new VPC. This configuration will create a new HCP Consul cluster and deploy clients into the run time (e.g. Amazon EC2, EKS, or ECS) of your choice, along with an example application — our demo app HashiCups. Based on your inputs, the HCP UI will generate the needed configurations and the HCP credentials that Terraform will use for authentication.
Once complete, export the credentials to your local environment. If you have not done so already, install Terraform and then copy the generated Terraform code into a file named
main.tf. Then run Terraform using
terraform init && terraform apply. Upon completion, the output provides a URL to access the demo application and Consul UI.
If you don’t already have one, please sign up for a free HCP Consul account and try this out! Note that new HCP Consul users receive $50 in free credits, and that running this demo requires an AWS account — users are responsible for any AWS charges incurred. For additional information, please refer to the HashiCorp Learn tutorial collections.
We are also pleased to announce two additional features to simplify user operations. HCP Consul production tiers are offered in multiple sizes to meet your unique performance needs. We already supported upgrading sizes within a tier using Terraform, and we are now releasing the same capability in the HCP Consul UI. Similarly, we have added the functionality to update Consul server versions with a single-click option in the UI.
To further ease the onboarding experience, we have also added video resources to learn about Consul.
Our tests show Consul servers remain healthy under all test configurations and that splitting up a large LAN gossip pool cuts the risk of gossip instability.
The new global management plane for Consul is now available as a free public beta. Try it out to gain full visibility for both self-managed and HCP Consul clusters.
Before we ring in the new year, here’s a look back at some of the most important moments in 2022 for HashiCorp.