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 ...
Get Building Scalable Apps with Redis and Node.js now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.