Posts

Best Practices for Cloud Applications

Image
                                     The Twelve-Factor App: Best Practices for Cloud Applications✨ 🚀 Modern applications need to be portable and such must not be tightly coupled with the underlying Infrastructure. 🚀 They should have minimal divergence when deploy between the dev, test, and prod environment to enable continuous deployment. 🚀 Must be easily scalable by spinning many instances at once and its suitable for modern cloud platforms. The twelve-factor app is a methodology for building these types of apps. It encompasses practices explained below: 🔹 I. Codebase - One codebase tracked in revision control, many deploys. 🔹 II. Dependencies - Explicitly declare and isolate dependencies. 🔹 III. Config - Store config in the environment. 🔹 IV. Backing services - Treat backing services as attached resources. 🔹 V. Build, release, run - Strictly separate build and run stages. 🔹 VI. Processes - Execute the app as one or more stateless processes. 🔹 VII. Port binding - Export serv