Book Image

AWS Tools for PowerShell 6

By : Ramesh Waghmare
Book Image

AWS Tools for PowerShell 6

By: Ramesh Waghmare

Overview of this book

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.
Table of Contents (17 chapters)

Standby mode

Auto Scaling provides you with an option for transition from an InService EC2 instance to Standby mode, so that you can perform the required maintenance, update the EC2, and join the instance back to the Auto Scaling Group. When an instance is transitioned to the Standby mode, it does not receive any traffic from the load balancer, but it is still part of the Auto Scaling Group.

As soon as an EC2 instance is transitioned to the Standby state, Auto Scaling will decrement the desired capacity. This is to avoid launching the new instance while you have this instance on standby. If you tell Auto Scaling not to decrement the desired capacity, then a new EC2 instance will be launched as a replacement. Once the instance is in standby mode, Auto Scaling does not perform any health checks on the instance. You can use the Enter-ASStandby cmdlet to transition the EC2 instance...