Setting the file. One moment.
Chapter 10 · Azure Cloud Migrate
Subchapter 10.17
references/services/container-apps/spring-assessment-guide.mdMarkdown5 KBView on GitHub
| Issue | Impact | Solution |
|---|---|---|
| Singleton patterns | Multiple instances may run during updates | Refactor to stateless design |
| In-memory sessions | Lost during restarts/scaling | Migrate to Azure Cache for Redis |
| Local caching | Not shared across replicas | Use Azure Cache for Redis with Spring Data Redis |
| File-based state | Lost on restart | Migrate to Azure Cosmos DB, Azure SQL, or Azure Storage |
State Migration Options:
| Pattern | Container Apps Solution |
|---|---|
| Temporary files | Ephemeral storage (automatic, deleted on restart) |
| Shared persistent data | Azure Files storage mounts |
| Static content serving | Azure Blob Storage + Azure CDN |
| User uploads | Azure Blob Storage with Azure Function triggers |
java -version)Inventory all external dependencies. See spring-dependency-patterns.md for configuration examples (databases, message brokers, caches).
| Provider | Configuration |
|---|---|
| OAuth2 | Spring Security reference docs |
| Auth0 | Auth0 Spring Security documentation |
| PingFederate | Spring Security SAML 2.0/OIDC docs, PingIdentity docs |
| Microsoft Entra ID | Update redirect URIs to new Container Apps FQDN |
| Job Type | Container Apps Solution |
|---|---|
| Unix cron jobs | Azure Container Apps Jobs (ephemeral) |
| Spring Batch tasks | Azure Container Apps Jobs |
| Quartz scheduler | Long-running app (handle scale-out race conditions) |
| Scheduled @Scheduled methods | Long-running app (handle multiple instances) |
server.port or SERVER_PORT environment variablekeytool -list -v -keystore <path> to document SSL certificatesDocument current state:
Container Apps Limits:
Low Complexity:
Medium Complexity:
High Complexity: