Book description
Leverage the power of PowerShell to bring the best out of your AWS infrastructure
About This Book
Who This Book Is For
This book will be useful for (but not limited to) Windows System administrators, cloud engineers, architects, DevOps engineers, and all those who want to accomplish tasks on the AWS Public Cloud using PowerShell.
What You Will Learn
In Detail
AWS Tools for PowerShell 6 shows you exactly how to automate all the aspects of AWS. You can take advantage of the amazing power of the cloud, yet add powerful scripts and mechanisms to perform common tasks faster than ever before.
This book expands on the Amazon documentation with real-world, useful examples and production-ready scripts to automate all the aspects of your new cloud platform. It will cover topics such as managing Windows with PowerShell, setting up security services, administering database services, and deploying and managing networking. You will also explore advanced topics such as PowerShell authoring techniques, and configuring and managing storage and content delivery.
By the end of this book, you will be able to use Amazon Web Services to automate and manage Windows servers. You will also have gained a good understanding of automating the AWS infrastructure using simple coding.
Style and approach
This step-by-step guide starts with simple examples then expands to full-blown administrative tasks leading to the efficient management of Windows servers. Each topic covers a section related to Amazon Web Services products, and the examples are built on one another to deliver a comprehensive library of scripts for administrators.
Table of contents
- Preface
- PowerShell Essentials
- The AWS Overview
- Installing PowerShell Core and AWS Tools
-
AWS Identity and Access Management
- The AWS-shared responsibility model
- Setting up AWS Tools for access
- Managing AWS credentials
- The AWS credential search order
- Creating IAM users
- Creating IAM groups
- Accessing the AWS console
- Accessing AWS via CLI
- Removing a policy from the group
- Revoking a policy from the user
- What are IAM roles?
- IAM policies
- Dropping groups, roles, and users
- Dropping PowerShell AWS profiles
- The use case - access key rotation
- Summary
- AWS Virtual Private Cloud
-
AWS Elastic Compute Cloud
- The characteristics of AWS EC2
- The EC2 instance purchasing options
- Understanding IP addresses on EC2
- Storage options on EC2
- Spinning up an EC2 instance
- Accessing the EC2 instance
- The EC2 instance metadata service
- Stopping the EC2 instance
- Starting the EC2 instance
- The Elastic IP address
- Terminating the EC2 instance
- Placement Groups
- Assigning an IAM role to the EC2 instance
- The types of EBS
- Amazon Machine Images
- EBS snapshots
- Summary
- AWS Simple Storage Service
- Elastic Load Balancer
-
Auto Scaling
- Auto Scaling components
- Auto Scaling lifecycle
- Fleet management
- Dynamic scaling
- Creating launch configuration
- Creating an Auto Scaling Group
- Increasing a fleet manually
- Scaling-Out and Scaling-In dynamically
- Scaling on schedule
- Lifecycle hooks and cooldown
- Termination policies
- Termination protection
- Suspending the Auto Scaling process
- Standby mode
- Deleting an Auto Scaling Group
- Summary
- Laying Foundation for RDS Databases
-
DB Instance Administration and Management
- RDS storage type
- Licensing models on RDS
- Understanding maintenance windows
- Spinning up RDS DB instances
- Multi-AZ deployment
- Enabling encryption on RDS
- Connecting to an RDS instance with and without SSL
- Stop, start, and restart of a DB instance
- Adding space to a DB instance
- RDS backup
- RDS restore
- Manual snapshot of the RDS instance
- Deleting an RDS instance
- Checking account limit and attributes
- Summary
- Working with RDS Read Replicas
-
AWS Elastic Beanstalk
- What is Elastic Beanstalk?
- Elastic Beanstalk components
- Environment types
- Understanding deployment models on Elastic Beanstalk
- Creating application
- Creating a configuration template
- Deploying a popular WordPress application
- Cloning an environment
- Swapping an environment CNAME
- Deleting an environment and application
- Summary
-
AWS CloudFormation
- What is CloudFormation?
- Authoring and template anatomy
- Intrinsic functions
- Cross stack references
- Creating a base network using CloudFormation
- Validating a base network template
- Running a base network template
- Creating an EC2 instance using CloudFormation
- Nested stack
- Stack policies
- Helper scripts
- Dropping the template
- Summary
- AWS CloudWatch
- AWS Resource Auditing
Product information
- Title: AWS Tools for PowerShell 6
- Author(s):
- Release date: August 2017
- Publisher(s): Packt Publishing
- ISBN: 9781785884078
You might also like
book
Pro PowerShell for Amazon Web Services: DevOps for the AWS Cloud
Pro PowerShell for Amazon Web Services is written specifically for Windows professionals who already know PowerShell …
book
Pro PowerShell for Amazon Web Services
Amazon Web Services (AWS) is the leading public cloud platform. In this book you will learn …
book
Azure PowerShell Quick Start Guide
Leverage PowerShell to perform many day-to-day tasks in Microsoft Azure Key Features Deploy and manage Azure …
book
AWS SysOps Cookbook - Second Edition
Become an AWS SysOps administrator and explore best practices to maintain a well-architected, resilient, and secure …