# Configure build and start for Hono

## Summary
Build and start for a Hono app on Ample. Verified on Hono: the app built and started with the documented commands and answered on its public HTTPS URL. Build and start: npm install and npm run start with @hono/node-server on the node-22 template.

## Representative Queries
- Configure build and start for Hono
- Where can I host Configure build and start built with Hono?
- I need pinned build/start commands, port binding and a tested process lifecycle.

## Resource Requirements
- primitive:compute

## Infrastructure Requirements
- **Compute**: Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request; sizes are the priced VM sizes.

## Prerequisites
1. A Hono project (npm install and npm run start with @hono/node-server on the node-22 template)
2. An Ample account token with servers:write

## Tested Configuration
- **Template**: node-22
- **Runtime**: node
- **Size**: s-1vcpu-1gb
- **Install**: npm install
- **Build**: npm run build --if-present
- **Start**: npm run start

## Workflow Steps
1. **Build and start**: npm install and npm run start with @hono/node-server on the node-22 template; the server must bind 0.0.0.0 on PORT.
2. **Deploy**: Run the synchronous deploy once and read the result. `ample deploy . --name  --public`
3. **Verify**: Fetch the live URL on the example; on failure read the build and runtime logs. `ample logs  --kind build`

## Examples
- **Hono pattern fixture**: Verified build and start on Hono.

## Success Checks
- app responds on its public URL

## Limitations
- Verified on the node-22 template at s-1vcpu-1gb; other sizes and Hono major versions are not verified.
- Region, compliance attestations and request-duration limits are unknown and not claimed.

## Cost Estimate
- **Currency**: USD
- **Monthly Amount**: 5.0
- **Authoritative**: true
- **Basis**: size prices from pricing.toml (loaded by the API) at build revision 1ac5595375130d45290090e82ed0f554ccd45405-dirty
  - **Components**:
    - **App server**: size s-1vcpu-1gb, quantity 1.0, monthly amount 5.0
- **Note**: Always-on monthly price of the tested sizes; apps auto-pause when idle. Buckets are allocation-priced per quota and not included.

## Evidence Summary
- **Canary run**: Hono pattern fixture deployed on Ample (npm install and npm run start with @hono/node-server on the node-22 template); for this guide: the app built and started with the documented commands and answered on its public HTTPS URL.

## Last Verified At
2026-09-21T01:14:18Z
