Re:LocalStack and AWS Parity Explained
by nobleach on Thursday August 04, 2022 @12:24PM
(#32344956)
I used LocalStack quite a bit at my last gig. It sure is nice to be able to use Terraform to spin up the same infra on my laptop, and test against that. It reduced the number of developer sandboxes we needed to have in AWS. I sure do wish AWS would go the GCP route and offer an emulator. I prefer to use that in E2E automation that's run in CI/CD pipelines.
[ Parent
| on HN ]
Can you actually spin up local "ec2" vms with localstack? If so does it go as far as launching a KVM instance?
Re:LocalStack and AWS Parity Explained
by naikrovek on Thursday August 04, 2022 @07:56PM
(#32349836)
localstack pro will spin up a container as if it was an ec2 and it will act like an ec2 instance as far as localstack is concerned.
What's the difference between what localstack provides and an emulator as you describe? Just support, or do they do different things?
LocalStack is a third party that has a free and paid version of their product. I'm certainly NOT against anyone trying to make a living off of their own hard work but, Google provides their emulator free of charge. Supposedly this can drive greater adoption.
GCP emulators cover only a very small portion of their services though. AWS also has emulators for some services they provide free of charge. LocalStack adds more than just emulation though, it has a bunch of developer tools that enables local cloud dev much more broadly.
Re:LocalStack and AWS Parity Explained
by asdffasdf1234 on Thursday August 04, 2022 @01:14PM
(#32345590)
any chance you can point to a good overview on how to do this? im new to terraform and i'm trying to figure out the best way to co about local/sandbox testing
Really, all the skills of Terraform will apply. LocalStack's docs should be able to get you started: https://docs.localstack.cloud/integrations/terraform/