Install an add-on
Developers use Waypoint add-ons to create pre-made infrastructure like databases, load balancers, and other infrastructure that they want but not every application may require. They do not need to have any Terraform knowledge to do so and only need to interact with HCP Waypoint.
In this tutorial, you will install the add-on created in the previous tutorial and check that it is redirecting traffic from the specified subdomain to your web application.
Prerequisites
For this tutorial, you will need:
- A HashiCorp Cloud Platform (HCP) account
- A GitHub account
- Create a Waypoint add-on tutorial completed
Install a Waypoint add-on
Log in to HCP and navigate to the Waypoint page. Click on your application from the Applications page, in this case mywebapp
.
Click on the Add-ons option from the left navigation to visit the Available add-ons page. On this page, notice the subdomain
add-on created in the previous tutorial.
Click on the add-on name to review the add-on description and developer instructions. Click on the x button in the top right corner when you are finished to close the description.
Click on the Install button in the subdomain
add-on row to install the add-on to your Waypoint application.
HCP Waypoint installs the add-on to the application and shows a successful installation message.
Navigate to the Installed add-ons page from the left navigation.
In the Status column, notice the progress of the no-code module running in HCP Terraform. This process takes a few minutes and the value will change to Installed once it is complete.
Click on the add-on name and the GitHub code repository link in the developer instructions section. Notice that HCP Waypoint rendered the link to the GitHub code repository with the value of the Waypoint application name.
Verify add-on functionality
In the GitHub code repository, open the shortlink.md
file to check for the subdomain URL generated by the add-on.
Click on the link and observe in your browser's URL bar that it redirects from the subdomain URL to the GitHub Pages website of the application.
Next steps
In this tutorial, you learned how to install an add-on in your Waypoint application.
Continue on to the next tutorial to learn how to create HCP Waypoint actions to automate day 2 operations.