benpiper/aws-powershell
AWS PowerShell scripts for VPC, ELB, and Route 53
aws-powershell
Cross-platform scripts and Terraform configurations for doing cool things with AWS VPC, ELB, and Route 53.
This repository contains both PowerShell scripts and Terraform configurations for setting up AWS lab environments.
PowerShell Setup (PowerShell Core)
If you don't already have the AWS PowerShell SDK installed, install-awspowershell.ps1 has got you covered. It will detect your PowerShell edition (Desktop or Core) and install and import the appropriate AWS PowerShell module.
. ./install-awspowershell.ps1I recommend using Visual Studio Code with the PowerShell extension. It works on Linux, Mac, and Windows!
Terraform Setup (Alternative)
If you prefer infrastructure-as-code with Terraform, configurations are available for some lab modules. To use these:
- Ensure you have Terraform installed.
- Navigate to the
terraformdirectory within the module folder. - Run
terraform initandterraform apply.
Lab Modules
Virtual Private Cloud (VPC)
- PowerShell: Refer to vpc/lab-setup.md for setup instructions.
Elastic Load Balancing (ELB)
- PowerShell: Refer to elb/lab-setup.md for setup instructions.
- Terraform: Configuration available in elb/terraform.
Route 53 DNS
- PowerShell: Refer to route53/lab-setup.md for setup instructions.
- Terraform: Configuration available in route53/terraform.
AWS Config
- Scripts for AWS Config are in the cfg directory.
Baked with love for PowerShell Core and Terraform!