Deploy to AWS with Flightcontrol
Flightcontrol enables any developer to deploy to AWS without being a wizard. It's extremely easy to use but lets you pop the hood and leverage the raw power of AWS when needed. It supports servers, static sites, and databases which makes it a perfect fit for hosting scalable Redwood apps.
Flightcontrol Deploy Setup
- In your project, run the command
yarn rw setup deploy flightcontrol --database=YOUR_DB_TYPE
where YOUR_DB_TYPE ismysql
orpostgresql
- NOTE: The RedwoodJS Flightcontrol setup defaults to an environment[0] of 'Development', add to the array to deploy more environments.
- Commit the changes and push to github.
- If you don't have an account, sign up at app.flightcontrol.dev/signup.
- Create a new project from the onboarding screen or project list.
- Connect your Github account and select your repo.
- Click "Create Project" and complete any required steps like linking your AWS account.
- Configuration Type should autoselect as
flightcontrol.json
. - NOTE:
flightcontrol.json
is now the source of truth for your Project and its Environments.
- Add your env vars in Flightcontrol for your Environment.
- If using dbAuth, add the session secret key env variable in the Flightcontrol dashboard.
If you have any problems or questions, Flightcontrol is very responsive in their support Discord.