Hi! I posted this in the LocalStack Slack community, but keen to hear opinions from folks here as well:
We're considering migrating from AWS to a self hosted solution. The motivation for self hosting that our AWS bill is super high, our credits are expiring soon, and we don't have the volume to justify paying AWS so much.
We currently use Pulumi for infrastructure as code as and for deployments. Our infra is basically: ECS, RDS, DynamoDB, Kinesis, and S3.
In theory, we could point Pulumi to LocalStack and deploy everything using the same IaC, which would in theory allows us to migrate again to AWS if we ever feel the need again. We'd have to set it to persist everything, handle backups, etc.
First, am I completely bonkers for considering this?
There are "better" solutions of course, but I'm considering this for ease and portability. There's some beauty to keeping our CI and deployment mostly the same except for some endpoint changes. I expect to encounter some hurdles, but hopefully nothing major.
Second, we have some usages of
aws-native
in our Pulumi code. The docs
here say that's not supported because LocalStack doesn't support CloudControl.
Are the docs on that page out of date? I found this
issue as "not planned", but can see a merged
PR for Cloud Control and a docs
page for it. It says it supports IAM role creation which is basically the only thing we're doing with
aws-native
.