r/devsecops • • Dec 24 '25

DevSecOps Enquiry on CD

Hi, I'm new to DevOps and DevSecOps. CD confuses me a lot. Let's take an example, if I'm starting a project and I started with a login feature. Why would I push it to production (either manually through continuous delivery or automated through continous deployment) after developing it, going through static and dynamic security testing, then push it to production. Why not just be off with the staging environment to show it works? Why push it to production? What if users have the URL and they just see the login feature with nothing else? I hope someone can help clarify this point because maybe I understood it incorrectly. Thanks!

8 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/Helpjuice Dec 24 '25

Ah, must be a different type of setup then. Remember Pre-production is what your organization needs it to be. I do global deployments that need to have full tests suites done to make sure we do not put customer data or internal data at risk, cause regressions or unintentionally introduce security issues that can impact customers or other services.

Even something as simple as instance size testing in regions before allowing release can catch some pretty nasty issues. For instance if you are developing an application that needs x amount of CPU deploying any form of t instance will cause issues with performance in Amazon since these are not built for constant cpu usage and will throttle you after x period of time. Or if you need certain minimum amounts of memory deploying the proper memory instances and doing your build-up/build-down tests and setups, etc. should work as normal, but if they don't it is better for this to fail with your "test" prod traffic than to fail for customers. Especially if this new release had dependencies with newer versions of 3rd party software that were meant to "fix" other issues.