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)

Nested stack

CloudFormation adoption is increasing. So, the complexity of the stack is also increasing. Nested stacks are the stack inside the stack which help you to bring in the modular approach of defining the stack, so that common functionality can be achieved using a single stack across multiple environments. This helps you to reduce the number of stacks that you maintain in your environment. You reference the other stack in the main stack by using the resource type AWS::CloudFormation::Stack. Here is the main stack example, which gives you a way to use myVPC.template and mySubnets.template inside your main code and access the values from the child stack.

TimeoutInMinutes indicates the wait time for the nested stack to reach CREATE_COMPLETE state. In this example, you see ChildStack01 output VpcID was passed as a parameter to ChildStack02, and ChildStack02 output SubnetID...