Skip to main content
Version: 5.x

Deploy to Edgio

Edgio extends the capabilities of a traditional CDN by not only hosting your static content, but also providing server-side rendering for progressive web applications as well as caching both your APIs and HTML at the network edge to provide your users with the fastest browsing experience.

Edgio Deploy Setup

In order to deploy your RedwoodJS project to Edgio, the project must first be initialized with the Edgio CLI.

  1. In your project, run the command yarn rw setup deploy edgio.
  2. Verify the changes to your project, commit and push to your repository.
  3. Deploy your project to Edgio
  4. If this is your first time deploying to Edgio, the interactive CLI will prompt to authenticate using your browser. You can start the deploy by running yarn rw deploy edgio.
  5. If you are deploying from a non-interactive environment, you will need to create an account on Edgio Developer Console first and setup a deploy token. Once the deploy token is created, save it as a secret to your environment. You can start the deploy by running yarn rw deploy edgio --token=XXX.
  6. Follow the link in the output to view your site live once deployment has completed!

For more information on deploying to Edgio, check out the documentation.