ebook img

AWS For Admins For Dummies PDF

408 Pages·2016·19.42 MB·english
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview AWS For Admins For Dummies

AWS® For Admins AWS® For Admins by John Paul Mueller AWS® For Admins For Dummies® Published by: John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030-5774, www.wiley.com Copyright © 2017 by John Wiley & Sons, Inc., Hoboken, New Jersey Media and software compilation copyright © 2017 by John Wiley & Sons, Inc. All rights reserved. Published simultaneously in Canada No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without the prior written permission of the Publisher. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/ permissions. Trademarks: Wiley, For Dummies, the Dummies Man logo, Dummies.com, Making Everything Easier, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and may not be used without written permission. AWS is a registered trademark of Amazon Technologies, Inc. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc. is not associated with any product or vendor mentioned in this book. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ. For general information on our other products and services, please contact our Customer Care Department within the U.S. at 877-762-2974, outside the U.S. at 317-572-3993, or fax 317-572-4002. For technical support, please visit https://hub.wiley.com/community/support/dummies. Wiley publishes in a variety of print and electronic formats and by print-on-demand. Some material included with standard print versions of this book may not be included in e-books or in print-on-demand. If this book refers to media such as a CD or DVD that is not included in the version you purchased, you may download this material at http://booksupport.wiley.com. For more information about Wiley products, visit www.wiley.com. Library of Congress Control Number: 2016954413 ISBN 978-1-119-31248-2; ISBN 978-1-119-31250-5 (ebk); ISBN 978-1-119-31249-9 (ebk) Manufactured in the United States of America 10 9 8 7 6 5 4 3 2 1 Contents at a Glance Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Part 1: Getting Started with AWS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 CHAPTER 1: Starting Your AWS Adventure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 CHAPTER 2: Obtaining Free Amazon Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 CHAPTER 3: Determining Which Services to Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Part 2: Configuring a Virtual Server . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 CHAPTER 4: Creating a Virtual Server Using EC2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65 CHAPTER 5: Managing Web Apps Using Elastic Beanstalk . . . . . . . . . . . . . . . . . . . . . .103 CHAPTER 6: Responding to Events with Lambda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Part 3: Working with Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 CHAPTER 7: Working with Cloud Storage Using S3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 CHAPTER 8: Managing Files Using the Elastic File System . . . . . . . . . . . . . . . . . . . . . . 173 CHAPTER 9: Archiving Data Using Glacier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199 Part 4: Performing Basic Database Management . . . . . . . . . .217 CHAPTER 10: Getting Basic DBMS Using RDS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 .19 CHAPTER 11: Moving Data Using Database Migration Service . . . . . . . . . . . . . . . . . . . 249 CHAPTER 12: Gaining NoSQL Access Using DynamoDB . . . . . . . . . . . . . . . . . . . . . . . . 271 Part 5: Creating a User-Friendly Cloud Environment . . . . . . 295 CHAPTER 13: Isolating Cloud Resources Using Virtual Private Cloud . . . . . . . . . . . . . 297 CHAPTER 14: Using the Infrastructure Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 CHAPTER 15: Supporting Users with Business Software . . . . . . . . . . . . . . . . . . . . . . . . 331 Part 6: The Part of Tens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341 CHAPTER 16: Ten Ways to Deploy AWS Quickly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 CHAPTER 17: Ten Must-Have AWS Software Packages . . . . . . . . . . . . . . . . . . . . . . . . . 351 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365 Table of Contents INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 About This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Foolish Assumptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Icons Used in This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Beyond the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Where to Go from Here . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 PART 1: GETTING STARTED WITH AWS . . . . . . . . . . . . . . . . . . . . . . . . 7 CHAPTER 1: Starting Your AWS Adventure . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Defining the AWS Cloud . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Understanding service-driven application architectures . . . . . . . . . 11 Understanding process- and function-driven workflows . . . . . . . . 12 Discovering IaaS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 Defining IaaS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Comparing IaaS to SaaS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Comparing IaaS to PaaS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Determining Why You Should Use AWS . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Comparing AWS to other cloud services . . . . . . . . . . . . . . . . . . . . . . 17 Defining target areas where AWS works best . . . . . . . . . . . . . . . . . . 18 Understanding the AWS Certifications . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Gaining an overview of the certifications . . . . . . . . . . . . . . . . . . . . . . 19 Locating certification resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Getting a Well-Rounded Education . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 CHAPTER 2: Obtaining Free Amazon Services . . . . . . . . . . . . . . . . . . . . . 23 Discovering the Limits of Free Services . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Expiring services versus nonexpiring services . . . . . . . . . . . . . . . . . 24 Considering the usage limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Considering the Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . 27 Hosting the services in the cloud . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Hosting the services locally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Considering the Network Requirements . . . . . . . . . . . . . . . . . . . . . . . . . 30 Designing for connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Balancing cloud and internal needs . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Specifying a subnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Getting Signed Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Performing a Few Simple Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39 Table of Contents vii CHAPTER 3: Determining Which Services to Use . . . . . . . . . . . . . . . . . . 45 Getting a Quick Overview of Free-Tier Services . . . . . . . . . . . . . . . . . . . 46 Understanding the free services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Working with the online labs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Choosing a free services path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Considering the eventual need for paid services . . . . . . . . . . . . . . . 54 Choosing the Services You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Considering AWS Security Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 Understanding the Amazon view of security . . . . . . . . . . . . . . . . . . .60 Getting the expert view of security . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Discovering the reality of Amazon security . . . . . . . . . . . . . . . . . . . . 61 Employing AWS security best practices . . . . . . . . . . . . . . . . . . . . . . . 62 PART 2: CONFIGURING A VIRTUAL SERVER . . . . . . . . . . . . . . . . . 63 CHAPTER 4: Creating a Virtual Server Using EC2 . . . . . . . . . . . . . . . . . . 65 Getting to Know the Elastic Compute Cloud (EC2) . . . . . . . . . . . . . . . . . 66 Working with the Identity and Access Management (IAM) Console . . .69 Configuring root access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 Defining permissions and policies . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Creating customer-managed policies . . . . . . . . . . . . . . . . . . . . . . . . . 80 Creating groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Including inline policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Adding users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .89 Attaching and detaching policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Working with Elastic Block Store (EBS) Volumes . . . . . . . . . . . . . . . . . . . 90 Knowing the EBS volume types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Creating an EBS volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Discovering Images and Instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Generating security keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Creating an instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Connecting to the instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 CHAPTER 5: Managing Web Apps Using Elastic Beanstalk . . . . . . 103 Considering Elastic Beanstalk (EB) Features . . . . . . . . . . . . . . . . . . . . . 104 Deploying an EB Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Creating the application entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Testing the application deployment . . . . . . . . . . . . . . . . . . . . . . . . .112 Setting application security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Configuring the application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Monitoring the application environment . . . . . . . . . . . . . . . . . . . . .116 viii AWS For Admins For Dummies

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.