1. A system for automatically integrating cloud based resources into a distributed database executing on local hardware, the system comprising: at least one hardware based processor operatively connected to a memory; a state component, executed by the at least one hardware based processor, configured to determine a current state for a plurality of database nodes, wherein the current state determination identifies a database instance executing on client hardware including at least one replica set having a primary node hosting a primary database instance that accepts database write operations from client systems, and at least two secondary nodes that host copies of the primary database instance that replicate logged write operations from the primary node, a database version executing on the replica set, and configuration data for at least one database instance; a planning component, executed by the at least one hardware based processor, configured to generate an execution plan to provision an additional secondary node mirroring the primary node and the primary database; and an automation component, executed by the at least one hardware based processor, configured to: provision at least one cloud resource having processor and memory based on the execution plan; install database binary files including automation agents for a secondary node on the at least one cloud resource; trigger synchronization between the primary node and the secondary node executing on the at least one cloud resource; update configuration metadata for the database instance; and replicate write operations on the primary node executing on client hardware received after synchronization to the secondary node executing on the at least one cloud resource.