News for hackers. Stuff that matters.
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.
Re:LocalStack and AWS Parity Explained by moondev on Thursday August 04, 2022 @07:18PM (#32349518)
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.
Re:LocalStack and AWS Parity Explained by afandian on Thursday August 04, 2022 @02:03PM (#32346227)
What's the difference between what localstack provides and an emulator as you describe? Just support, or do they do different things?
Re:LocalStack and AWS Parity Explained by nobleach on Thursday August 04, 2022 @03:11PM (#32347040)
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.
Re:LocalStack and AWS Parity Explained by thrauat on Thursday August 04, 2022 @04:14PM (#32347742)
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
Re:LocalStack and AWS Parity Explained by nobleach on Thursday August 04, 2022 @03:15PM (#32347096)
Really, all the skills of Terraform will apply. LocalStack's docs should be able to get you started: https://docs.localstack.cloud/integrations/terraform/
Re:LocalStack and AWS Parity Explained by chrsig on Thursday August 04, 2022 @04:31PM (#32347950)
they provide a local dynamodb implementation...i dream of a day when they offer the rest.