
Cloud
Learning Level
Before migrating to cloud, evaluate whether your application is ready. Some apps need refactoring.
Problem: App stores data on server (breaks with scaling)
ā Bad: User uploads file ā Saved to /var/uploads
With scaling: Server 1 has file, Server 2 doesn't
Solution: User requests different server ā File not foundSolution: Use cloud storage
ā
Good: User uploads file ā Saved to cloud storage
All servers access same storage
No matter which server handles request, file existsProblem: Database password hardcoded in code
ā Bad: const password = "prod_db_password_123"
Exposes secrets in code repositorySolution: Environment variables
ā
Good: const password = process.env.DB_PASSWORD
Secrets stored separately, not in codeProblem: One giant application (10 million lines of code)
ā Bad: Single app handles users, orders, payments, shipping
One failure affects entire system
Hard to scale specific featuresSolution: Microservices
ā
Good:
āā User service (manages users)
āā Order service (manages orders)
āā Payment service (handles payments)
āā Shipping service (manages shipping)
Each scalable independentlyProblem: Application writes directly to files
ā Bad: File created: /var/data/report.txt
With scaling: Different servers write different files
Data fragmented across serversSolution: Cloud storage or databases
ā
Good: Write to Cloud Storage / Database
All servers access same location
Data consistent| Category | Ready? | If Not | Effort to Fix |
|---|---|---|---|
| Stateless design | Required | Refactor to externalize state | High |
| Config externalized | Required | Move secrets to env vars | Low |
| Containerizable | Required | Create Docker image | Low |
| Auto-deployment | Highly recommended | Set up CI/CD | Medium |
| Monitoring | Highly recommended | Add logging/metrics | Medium |
| Microservices | Recommended | Break monolith apart | Very High |
Example: Modern Python Flask API
Example: Legacy PHP application
Properly cloud-ready application:
Not cloud-ready application:
Ready to deploy? Start with Provider Comparison
Want assessment framework? ā Cloud Readiness (Experienced)
Resources
Ojasa Mirai
Master AI-powered development skills through structured learning, real projects, and verified credentials. Whether you're upskilling your team or launching your career, we deliver the skills companies actually need.
Learn Deep ⢠Build Real ⢠Verify Skills ⢠Launch Forward