Deploy with an agent
Copy agent prompt
Before you start
Connect your AWS account using the Spring Winter quickstart. You need mySQL and durable wp-content. 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 MySQL. 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
WORDPRESS_DB_HOST,WORDPRESS_DB_NAME,WORDPRESS_DB_USERandWORDPRESS_DB_PASSWORD. Configure durablewp-contentstorage for the chosen hosting layout. Put secret values in runtime configuration or the migration process’s secret store. - Start WordPress, then complete the browser installer to initialize the tables.
Configure the deployment
- Select a Spring Winter project in the AWS Region you want to use. Confirm where persistent or non-HTTP components will run before creating resources.
- Use the official wordpress Apache image on port 80.
- Set WORDPRESS_DB_HOST, WORDPRESS_DB_USER, WORDPRESS_DB_PASSWORD and WORDPRESS_DB_NAME.
- Choose durable storage for uploads, themes and plugins.
- The standard writable installation needs a persistent filesystem.
- An immutable image also needs an explicitly configured and tested strategy for offloading uploads and managing updates.