Waypoint: Build, deploy, and release applications across any platform

Last modified on October 16, 2020

Nowadays, we're happy to articulate HashiCorp Waypoint, a novel open supply problem that gives builders a relentless workflow to create, deploy, and open applications throughout any platform. Waypoint permits builders to secure their applications from improvement to manufacturing in a single file and deploy the utilization of a single current: waypoint up.

Out of the sphere, Waypoint helps Kubernetes, HashiCorp Nomad, Amazon ECS, Google Cloud Scamper, Azure Container Instances, Docker, Buildpacks, and additional. Waypoint is totally extensible and is in response to a plugin system which permits Waypoint to work with any instrument or platform. After deployment, Waypoint offers features equivalent to logs, exec, and additional to validate and debug any deployments. 

Waypoint is system you obtain and self-host to manage the deployment of applications that rush in your have infrastructure or platforms. Waypoint would no longer require any HashiCorp-equipped companies and merchandise.

Salvage and purchase a stare at Waypoint now from the Waypoint problem net screech. Proceed learning to check further about what Waypoint is, the issues it solves, the features it has, and an occasion.

waypoint up workflow

Addressing Deployment Complexity

We constructed Waypoint for one simple trigger: builders upright are looking out to deploy.

At HashiCorp, now we occupy the completely different to work with all types of organizations and of us in our group, exposing us to a fluctuate of challenges going through builders in getting applications deployed and available to clients. We concentrate on with dozens of specific individual clients every and every day through GitHub Components, dialogue boards, email correspondence, and so on. We meet with over 500 corporations every and every single week to concentrate on about their ongoing improvement and operational challenges.

Thru these interactions, we noticed a sample of builders (particularly in medium-sized and elevated organizations) being inundated with complexity: containers, schedulers, YAML recordsdata, serverless, and additional. This complexity has improved the performance of our applications in lots of programs, nevertheless the related fee can be thought-about within the learning curve required to upright secure your first software program program deployed. 

One extra self-discipline we noticed is that counting on the put that it is likely you may perchance perchance very successfully be looking out to deploy your software program program, the instrument you spend is most commonly different — Docker and kubectl for Kubernetes, HashiCorp Packer and Terraform for VMs, customized CLIs for each and every serverless platform, and so on. For the actual individual, this fragmentation once more poses a learning curve self-discipline. For teams, it’s a self-discipline in consistency and complexity.

With Waypoint, we aim to resolve these two challenges. Waypoint offers one easy-to-exercise current to secure any software program program deployed: waypoint up. This workflow is fixed throughout any platform, together with Kubernetes, Nomad, EC2, Google Cloud Scamper, and over a dozen further at open. Waypoint can be extended with plugins to focus on any create/deploy/open frequent sense. 

Builders upright are looking out to deploy. Waypoint will get you there.

Aspects

Waypoint offers a fluctuate of features that present a workflow for deploying your applications as successfully as validating and debugging deployments. These features fabricate Waypoint a extremely environment friendly deployment instrument for any software program program on any platform.

  • waypoint up: A single current that builds, deploys, and releases your software program program. Waypoint makes train of a configuration file, saved together with your app’s code, to account for the way this works. We traipse into further element concerning the Waypoint app lifecycle within the Waypoint documentation.
  • Automated Per-App and Per-Deployment URLs: Capabilities deployed with Waypoint get a public waypoint.rush URL with a sound TLS certificates robotically generated through Let's Encrypt. Expend this URL to shortly scrutinize your deployed applications and fragment your applications with others.
  • Exec: Which it is likely you may stop instructions within the context of a deployed software program program the utilization of waypoint exec. Which it is likely you may train exec to open up a shell in your app, which that it is likely you may perchance train for debugging, executing database migrations, and heaps of other capabilities. Learn further about waypoint exec.
  • Logs: Waypoint offers you secure admission to to an right-time snapshot of your software program program’s logs. These logs are purposeful whereas you'll most undoubtedly be succesful to need to debug emergent software program program conduct. They type no longer, nonetheless, change complete logging options love Datadog or Splunk. Waypoint app logs are aggregated and available to scrutinize through the CLI and the rep-essentially primarily based absolutely UI. Learn further about logs.
  • Web UI: As properly to a simple and extremely environment friendly present-line interface, Waypoint additionally entails a web-essentially primarily based absolutely consumer interface that lets you scrutinize builds, deployments, and releases for tasks and applications. The UI is study-handiest this present day and we'll present you the choice to be continually establishing it to make stronger further effectivity within the slay. Now we occupy additionally included pointers interior the UI on the mannequin to complete Waypoint workflows within the CLI.
  • Plugins: The create, deploy, and open frequent sense is totally extensible the utilization of plugins. Waypoint ships with over a dozen built-in plugins, and anyone is welcome to lengthen Waypoint by writing their have plugins.

An Example Workflow

We are in a position to train an occasion to showcase the numerous features of Waypoint. This skips some setup steps, so when that it is likely you may perchance perchance very successfully be looking out to examine out a stout occasion in your have, please see our Getting Began guides. For this case, we'll deploy an software program program to Kubernetes. Alongside our app, we'll fabricate a waypoint.hcl file. This file describes the mannequin to create, deploy, and open our software program program.

  1. problem="HashiCorp Waypoint"
  2. app "waypoint-up" {
  3. create {
  4. train "docker" {}
  5. registry {
  6. train "docker" {
  7. characterize="hashicorp/wpmini"
  8. impress=gitrefpretty()
  9. }
  10. }
  11. }
  12. deploy {
  13. train "kubernetes" {
  14. probe_path="/"
  15. service_port=80
  16. }
  17. }
  18. open {
  19. train "kubernetes" {
  20. load_balancer=true
  21. port=80
  22. }
  23. }
  24. }

Originate, Deploy, Originate

The Waypoint configuration file describes three foremost levels of the software program program lifecycle: create, deploy, and open.

The create stage takes software program program supply code and converts it to an artifact. The create course of might properly embody an no longer obligatory registry configuration to push the constructed artifact to a registry in bid that it is available for the deployment platform. As an instance, this stage converts your supply to a Docker  characterize, an EC2 AMI, and so on.

The deploy stage takes a beforehand constructed artifact and levels it onto the goal deployment platform and is available through deployment URLs or different interior formulation. Waypoint helps Kubernetes, Nomad, EC2, ECS, Google Cloud Scamper, and additional.

The open stage prompts a beforehand staged deployment and opens it to customary site visitors. We are in a position to be together with make stronger to the problem within the slay for selling applications between environments, rolling again deployments and releases, and for regularly fascinating site visitors between servers following a open.

Waypoint up

The waypoint up current runs your complete create, deploy, and open levels to deploy the software program program. On the stop, it outputs one or further URLs that it is likely you may perchance train to secure admission to your software program program. It would no longer matter what software program program that it is likely you may perchance perchance very successfully be deploying or to what platform, you on the general train waypoint up to deploy.

Running waypoint up

Which it is likely you may train Waypoint to hurry the create, deploy, and open steps individually, which might be purposeful for integrating with GitHub Actions and CI/CD instruments love CircleCI and Jenkins. Learn further about automating your software program program workflow with Waypoint.

App and Deployment URLs

Capabilities deployed with Waypoint will get a public waypoint.rush URL with a sound TLS certificates robotically generated through Let's Encrypt. Expend this URL to shortly scrutinize your deployed applications and fragment your applications with others. We present this URL through a free, public service hosted by HashiCorp. This perform is no longer obligatory and might properly perchance be disabled.

In the occasion above, the URL is https://no longer too lengthy ago-relaxing-duck--v1.waypoint.rush. (Present that this URL is no longer going to work anymore since we handiest saved the app working whereas we have been authoring this weblog put up.) 

Which it is likely you may browse to whine deployment variations the utilization of the syntax https://no longer too lengthy ago-relaxing-duck--vN.waypoint.rush the put N is the deployment mannequin quantity. Right here is a really purposeful perform to fragment pre-open variations of your software program program with personnel people.

App deployed with Waypoint

Waypoint Logs

Waypoint offers you secure admission to to an right-time snapshot of your software program program’s logs.

These logs are purposeful whereas you'll most undoubtedly be succesful to need to debug emergent software program program conduct. They type no longer, nonetheless, change complete logging options. Waypoint app logs are aggregated and available to scrutinize through the CLI and the rep-essentially primarily based absolutely UI.

This log perform works no matter what platform that it is likely you may perchance perchance very successfully be the utilization of. Whether that it is likely you may perchance perchance very successfully be on Kubernetes, EC2, Google Cloud Scamper, or another platform, that it is likely you may perchance scrutinize your logs in a relentless potential. The utilization of the UI, that it is likely you may perchance scrutinize logs throughout further than one applications that may be deployed to different platforms.

Waypoint Web UI

Waypoint Exec

Which it is likely you may stop instructions within the context of a deployed software program program the utilization of waypoint exec.

This perform allows you to open a shell, rush scripts, or type one factor else else you're going to like to type to your deployments. Magnificent love logs, this perform works throughout all platforms supported by Waypoint.

waypoint exec command

Even More Capabilities

This listing is upright a discover of most undoubtedly essentially the most features Waypoint helps. 

Waypoint can be former to manage software program program configuration through environment variables, that it is likely you may perchance mix Waypoint together with your CI or GitHub, that it is likely you may perchance train workspaces to manufacture department-whine environments, that it is likely you may perchance write your have plugins, and additional. Additionally, Waypoint is a ticket novel problem. We demand to proceed so as to add further features to Waypoint over the upcoming months.

Waypoint with Present Capabilities

When that it is likely you may perchance perchance want current apps and a deployment workflow, that it is likely you may perchance really feel not sure that that it is likely you may perchance with out relate fabricate train of Waypoint. We type no longer demand that teams are straight going to rebuild their current workflows from scratch the utilization of Waypoint.

As an completely different, now we occupy plugins equivalent to "docker-pull" and an area execution mode that allow you undertake Waypoint into applications that occupy beforehand outlined workflows. Additionally, now we occupy documentation that describes the mannequin to combine Waypoint into CI packages equivalent to CircleCI and Jenkins.

This perform allows you to secure your software program program deployment historic previous into the Waypoint UI and might properly perchance allow exec, logs, configuration, and additional in your app. With a minute quantity of effort, you secure the fast benefit of the utilization of Waypoint similtaneously you protect in ideas whether or not or no longer you're going to like to traipse to a further managed plugin.

And, when that it is likely you may perchance perchance want further than one applications, this potential allows you to combine and match: some applications with predefined deployment frequent sense might properly train the "exec" plugin, whereas more moderen applications might properly perchance resolve to the utilization of a buildpack-essentially primarily based absolutely potential. Both potential, waypoint up will get your applications to manufacturing.

Fully Extensible through Plugins

The create, deploy, and open frequent sense is totally extensible the utilization of plugins. Waypoint is b

Read More

Similar Products:

Recent Content