Installation
First, install the Valyent CLI:Authentication
Before deploying applications, authenticate with Valyent:1
Get your API key
Generate an API key from the Valyent Console under API Keys section.
2
Log in
Project Setup
Let’s prepare your application for deployment:1
Initialize your project
Navigate to your project directory and ensure it has a Dockerfile:
2
Create a Valyent configuration
Create a
valyent.yaml
file in your project root:Deployment Commands
Here are the essential commands for managing your deployments:Deploy an Application
Expose your application
To make your application accessible from the internet, create a gateway:<gateway_name>.valyent.app
.
Environment Variables
Manage your application’s environment variables:Next Steps
- Set up continuous deployment with GitHub Actions
- Explore the Go SDK for programmatic control
- Learn about advanced deployment patterns
- Configure monitoring and alerts