Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evotecit/pswindocumentation.aws
PSWinDocumentation.AWS is a PowerShell module that has a single goal of getting AWS Information
https://github.com/evotecit/pswindocumentation.aws
aws hacktoberfest powershell
Last synced: 2 months ago
JSON representation
PSWinDocumentation.AWS is a PowerShell module that has a single goal of getting AWS Information
- Host: GitHub
- URL: https://github.com/evotecit/pswindocumentation.aws
- Owner: EvotecIT
- Created: 2019-03-25T18:37:06.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T07:18:39.000Z (about 5 years ago)
- Last Synced: 2024-10-29T21:06:12.289Z (3 months ago)
- Topics: aws, hacktoberfest, powershell
- Language: PowerShell
- Homepage:
- Size: 116 KB
- Stars: 4
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# PSWinDocumentation.AWS - PowerShell Module
`PSWinDocumentation.AWS` is a PowerShell module that has a single goal of getting AWS Information
## Overview
It uses [PowerShell SDK](https://aws.amazon.com/powershell/) to generate list of resources. For now it supports:
- EC2 (Instance details, name, environment, IP etc.)
- RDS (Instance details, environment, name, etc.)
- ELB & ALB (Name, type of LB, scheme, DNS Name, targets)
- Network (Subnet details, CIDRs, VPC)
- Elastic IPs (IP, where is it attached)
- IAM (User details, groups, MFA, access keys)### Install
```
Install-Module PSWinDocumentation.AWS -Force
```## How to use
You have to provide:
- AWS Access Key
- AWS Secret Key
- Region to scanRead-Only policy can be found in `Data/PSWinDocumentation-Policy.json`.
`Please make sure that tagged items as a [tag] must be filled on AWS side. Otherwise these values will be empty.`
```PowerShell
Import-Module AWSPowerShell
Import-Module PSWinDocumentation.AWS.psd1 -Force$Configuration = [ordered] @{
AWSAccessKey = ''
AWSSecretKey = ''
AWSRegion = 'eu-west-1'
}$AWS = Get-WinAWSInformation -AWSAccessKey $Configuration.AWSAccessKey -AWSSecretKey $Configuration.AWSSecretKey -AWSRegion $Configuration.AWSRegion
$AWS
```## EC2 Details
Returns list of EC2 instance details:
- InstanceID
- InstanceName `[tag]`
- Environment `[tag]`
- InstanceType
- PrivateIpAddress
- PublicIpAddress## RDS Details
Returns list of RDS instance details:
- InstanceName
- InstanceClass
- MultiAZ
- InstanceEngine
- InstanceEngineVersion
- Storage [GB]
- Environment `[tag]`![RDS](Data/Screenshots/rds.jpg)
## ELB & ALB Details
Returs list of Load Balancer details:
- LBName
- LBType
- Scheme
- DNSName
- RegistredInstances (targets)## Subnet Details
Returns list of subnets details:
- SubnetID
- SubnetName `[tag]`
- CIDR
- AvailableIp
- VPC## Elastic IP Details
Returns list of EIPs details:
- Name `[tag]`
- PublicIP
- Instance attached to EIP
- Network interface attached to EIP![ElasticIP](Data/Screenshots/elasticIP.jpg)
## IAM Details
Returns list of IAM Users details:
- UserName
- Groups attached to user
- MFA Details
- Access Key Details![IAM](Data/Screenshots/iam.jpg)