defunct9
2022-03-23 16:31:03 +08:00
We would like to create a project that will use pulumi to provision and configure servers.
We will use packer to build the machine image, upload it to s3-like storage then use that to provision the server. The image should have docker baked in. We will also use Pulumi provider to install a RKE cluster.
All of these will codified in pulumi.
We will also use ansible/salt-stack to configure the machine after the server is provisioned, e.g. running some scripts to upgrade linux packages.
The server vendor has provided it's own Packer builder, Terraform provider, and go sdk. But the terraform provider has not been actively maintained. Therefore we need to first upgrade it to the latest terraform version.
The milestones are
- convert terraform provider to pulumi provider
- create a machine image using packer, and upload it to s3 bucket
- provision the resources with that machine image, install a RKE cluster with pulumi
- run scripts (e.g. package update) in ansible playbook on these nodes
All of the process should be codified.