Live data from Hacker News

Localstack – Local AWS Emulator

github.com

51–60 of 132 posts

Re: Localstack – Local AWS Emulator

#51
post #46

Earlier quoted context omitted.

You can install DynamoDB locally although you will still miss the rest of the stack. "Setting Up DynamoDB Local (Downloadable Version)" https://docs.aws.amazon.com/amazondynamodb/latest/developerg...

https://docs.aws.amazon.com/amazondynamodb/latest/developerg... > The downloadable version of DynamoDB is intended for development and testing purposes only. By comparison, the DynamoDB web service is a managed service with scalability, availability, and durability features that make it ideal for production use.

Correct. I meant to use it to save some money while developing your apps, not as a solution for local deployment.

Re: Localstack – Local AWS Emulator

#52

I’ve been saying for a couple of years whoever builds a tool to one click deploy an AWS alike to run on local bare metal has built the next billion dollar a year company. I know of a lot of big shops that are desperate to get out of the cloud due to 7-8 figure AWS bills but their software and engineering is too tightly wound into AWS tooling.

Agreed. Although it's a big ask. I have something that's slowly going in that direction but it'll be a while before it gets the interest I'm looking for.

https://github.com/micro

Re: Localstack – Local AWS Emulator

#53
post #51

Earlier quoted context omitted.

https://docs.aws.amazon.com/amazondynamodb/latest/developerg... > The downloadable version of DynamoDB is intended for development and testing purposes only. By comparison, the DynamoDB web service is a managed service with scalability, availability, and durability features that make it ideal for production use.

Correct. I meant to use it to save some money while developing your apps, not as a solution for local deployment.

Ah understood. I thought this comment thread was talking about replacing _production_ AWS use cases with a bare metal system that has a compatible API.

Re: Localstack – Local AWS Emulator

#55
post #54

Hmm this will come in handy when writing my Terraform scripts.

Yep, local Terraform testing is a great use case - we're seeing a lot of usage in this space. Here are some some pointers to get started with the provider configuration: https://registry.terraform.io/providers/hashicorp/aws/latest...

We'll soon publish some more details on the TF integration in the LocalStack docs...

Side note - similar to the *.tfstate file maintained by Terraform (storing metadata about resource deployment states), we're increasingly making use of persistence files (called "local cloud pods") that allow you to easily store the state of your LocalStack instance, share it with team members, keep track of changes over time, etc. Really nifty feature...

Re: Localstack – Local AWS Emulator

#57
post #11
post #4

i wish aws...and to be honest, most cloud providers put more effort into the development experience. they have local dynamo, but i believe that's the only official appliance they provide. I think it's especially necessary for the proprietary products -- dynamo being a great example. I'll take a moment to call out snowflake for this as well -- it's really frustrating to not be able to quickly (within milliseconds) and…

i think cloud providers have little incentive to help you develop and test everything locally, since they benefit more from onboarding you quickly into using their infrastructure, which they can much better monetize on. it seems to me that a completely local cloud stack would be threatening to cloud providers also in that you can then start running non-critical applications on-prem at no cost.

i don't think that's a real threat -- i don't think development environments are likely a huge income source for them, either.

i think they'd be better served by letting me develop more quickly, so I can help my company grow, and presumably need (and have the budget for!) more resources in our production environment.

if i'm mistaken, i think it's reasonable to have some sort of built in time limit to how long the appliance will run for, or some other way of preventing it being used for non-development purposes.

Re: Localstack – Local AWS Emulator

#58

I prefer mocking my AWS calls, so much more lightweight and means exert developer doesn’t have to install local stack

Interesting! Staying lightweight and zero-dependency is certainly a good argument. Out of curiosity - which programming language(s) are you / your team developing in? Do you have a notion of how much (%) of your time, approximately, goes into maintaining the mocks - does it scale / pay off over time?

Re: Localstack – Local AWS Emulator

#59
post #19

Earlier quoted context omitted.

But AWS is huge. They employ thousands of engineers. Granted most of the complexity is due to its huge huge scale, but still it has too many features to do what youre asking. And then there are AWS exclusives like DynamoDB. Yes there are open source public/private cloud alternatives like OpenStack but they won't solve the problem of lock in and you'd still have to change all your tooling.

OpenStack isn't a redhat project, it is contributed to by a large number of players. Redhat, SUSE and Canonical all provide their own OpenStack service subscriptions, but one can easily deploy OpenStack with a project like OpenStack Kolla. I run it at home and it is great.

OpenStack is an over-complicated mess. Most enterprise IT orgs already struggle to hire the people with skills to operate a public cloud account, nevermind having to build the underlying infrastructure as well.

Re: Localstack – Local AWS Emulator

#60
post #58

I prefer mocking my AWS calls, so much more lightweight and means exert developer doesn’t have to install local stack

Interesting! Staying lightweight and zero-dependency is certainly a good argument. Out of curiosity - which programming language(s) are you / your team developing in? Do you have a notion of how much (%) of your time, approximately, goes into maintaining the mocks - does it scale / pay off over time?

Well if they use https://github.com/spulec/moto they don't have to maintain the mocks
Post reply on HN