1. Trang chủ
  2. » Giáo án - Bài giảng

beginning amazon web services with node js shackelford 2015 03 18 Lập trình Java

186 28 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 186
Dung lượng 6,26 MB

Nội dung

CuuDuongThanCong.com https://fb.com/tailieudientucntt Beginning Amazon Web Services with Node.js Adam Shackelford CuuDuongThanCong.com https://fb.com/tailieudientucntt Beginning Amazon Web Services with Node.js Copyright © 2015 by Adam Shackelford This work is subject to copyright All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s location, in its current version, and permission for use must always be obtained from Springer Permissions for use may be obtained through RightsLink at the Copyright Clearance Center Violations are liable to prosecution under the respective Copyright Law ISBN-13 (pbk): 978-1-4842-0654-6 ISBN-13 (electronic): 978-1-4842-0653-9 Trademarked names, logos, and images may appear in this book Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image, we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights While the advice and information in this book are believed to be true and accurate at the date of publication, neither the author nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made The publisher makes no warranty, express or implied, with respect to the material contained herein Managing Director: Welmoed Spahr Lead Editor: Louise Corrigan Technical Reviewer: Jose Dieguez Castro Editorial Board: Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell, Louise Corrigan, Jim DeWolf, Jonathan Gennick, Robert Hutchinson, Michelle Lowman, James Markham, Matthew Moodie, Jeff Olson, Jeffrey Pepper, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft, Gwenan Spearing, Matt Wade, Steve Weiss Coordinating Editor: Christine Ricketts Copy Editor: Michael G Laraque Compositor: SPi Global Indexer: SPi Global Artist: SPi Global Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013 Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springersbm.com, or visit www.springeronline.com Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science+Business Media Finance Inc (SSBM Finance Inc) SSBM Finance Inc is a Delaware corporation For information on translations, please e-mail rights@apress.com, or visit www.apress.com Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use eBook versions and licenses are also available for most titles For more information, reference our Special Bulk Sales– eBook Licensing web page at www.apress.com/bulk-sales Any source code or other supplementary material referenced by the author in this text is available to readers at www.apress.com For detailed information about how to locate your book’s source code, go to www.apress.com/source-code/ CuuDuongThanCong.com https://fb.com/tailieudientucntt For the Roarks CuuDuongThanCong.com https://fb.com/tailieudientucntt Contents at a Glance 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 CuuDuongThanCong.com https://fb.com/tailieudientucntt Contents About the Author About the Technical Reviewer Acknowledgments Preface Chapter 1: Getting Started with Amazon Web Services Understanding the Cloud The Approach in This Book Requirements AWS Account Domain Registration SSL Certificate Code Repository Download the Sample Project Local Environment ExpressJS Sample Project Overview Source Code Organization Configuration and Startup Working with the Sample App Albums Photos Developing with the Sample App Identity and Access Management The IAM Dashboard IAM Users IAM Groups IAM Managed Policies IAM Permissions Editor Summary Chapter 2: Working with AWS OpsWorks Understanding OpsWorks CuuDuongThanCong.com https://fb.com/tailieudientucntt Allocating Resources Regions and Availability Zones Additional IAM Roles Instance Role Service Role The OpsWorks Environment The OpsWorks Dashboard Stacks Layers Apps Deploying Your App Summary Chapter 3: OpsWorks Part II: Databases and Scaling Relational Database Service (RDS) Multi-AZ Deployment Read Replicas Provisioned IOPS Storage DB Security Groups Creating an RDS Database Database Import OpsWorks RDS Layer Environments and Environment Variables Stack Commands: Backup Scenario Elastic Load Balancing (ELB) Creating a Load Balancer OpsWorks ELB Layer Adding a New Instance Summary Chapter 4: CloudFront and DNS Management CloudFront Creating the Distribution Configuring the Distribution Distribution Detail View Behavior with Query Strings Deploy Code Changes CuuDuongThanCong.com https://fb.com/tailieudientucntt Add New Behavior Caching Route 53 Summary Chapter 5: Simple Storage Service and Content Delivery Using S3 in the Application Creating an S3 Bucket Enabling S3 Access in IAM Storing Credentials Implementing IAM Roles Using IAM User Credentials Adding OpsWorks Environment Variables Developing with the AWS SDK Updating Dependencies Accessing Environment Variables Handling File Uploads Updating the Database Schema Integrating with CloudFront Creating CloudFront S3 Origin CloudFront S3 Behavior Finishing Touches Absolute URLs Enhanced Image Caching Summary Chapter 6: Simple Email Service Introducing Simple Email Service Exploring the SES Dashboard SES Verification Managing SES Permissions with IAM Using SES with the AWS SDK Globals Mail.js User Registration Route Deployment and Testing CuuDuongThanCong.com https://fb.com/tailieudientucntt AWS Resource Groups Tagging Resources Creating and Viewing Resource Groups Summary Chapter 7: Monitoring the Application CloudWatch CloudWatch Alarms Alarm Periods Simple Notification Service (SNS) Creating a CloudWatch Alarm Defining an Alarm Alarm State Using OpsWorks with CloudWatch Load-Based Instances OpsWorks Auto-scaling Rules Time-Based Instances RDS Alarms CloudWatch Logs EC2 Instance Roles Using Chef in OpsWorks CloudWatch Logs Summary Chapter 8: Securing the Application Using HTTPS SSL Certificate Generation Installing OpenSSL Creating a Key and CSR Request Certificate The AWS Command-Line Interface (CLI) Configuring Permissions Uploading the SSL Certificates Enabling HTTPS in CloudFront Enabling HTTPS in ELB Application Security CuuDuongThanCong.com https://fb.com/tailieudientucntt Adding Session and Encryption Modules Adding Password Encryption Using Secure Sessions Conclusion Index CuuDuongThanCong.com https://fb.com/tailieudientucntt ... Violations are liable to prosecution under the respective Copyright Law ISBN-13 (pbk): 97 8-1 -4 84 2-0 65 4-6 ISBN-13 (electronic): 97 8-1 -4 84 2-0 65 3-9 Trademarked names, logos, and images may appear in this book... Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013 Phone 1-8 00-SPRINGER, fax (201) 34 8-4 505, e-mail orders-ny@springersbm.com, or visit www.springeronline.com Apress Media, LLC is a California LLC and the sole member... 1Amazon Web Services, “Architecting for the Cloud: Best Practices,” http://aws.amazon.com/es/whitepapers/architecting-for-the-aws-cloud-bestpractices/, May 21, 2010 CuuDuongThanCong.com https://fb.com/tailieudientucntt CHAPTER 2

Ngày đăng: 29/08/2020, 11:27