DEV Community

Discussion on: Why local development for serverless is an anti-pattern

Collapse
 
pieterhumphrey profile image
Pieter Humphrey

would you have a different opinion if the dev environment was an exact copy of prod, with a recent copy of prod data? Feels like that would be worth the pain of not doing it locally.

Collapse
 
garethmcc profile image
Gareth McCumskey

If that dev environment is running on a data center with multiple services connected via network connections and the exact code used to run services like Lambda, S3, DynamoDB, IAM and others, then sure. But I don't have a few million $ to replicate that in my home office. I'd rather just serverless deploy to my nearest AWS data centre with no charges while testing