• Complain

Castro Jose Dieguez - Beginning Amazon Web Services with Node.js

Here you can read online Castro Jose Dieguez - Beginning Amazon Web Services with Node.js full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Berkeley;CA;New York, year: 2015, publisher: Apress;Friends of ED, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Castro Jose Dieguez Beginning Amazon Web Services with Node.js

Beginning Amazon Web Services with Node.js: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Beginning Amazon Web Services with Node.js" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Rsum : This book will show a Node.js developer how to configure, deploy, and maintain scalable small to large scale Node.js applications in Amazon Web Services (AWS). RESTful web service in Node.js, using Express.js framework is discussed and an introduction to tools in AWS is provided. Through code samples using the AWS JavaScript SDK and tutorials in the AWS console, you will gain the knowledge to incorporate secure user authentication, server auto-scaling, a load balancer, CDN, customized caching behavior, and outage monitoring. Topics include: using AWS Opsworks to architect and configure a secure web application built for hosting in the cloud; integrating AWS Cloudwatch, SES, and other AWS services into your code using AWS Route 53 to configure your domain to use a load balancer, CDN, and other performance-enhancing services into your application; deploying with AWS Opsworks and using AWS services to monitor, scale, and maintain your application. --

Castro Jose Dieguez: author's other books


Who wrote Beginning Amazon Web Services with Node.js? Find out the surname, the name of the author of the book and a list of all author's works by series.

Beginning Amazon Web Services with Node.js — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Beginning Amazon Web Services with Node.js" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Adam Shackelford 2015
Adam Shackelford Beginning Amazon Web Services with Node.js 10.1007/978-1-4842-0653-9_1
1. Getting Started with Amazon Web Services
Adam Shackelford 1
(1)
NY, United States
Welcome to Beginning Amazon Web Services with Node.js ! Over the course of this book, you will learn how to optimize your Node.js applications for deployment on Amazon Web Services (AWS). By using AWS to host your application, you take advantage of a series of features that are commonly known as the cloud. You will learn about some of the core features of AWS, understand how to design your application stack, and integrate your application into the AWS environment. Though you could easily upload your code to a server and call it a day, learning how to incorporate the various features of AWS into your project will allow you to make full use of the benefits of the cloud. But what are these benefits?
Understanding the Cloud
First and foremost is scalability , or the ability to rapidly deploy additional resources to support your application. Prior to the proliferation of cloud-hosting providers such as AWS, if demand for your application outstripped your hardware resources, deploying additional servers was an expensive and laborious task and often out of the capabilities of startups and small or medium-sized businesses. With your application hosted on AWS, you can allocate resources on demand, launching new servers and keeping your application online. According to the AWS white paper Architecting for the Cloud: Best Practices,
Traditionally, applications have been built for fixed, rigid and pre-provisioned infrastructure. Companies never had the need to provision and install servers on [a] daily basis. As a result, most software architectures do not address the rapid deployment or reduction of hardware. Since the provisioning time and upfront investment for acquiring new resources was too high, software architects never invested time and resources in optimizing for hardware utilization. It was acceptable if the hardware on which the application is running was under-utilized. The notion of elasticity within an architecture was overlooked because the idea of having new resources in minutes was not possible.
The ability to respond to demand for your application is known as elasticity . Being able to replace one server with 100 is useless if its not a strategic action. When additional servers had to be manually booted and configured for deployment in response to demand, the cost of doing so led many businesses/institutions to instead over-allocate resources. Instead of spinning up additional servers for a spike in traffic, the extra servers would just be left running at all times and required concomitant maintenance. With the elasticity of AWS, spikes in traffic can be detected, and additional resources can be automatically deployed. When the demand returns to normal, the application can be scaled down automatically to a normal state. Use what you need, and pay for what you usea simple concept that revolutionizes web application development. This saves time, money, energy, and reduces the barrier to entry for enterprise-level software.
As you can see, scalability and elasticity are great attributes to have in your application. These benefits also mean thinking differently about your role as software developer and architect. Shifting from developing in a fixed-hardware environment to a cloud-computing environment means that we are now cloud architects, in addition to software developers. This constitutes a major change in the way developers must think about web applications. For many of us, there will no longer be a system administrator or database administrator maintaining the infrastructure. (They work at Amazon, IBM, Google, Rackspace, etc., now.) Instead, virtual hardware management/cloud architecture is now in our domain. Not only do we think about our application in terms of best coding practices and organization, we have to think about how to leverage the vast resources available to us as developers. This means we have to become familiar with the features of AWS and understand how to design, configure, and maintain a virtual-hosting environment.
As you learn how to be a cloud architect, you will learn about a lot of great features specific to AWS, as well as the general philosophies of elasticity and scalability. The many features of AWS are organized into a series of overlapping services. Many of them have redundant features, allowing for some creativity in the decisions we make as we architect our system. All of these services run in virtualized-hardware environments located in Amazons many data centers around the globe. We will explore some of these services in the chapters that follow.
You will be familiarizing yourself with the fundamentals of Amazon Web Services. I have discussed some of the general principles and advantages of using AWS. Later on, I will discuss some of the core services in greater detail and the different ways we can interact with them. Before we dive in, it is important to start on the same page.
The Approach in This Book
This book assumes that you are already at least a beginner Node.js developer, looking to expand your skill set to include architecting and developing a Node.js application with scalability and elasticity in mind. You should have a basic understanding of the main concepts in web-application development. You should know what a RESTful web service is, know your way around Git or SVN, and have a code editor handy.
Designing and developing the application is a creative process. This means that a number of highly subjective decisions have to be made. First and foremost, we will be using Amazon RDS (Relational Database Service) to host a MySQL database on AWS. Many Node.js developers prefer MongoDB to MySQL. That is perfectly fine! However, the sample application and subsequent instructions focus on MySQL, which suits the needs of our application. If you want to use this book to deploy an app using MongoDB, you will have to be capable of rewriting the database connections and queries accordingly. In either case, you will need elementary knowledge of the database language in question. This is just one of many creative decisions to be made along the way. You may disagree with some or require a different approach in your next project, but you will end up being better equipped to make these decisions in your next project, and you will be prepared to work with AWS services as a developer and architect.
To gain the benefits of cloud computing in our application, you will be learning about a variety of AWS services that can be integrated into our application. This integration will be carried out through two means: via configuration and customization of multiple services in the AWS Console and programmatically in our application code base with the AWS SDK. In this case, we will be using the JavaScript AWS SDK, which is intended for use in Node.js applications. However, there are SDKs for a variety of server-side languages, and many of the lessons of the book could even be useful to developers using different languages. Integrating AWS services into a PHP application with similar functionality would not be that different.
Virtually every task you can carry out in the AWS Management Console (AWS Console) could also be carried out programmatically, and vice versa. The AWS Console adds a lot of clarity to the process by providing access to hints and documentation and by providing visual reference for the otherwise abstract concepts. It can help a lot to use the console while you wrap your head around everything AWS can do. You might ask, How do I know when to use the console and when to use the SDK? Learning curve aside, this is a highly subjective topic. You may, in time, decide what rules are best for your workflow, but we can follow a few ground rules.
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Beginning Amazon Web Services with Node.js»

Look at similar books to Beginning Amazon Web Services with Node.js. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Beginning Amazon Web Services with Node.js»

Discussion, reviews of the book Beginning Amazon Web Services with Node.js and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.