O'Reilly logo

Building Scalable Apps with Redis and Node.js by Joshua Johanan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Deployment and Scalability

We have finally reached the point where we can actually deploy our application using Amazon's Elastic Compute Cloud (EC2). EC2 is a popular cloud provider. Right now, our application only lives on our computer. We will use Ansible to install all the dependencies and deploy our code on EC2 instances. Then, we will take a look at how and why our application is ready to scale. Here is what we will cover in this chapter:

  • What EC2 is and how to create instances
  • Ansible
  • Ansible roles
  • How to scale

We have a lot to cover, so we are just going to jump right in.

Creating servers on EC2

EC2 is the compute portion of Amazon's public cloud. We will ask Amazon to create a server for us, and we will manage what is on it and what ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required