Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

iasql vs iac (sync) #48

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

iasql vs iac (sync) #48

wants to merge 9 commits into from

Conversation

depombo
Copy link
Contributor

@depombo depombo commented Jun 2, 2022

No description provided.

@depombo depombo requested review from aguillenv and dfellis June 3, 2022 11:34
blog/2022-06-02-two-way.mdx Outdated Show resolved Hide resolved
@depombo depombo changed the title two way binding blogpost for sync iasql vs iac (sync) Jun 30, 2022
@dfellis
Copy link
Member

dfellis commented Jun 30, 2022

@depombo can we pepper this post with links to the documentation and/or examples?

I'm alright with another light blog post over something more substantive, but for those who are interested in what we're saying, I'd like there to be a way to direct them towards what they're interested in.

It could also be an interesting first use of "the button" if we have one that sets up a database and auto-installs some modules for them to then explore?


### Importing existing infrastructure (WIP)

IaSQL automatically imports all existing cloud resources when the initial 2-way binding is setup.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of bullet point that might help here

  • import all resources for the modules you installed? Maybe it make sense to introduce the modules concept?
  • IaC isolation vs IaSQL complete view?


IaSQL automatically imports all existing cloud resources when the initial 2-way binding is setup.

### Infrastructure drift (WIP)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe this section could go after Relations since you start talking a little about configuration drifts there.


Some organizations prevent the generation of statefiles when using IaC tools by making cloud dashboards read-only for all employees and only allowing infrastructure changes to occur through the declaration. However, this means every single team in an organization that can span thousands of people and software systems has to adhere to this convention. This can be an untenable premise when workflows span multiple clouds, time zones, deployment strategies, dependencies and versions. Application engineers often need to move quickly and create new infrastructure through a cloud UI that could also depend on infrastructure previously created through an IaC tool. To make matters worse, subsequent changes to the IaC declaration can affect the infrastructure created through the cloud UI as it is only represented in the statefile.

We created the IaSQL `sync` command to let teams create resources outside of IaSQL while still managing said resources. This flexibility makes it possible to have multiple cloud management tools across different teams without getting locked into a single tool. When using IaSQL's `sync`, there is no need to constantly recreate changes or deal with state files to stay up to date with infrastructure changes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe be more explicit on what sync does, like We created the IaSQL sync command to reconcile latest cloud updates into the database. This will let teams...


[IaSQL](https://iasql.com), like IaC tools, allows creating, updating or deleting infrastructure in the cloud. IaSQL does this by using the actual representation of the infrastructure instead of a blueprint. This provides several benefits which we will cover, but primordially it allows developer to model cloud infrastructure in the same way the information in most software systems is represented: as data in a database. This means developers can scale the cloud with a familiar set of developer tools that the Postgres ecosystem has built over many decades, and with one of the most well-known programming languages, SQL.

### Statefiles vs Databases
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this section

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IaSQL technical blog post two-way mode + audit log
3 participants