AWS Single-Node Use Case¶
aws-single-node is the public AWS entry point of this repository.
It provisions one EC2 instance with OpenTofu, then bootstraps productive-k3s onto it over SSH.
What it builds¶
- one public
EC2instance - one simple security group
- one single-node Productive K3S environment
Main commands¶
make -C use-cases/aws-single-node infra-up
make -C use-cases/aws-single-node up
make -C use-cases/aws-single-node validate
make -C use-cases/aws-single-node status
make -C use-cases/aws-single-node down
What make up does¶
- Applies the
OpenTofuconfiguration for the instance and security group. - Renders generated metadata from the
OpenTofuoutputs. - Runs the shared remote preflight checks.
- Copies a
productive-k3sbundle to the instance. - Runs the server bootstrap path on the same node.
- Synchronizes Rancher and registry aliases locally on the instance.
- Runs the shared stack bootstrap path.
- Validates node status, ingress, and storage behavior.
Notes¶
Note
This public AWS path is intentionally basic. It is designed for evaluation and reuse, not as a hardened production AWS reference architecture.
Note
The security group defaults are deliberately simple and should be narrowed before any non-evaluation use.
Note
The remote bootstrap behavior is intentionally shared with onprem-basic, so cloud and on-premises SSH flows do not drift unnecessarily.