Deploy with an agent
Copy agent prompt
Before you start
Connect your AWS account using the Spring Winter quickstart. You need postgreSQL. Check the upstream deployment instructions and pin a release before you deploy. Source repository.Create and connect the database
- Create a private SQL database with PostgreSQL. If you already have a database for this deployment, verify that the engine and version match the pinned app release. Wait for the database to be ready.
- Open Connect on the database. Use the writer endpoint, port, database name and application credentials. Create the application database and role if needed. Confirm that the application and migration process can reach the private writer.
- Set
DATABASE_URLto the writer and application database. Enable required extensions for the pinned release before migration. Put secret values in runtime configuration or the migration process’s secret store. - Set
RUN_MIGRATIONS=1for initial startup. Wait for migration and health checks before signing in.
Configure the deployment
- Select a Spring Winter project in the AWS Region you want to use. Use a web server for the HTTP app and configure dependencies before you start it.
- Use miniflux/miniflux on port 8080 with /healthcheck.
- Set DATABASE_URL and BASE_URL.
- Use RUN_MIGRATIONS=1 for the documented startup migration mode.
- Use CREATE_ADMIN, ADMIN_USERNAME and ADMIN_PASSWORD for initial setup when needed, then remove the bootstrap password from the runtime configuration.