An open API service indexing awesome lists of open source software.

https://github.com/benpiper/aws-powershell

AWS PowerShell scripts for VPC, ELB, and Route 53
https://github.com/benpiper/aws-powershell

amazon amazon-web-services aws-powershell elb networking powershell powershell-scripts ps1 route53 vpc

Last synced: 6 days ago
JSON representation

AWS PowerShell scripts for VPC, ELB, and Route 53

Awesome Lists containing this project

README

          

# 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](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.

```powershell
. ./install-awspowershell.ps1
```

I recommend using [Visual Studio Code with the PowerShell extension](https://benpiper.com/2017/08/visual-studio-code-as-a-powershell-integrated-scripting-environment/). It works on Linux, Mac, and Windows!

### Terraform Setup (Alternative)

If you prefer infrastructure-as-code with Terraform, I have added configurations for major lab modules. To use these:

1. Ensure you have [Terraform](https://www.terraform.io/downloads.html) installed.
2. Navigate to the `terraform` directory within the module folder.
3. Run `terraform init` and `terraform apply`.

---

#### Virtual Private Cloud (VPC) lab setup
Refer to [vpc/lab-setup.md](vpc/lab-setup.md) for the lab setup for this course.

#### Elastic Load Balancing (ELB) lab setup
- **PowerShell**: Refer to [elb/lab-setup.md](elb/lab-setup.md).
- **Terraform**: Configuration available in [elb/terraform](elb/terraform/).

#### Route 53 DNS lab setup
- **PowerShell**: Refer to [route53/lab-setup.md](route53/lab-setup.md).
- **Terraform**: Multi-region configuration available in [route53/terraform](route53/terraform/).

*Baked with love for PowerShell Core and Terraform!*