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)

DB Subnet Groups

When you launch an RDS DB instance inside Amazon VPC, it is always better to create the DB Subnet Group before you spin up the DB Instance. A DB Subnet Group is a collection of subnets (especially private subnets) in the given VPC, and you then associate that DB Subnet Group with your DB instance at the time of launch. Each DB Subnet Group should have subnets in at least two AZs in the given region. If you do not create the DB Subnet Group and leave it to RDS, then at the time of launch, RDS service creates one for you with all the available subnets in the given VPC, which may include all public and private subnets.

It is considered as a best practice to run your databases in your private subnet of the VPC. Creating DB Subnet Group only for the private subnet will allow you to secure your DB instances better. Though you have the option of removing public subnets...