Deploy your first stack
This walkthrough uses the S3 template included in the downloaded quick-start bundle. It exercises the same template, planning, orchestration, state, and generic driver paths used with AWS.
1. Start Praxis
Section titled “1. Start Praxis”cd praxis-alpha-quickstart./praxis-uppraxis version2. Inspect the template
Section titled “2. Inspect the template”Open bucket.cue. It declares one encrypted, versioned S3Bucket using the
current praxis.io/alpha API.
Validate the full plan without changing infrastructure:
praxis plan bucket.cue --account localThe plan shows whether each resource will be created, updated, replaced, deleted, or left unchanged. A plan does not provision resources.
3. Deploy
Section titled “3. Deploy”praxis deploy bucket.cue \ --account local \ --key quickstart \ --yes --wait--key gives the deployment stable identity. Reusing it applies later versions of the same desired deployment instead of creating unrelated state.
4. Inspect the result
Section titled “4. Inspect the result”praxis get Deployment/quickstart --allpraxis observe Deployment/quickstartget reads the current deployment and resource state. observe follows the event stream as provisioning or reconciliation progresses.
Every CLI operation supports machine-readable output:
praxis get Deployment/quickstart -o json | jq .deployment.status5. Remove the deployment
Section titled “5. Remove the deployment”praxis delete Deployment/quickstart --yes --wait./praxis-downPraxis deletes managed resources in reverse dependency order. A resource protected by lifecycle.preventDestroy blocks deletion until that declared protection is changed.