Getting Started with Linux Stacks
Cloud-based applications usually require a group of related resources—application servers, database servers, and so on—that must be created and managed collectively. This collection of instances is called a stack. A simple application stack might look something like the following.
The basic architecture consists of the following:
A load balancer to distribute incoming traffic from users evenly across the application servers.
A set of application server instances, as many as needed to handle the traffic.
A database server to provide the application servers with a back-end data store.
In addition, you typically need a way to distribute applications to the application servers, monitor the stack, and so on.
AWS OpsWorks provides a simple and straightforward way to create and manage stacks and their associated applications and resources. This chapter introduces the basics of AWS OpsWorks—along with some of its more sophisticated features—by walking you through the process of creating the application server stack in the diagram. It uses an incremental development model that AWS OpsWorks makes easy to follow: Set up a basic stack and, once it's working correctly, add components until you arrive at a full-featured implementation.
Step 1: Sign in to the AWS OpsWorks Console shows how to sign into the AWS OpsWorks console
Step 2: Create a Simple Application Server Stack shows how to create a minimal stack that consists of a single application server.
Step 3: Add a Back-end Data Store shows how to add a database server and connect it to the application server.
Step 4: Scale Out MyStack shows how to scale out a stack to handle increased load by adding more application servers, and a load balancer to distribute incoming traffic.