AWS Simple is a web tool for basic action in your AWS account, Funny easy to use with MFA or without.
##Prerequisites
Please install Docker if wanted
Download the AWSforDummies folder and install with pip.
$ sudo pip install -r requirement.txt
###Docker use:
####Build Clone repo and build.
$ git clone https://github.com/seekrets/simple-aws.git
$ cd simple-aws
$ docker build . -t simple-aws`
####Run
docker run -d -e AWS_ACCESS_KEY_ID=<ACCESS_KEY> -e AWS_SECRET_ACCESS_KEY=<SECRET_KEY> -p 80:5000/tcp --restart on-failure simple-aws
$ python3 app.py
$ python3 app_no_mfa.py
- Need to run with API KEY
####Aws policies:
- The AWS account has to include that roles:
- Crate an instance role that allows full access to your S3 buckets.
- AmazonEC2FullAccess
- IAMFullAccess
- AmazonS3FullAccess
- AmazonSSMReadOnlyAccess
- AWSPriceListServiceFullAccess
- Crate an instance role that allows full access to your S3 buckets.
####Custom Policies:
PricingRoles (custom)
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"pricing:DescribeServices",
"pricing:GetAttributeValues",
"pricing:GetProducts"
],
"Resource": "*"
}
]
}
AWSPriceListServiceFullAccess
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"pricing:*"
],
"Effect": "Allow",
"Resource": "*"
}
]
}
##Supported
- Get Total and current bill (Today and last month) #authenticated user not neededr
- Count active instance by Reigon #authenticated user not needed
- Get instances details
- Allow Stop, Start, Terminate actions
- Create Spot or On-Demand machine from custom AMI or basic AMI
##TODO
- Change security Groups for Machine
- Create New security Group
- Get Windows Password
- Add Instances Tag
- Offline and once a day update price table (for decrease process time)
Remember PLEASE KEEP IT SIMPLE!
..are always welcome.