Choose the right starting point
Use this approach when you want resources in an AWS account you own and can take responsibility for that account. Use another host when you need free hosting without AWS, unsupported infrastructure, or an upstream service that cannot be migrated. Check compatibility before preparing deployment files. A local app, a deployed app and a production-ready app are different:Inspect the exported repository
- Read manifests, lockfiles, README and deployment configuration. Record framework and runtime versions.
- Find every long-running process and every API request from the browser. A Vite
dist/directory can be static; a Next.js route handler needs server compute. - List variable names without reading or copying secret values. Distinguish public build settings from server secrets.
- Identify external authentication, database, file storage, email, payment and model services. Record which account owns each service.
- Find any file writes, SQLite databases, uploaded files or generated indexes. Task replacement deletes local container data.
- Run reviewed tests with fake dependencies or a new disposable database. Do not aim the test suite at a shared database.
Architecture
The diagram is a possible split application, not a requirement to create every resource. The browser reaches a public API. It must not connect directly to a private database or receive database credentials.Prepare and deploy
Use the React and FastAPI example for a split application or Next.js and PostgreSQL for a server-rendered application. Both link to a reviewed template release. Before creating resources, complete a SpringWinter account, AWS connection and GitHub authorization for source builds. Confirm the project Region, source revision, Docker build context, startup command, health path and cost assumptions. See customer-owned AWS and cost estimation. In the dashboard, create or deliberately reuse the required data resources, then the web server or static website. Configure secrets through the environment settings. Build-time settings become part of frontend assets when the framework exposes them publicly. Never place tokens, database passwords or model keys there. Codex, Claude Code and Cursor can follow the same plan with the public deployment skill. For REST automation, read the current API reference and public OpenAPI before building requests. Do not translate a screenshot into guessed request fields.Verify before inviting users
- Observe the exact deployment workflow until it succeeds or fails. An accepted request or visible URL is not completion.
- Open the HTTPS URL and a nested frontend route. Refresh that route.
- Test a harmless representative user journey, including login and authorization between users.
- Check a database-dependent action, upload and background job when the app uses them.
- Verify that sample data survives an approved task replacement. Test each storage type separately.
- Verify custom-domain certificates and authentication callback URLs before switching traffic.
- Keep a tested backup/restore procedure, monitoring and a dependency update process.
Troubleshooting and cleanup
A blank frontend often means a missing public API URL or JavaScript error. An API that works withcurl but fails in the browser can indicate a CORS or mixed-content error. A container that starts and then loses data can indicate a local filesystem dependency. Check deployment troubleshooting before changing infrastructure.
For a temporary experiment, approve cleanup explicitly. Remove previews before their parent. Decide whether to keep database snapshots and object data before deletion. Ending SpringWinter access does not delete resources in your AWS account.