Skip to content

aws

Terminal window
alchemy aws <subcommand> [options]

Cloud-provider commands for AWS — managing the per-account infrastructure that Alchemy itself relies on.

Terminal window
alchemy aws bootstrap [options]

Set up the AWS assets bucket required for deploying Lambda functions and other AWS resources that need artifact storage.

 Created assets bucket: alchemy-assets-123456789012-us-west-2-an

Re-running is a no-op:

 Assets bucket already exists: alchemy-assets-123456789012-us-west-2-an
OptionDescription
--profile <name>AWS profile to use for credentials (default: default)
--region <region>AWS region to bootstrap. Defaults to the SSO profile’s region, then us-east-1.
--destroyDestroy all bootstrap buckets in the selected region
--env-file <path>Load environment variables from a file

Bootstrap requires an AWS SSO profile with sso_account_id set — it fails with a clear error if the profile is missing one.

Logs are written to .alchemy/log/bootstrap.txt.

Removes every bootstrap bucket in the selected region and reports the count:

 Destroyed 1 bootstrap bucket(s): alchemy-assets-123456789012-us-west-2-an

If there’s nothing to remove:

 No bootstrap buckets found to destroy
Terminal window
# Bootstrap with the default profile
alchemy aws bootstrap
# Bootstrap a specific region and profile
alchemy aws bootstrap --profile prod --region us-west-2
# Remove bootstrap resources
alchemy aws bootstrap --destroy
  • cloudflare — provider commands for Cloudflare
  • AWS — the AWS provider hub