Book Image

AngularJS Web Application Development Blueprints

By : Vinci J Rufus
Book Image

AngularJS Web Application Development Blueprints

By: Vinci J Rufus

Overview of this book

Table of Contents (17 chapters)
AngularJS Web Application Development Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Delving into AWS deployment architectures


When deploying applications on AWS, there are numerous ways of deploying the app. One can make use of the services that AWS provides to build an architecture that can maximize performance and reduce costs. We will explore two topologies that can be used to deploy our AngularJS apps in the following sections.

The EC2 server-based architecture

The most common deployment architecture for regular web applications would be as follows:

This architecture consists of an EC2 instance, which has the web server running and the application deployed on it.

It will talk to an RDS database to read and write from it. All the static files such as images, CSS, JS, and media files, if any, would be stored in an S3 bucket and directly served to the user's browser from the S3 bucket or through CloudFront.

This is a common architecture to deploy server-side apps that are built on, say, Ruby on Rails (RoR), PHP, or Java. All requests are sent to the server, which dynamically...