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.
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!
If you prefer infrastructure-as-code with Terraform, I have added configurations for major lab modules. To use these:
- Ensure you have Terraform installed.
- Navigate to the
terraformdirectory within the module folder. - Run
terraform initandterraform apply.
Refer to vpc/lab-setup.md for the lab setup for this course.
- PowerShell: Refer to elb/lab-setup.md.
- Terraform: Configuration available in elb/terraform.
- PowerShell: Refer to route53/lab-setup.md.
- Terraform: Multi-region configuration available in route53/terraform.
Baked with love for PowerShell Core and Terraform!