Enclavely Docs
Guides

Local Development

Develop your service locally before deploying with Enclavely.

Use this flow to iterate quickly before pushing deploys.

1. Build and run your service locally

Run your service in Docker and verify endpoints:

docker build -t kms-signer .
docker run -p 8080:8080 kms-signer

curl -f http://localhost:8080/healthz
curl -f http://localhost:8080/readyz

2. Initialize Enclavely config

enclavely init --name kms-signer

Edit enclavely.yaml to match your real endpoint paths and runtime settings.

3. Validate config

enclavely build --json

4. Deploy to development

enclavely deploy \
  --project kms-signer \
  --env development \
  --image-digest sha256:<image> \
  --eif-digest sha256:<eif> \
  --wait

5. Inspect and iterate

enclavely status --project kms-signer --env development
enclavely logs --project kms-signer --env development --follow

Keep health and readiness endpoints stable. Most failed first deploys come from path mismatches.

On this page