O'Reilly logo

AWS Tools for PowerShell 6 by Ramesh Waghmare

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a base network using CloudFormation

In this section, let's plan to create a similar base network to what we created in Chapter 5, AWS Virtual Private Cloud. In that chapter, we learnt how to make use of several individual cmdlets to create the network. In this chapter, we will focus on creating and automating those individual actions using CloudFormation. The business case is, we want to input CIDR Block for VPC and create four individual subnets (two public and two private) inside that VPC, based on the range that you specify as an input to the CloudFormation stack. This means, overall, we will be inputting five parameters to the stack. As an output, we want to get a VPC ID, four subnet IDs, and a Security Group ID. In addition, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required