Beginning Amazon Web Services with Node.js pdf

图书网 2018年10月5日14:52:46
评论
1.6K

Beginning Amazon Web Services with Node.js content validity

Beginning Amazon Web Services with Node.js teaches any novice Node.js developer to configure, deploy, and maintain scalable small to large scale Node.js applications in Amazon Web Services. Hosting a Node.js application in a production environment usually means turning to PaaS hosting, but this approach brings problems. Deploying Node.js directly to AWS solves the problems you encounter in these situations, enabling you to cut out the middle man.

You will begin with a basic RESTful web service in Node.js, using the popular Express.js framework, pre-built and ready to run in your local environment. You will be introduced to the most powerful tools in AWS, and learn how to configure your project to take advantage of them. You will be guided through the steps of getting the various key components to work together on AWS. 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.

Node.js is single-threaded, and designed to run high input / high output applications, making it ideal for the cloud environment. If your main task is handling a high volume of requests over HTTP / the web, it will scale very well in proportion to the computing power you allocate to it. Amazon Web Services offers a broad set of services that help organizations move faster, lower costs, and scale applications. Trusted by the largest enterprises and start-ups alike, AWS powers a wide variety of workloads across a broad spectrum. If leveraged properly, you can build a Node.js app on AWS which can automatically power itself up to handle a massive volume of traffic, and then scale back down to a lighter configuration when user demand has dropped. Amazon Web Services offers a broad set of services that help organizations move faster, lower costs, and scale applications. Get started with Node.js and AWS using this book today.

Beginning Amazon Web Services with Node.js Catalog

About the Author

About the Technical Reviewer

Acknowledgments

Preface

Chapter 1: Getting Started with Amazon Web Services

Chapter 2: Working with AWS OpsWorks

Chapter 3: OpsWorks Part II: Databases and Scaling

Chapter 4: CloudFront and DNS Management

Chapter 5: Simple Storage Service and Content Delivery

Chapter 6: Simple Email Service

Chapter 7: Monitoring the Application

Chapter 8: Securing the Application

Index

Beginning Amazon Web Services with Node.js Wonderful Digest

In the preceding figure, you can see the main Billing and Cost Management dashboard (note that the entire screen is visible in this figure, which will not always be the case). Your current monthly bill is highlighted in a big, bold font, below which is a progress bar with a range of zero to your previous month’sbill. This is to give you an informed projection of your monthly costs, though they will likely fluctuate, based on changes in usage. Don’t let my bill scare you, though, there’s a lot more than the sample app running on my account.

There is also a callout to enable Alerts & Notifications. You can configure AWS to alert you when certain cost metrics have been reached. The utility of this is self-explanatory. If only the electric company offered this feature!

To the right is a circle chart and breakdown of your bill by service. As you can see, EC2 is likely to be your biggest expense, followed by RDS or whatever database service you use. You can expect your database service bill to scale up with the volume of queries your application makes and, hence, with the size of your user base.

You only pay for what you use, but if you go overboard with power, you will feel it in your bank account.

To complete the lessons in this book, you will undoubtedly incur a small cost. The exact cost will depend on how quickly you complete the book and whether you leave your application running 24/7 or not. There are a number of other reports and billing-related tools and options in here that are outside the scope of these lessons. We will return to the AWS Console later in the chapter, to begin configuring the account for use as a production environment.

图书网:Beginning Amazon Web Services with Node.js pdf

继续阅读

→→→→→→→→→→→→→→→→→→→→查找获取

匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: