You are previewing Pro PowerShell for Amazon Web Services: DevOps for the AWS Cloud.
O'Reilly logo
Pro PowerShell for Amazon Web Services: DevOps for the AWS Cloud

Book Description

Pro PowerShell for Amazon Web Services is written specifically for Windows professionals who already know PowerShell and want to learn to host Windows workloads in the Amazon Elastic Cloud Compute (EC2) cloud service. The cloud offers information technology workers significant cost savings and agility unimaginable even just a few years ago. Tasks that traditionally took weeks of work, costing thousands of dollars, can be completed in minutes for a fraction of a penny.

This book is a resource for using Microsoft's powerful scripting language, PowerShell, to create, host, manage, and administer workloads using a service widely recognized as the industry leader in cloud computing. Inside, find scripts to create and manage virtual machines, provision storage, configure networks with agility, and more--all using your preferred Windows scripting language.

Use your PowerShell knowledge to harness the power of Amazon EC2 today!

What you'll learn

  • Create, manage, and terminate Windows servers in the cloud

  • Manage storage options including backup and recovery

  • Configure a virtual network including subnets and route tables

  • Secure your servers using security groups and access control lists

  • Use Auto Scaling to respond to changing conditions

  • Deploy SQL Server using Relational Database Service

  • Use Simple Storage Service (S3) to reliably store and archive data

  • Control access to resources using Identity and Access Management (IAM)

  • Who this book is for

    Pro PowerShell for Amazon Web Services is for the intermediate to advanced Windows professional who is ready to make the leap to the Amazon cloud.

    Table of Contents

    1. Title Page
    2. Contents at a Glance
    3. Contents
    4. About the Author
    5. About the Technical Reviewers
    6. Acknowledgments
    7. Introduction
    8. CHAPTER 1: AWS Architecture Overview
      1. Introduction
      2. What Is Cloud Computing?
      3. Regions
      4. Availability Zones
      5. Services
      6. Summary
    9. CHAPTER 2: Getting Started
      1. Creating an AWS Account
      2. Creating a User Account
      3. Configuring PowerShell
      4. Specifying Credentials and Region
      5. Setting Defaults
      6. Persisting Defaults
      7. Using Stored Credentials
      8. Using Key Pairs
      9. Using IAM Roles
      10. Summary
    10. CHAPTER 3: Basic Instance Management
      1. Creating Instances
      2. Connecting to an Instance
      3. Managing the Instance Life Cycle
      4. Listing Instances and Metadata
      5. Using the Metadata URL
      6. Using User Data
      7. Working with Tags
      8. Working with Filters
      9. Summary
    11. CHAPTER 4: Elastic Block Storage
      1. Managing Volumes at Launch
      2. Adding a Volume to a Running Instance
      3. Managing Quality of Service
      4. Working with Snapshots
      5. Managing Public Snapshots
      6. Summary
    12. CHAPTER 5: Virtual Private Cloud
      1. Creating a VPC
      2. Creating a Subnet
      3. Creating an Internet Gateway
      4. Managing Route Tables
      5. Managing Network ACLs
      6. Managing DHCP
      7. Summary
    13. CHAPTER 6: Advanced Instance Management
      1. Managing Security Groups
      2. Launching Instances into a VPC
      3. Managing Elastic IP Addresses
      4. Managing Private IPs
      5. Managing Elastic Network Interfaces
      6. Summary
    14. CHAPTER 7: Amazon Machine Images
      1. Working with Scripted Builds and Prepared Images
      2. Listing AMIs
      3. Introducing the EC2Config Service
      4. Preparing an AMI Using EC2Config
      5. Editing the SysPrep Answer File
      6. Creating an AMI
      7. Sharing an AMI
      8. Summary
    15. CHAPTER 8: Monitoring and High Availability
      1. Architecting for High Availability
      2. Managing Elastic Load Balancers
      3. Monitoring with CloudWatch
      4. Using Auto Scaling
      5. Using Route 53
      6. Summary
    16. CHAPTER 9: Relational Database Service
      1. RDS Architecture
      2. Managing RDS Instances
      3. Configuring a Database Engine
      4. Working with Snapshots
      5. Using Point-in-Time Restores
      6. Working with Tags, Events, and Logs
      7. Multi-AZ Instances
      8. Read Replicas
      9. Summary
    17. CHAPTER 10: Simple Storage Service
      1. Managing Buckets
      2. Managing Objects
      3. Managing Folders
      4. Managing Public Access
      5. Managing Versions
      6. Miscellaneous S3 Options
      7. Summary
    18. CHAPTER 11: Identity and Access Management
      1. Managing Users
      2. Managing Groups
      3. Managing Policies
      4. Managing Roles
      5. Miscellaneous IAM Commands
      6. Summary
    19. APPENDIX A: Glossary of Terms
    20. APPENDIX B: Metadata URL Structure
    21. APPENDIX C: List of Filters by EC2 Command
      1. Get-EC2Address
      2. Get-EC2AvailabilityZone
      3. Get-EC2BundleTask
      4. Get-EC2CustomerGateway
      5. Get-EC2DhcpOption
      6. Get-EC2Image
      7. Get-EC2Instance
      8. Get-EC2InstanceStatus
      9. Get-EC2InternetGateway
      10. Get-EC2KeyPair
      11. Get-EC2NetworkAcl
      12. Get-EC2NetworkInterface
      13. Get-EC2PlacementGroup
      14. Get-EC2Region
      15. Get-EC2ReservedInstance
      16. Get-EC2ReservedInstancesListing
      17. Get-EC2ReservedInstancesOffering
      18. Get-EC2RouteTable
      19. Get-EC2SecurityGroup
      20. Get-EC2Snapshot
      21. Get-EC2SpotInstanceRequest
      22. Get-EC2SpotPriceHistory
      23. Get-EC2Subnet
      24. Get-EC2Tag
      25. Get-EC2Volume
      26. Get-EC2VolumeStatus
      27. Get-EC2Vpc
      28. Get-EC2VpnConnection
      29. Get-EC2VpnGateway
    22. APPENDIX D: List of API Methods by Command
      1. AWS Support
      2. Auto Scaling
      3. CloudFront
      4. CloudSearch
      5. CloudWatch
      6. Direct Connect
      7. Data Pipeline
      8. Elastic Beanstalk
      9. Elastic Compute Cloud (EC2)
      10. ElastiCache
      11. Elastic Load Balancing (ELB)
      12. Elastic Map Reduce (EMR)
      13. Elastic Transcoder
      14. Identity and Access Management (IAM)
      15. Import/Export
      16. OpsWorks
      17. Route 53
      18. Relational Database Service (RDS)
      19. Redshift
      20. Simple Storage Service (S3)
      21. Simple Email Service (SES)
      22. Storage Gateway (SG)
      23. Simple Notification Service (SNS)
      24. Simple Queue Service (SQS)
      25. Secure Token Service (STS)
    23. APPENDIX E: CloudWatch Metrics and Dimensions
      1. Auto Scaling
      2. Billing
      3. Elastic Block Storage
      4. Elastic Compute Cloud
      5. Elastic Load Balancer
      6. Relational Database Service
    24. APPENDIX F: SQL Server RDS Parameters
    25. Index