Reemote: a Python library that configures servers after Pulumi provisions them
The author questions why server provisioning in Python usually hands off to Ansible for configuration, arguing the context switch between languages and tools is unnecessary. They propose a configuration management library that can be pip-installed and called directly from the same Python process. Such a tool would only need to check installed packages, compare them against requirements, and apply changes when they differ. The article introduces reemote, which takes over once Pulumi has applied a stack and the instances exist but are still empty. Both Pulumi's Python SDK and reemote run on asyncio, so provisioning and configuration can share one module and one event loop. The main caveat is that newly created machines may not accept SSH connections immediately after the cloud API reports them as ready.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in