Chapter 8. Deploying to the Cloud

In this chapter, we'll learn how to deploy the Relay Node application to the cloud. We will learn how to deploy to a cloud-based application platform (Heroku), and how to deploy to a virtual machine in the cloud (with Amazon Web Services). Most of the instructions in this chapter will apply to any Node application.

The topics we will cover in this chapter are:

  • Deploying on EC2
  • Deploying on Heroku

Preparing for deployment

Right now, we have a project that is working for us locally in development mode, and we want to take it to another server and run it there. The first thing that we need is a mechanism for us to copy the project files between our local machine and the remote server.

There are a few options we can go ...

Get Learning GraphQL and Relay now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.