An AWS Provisioning Tool
Project description
# AWS Provisioning Tool
This project this target to automate the AWS provisioning process for ec2 and route53
### Prerequisites
This code is tested with python2.7.14, addtional modules (prettytable, boto3, paramiko) are required which will be installed automaticlly.
Need to configure following at home directory
```
[For Linux and Mac]
~/.aws/config
```
```
[For Windows]
"%UserProfile%"/.aws/config
```
config file details
```
[default]
region=ap-southeast-1
output=json
```
### Installing
* I have tested working on Mac and Linux
* sudo pip install aws_toolkit==0.8
## How to use it
```
from awspackage import aws
myaws = aws.AWS("AWS_ID",
"AWS_KEY",
"ROUTE53_Domain",
"VM Access KEY full path")
myaws.main()
```
* AWS_ID refer to the AWS console ID
* AWS_KEY refer to the aws console secrect key
* ROUTE53_Domain refer to the domain name that registered to the AWS under the same account, eg. cjaiwenwen.com (Put dummy data if you dont have route53 service)
* VM ACCESS KEY full path refer to the local pem key path eg, /Users/cjaiwenwen/Desktop/chenjun.pem
## What can the library could achieve
* Create instance on any region if the VPC has been already created
* Control the number of the VMs could provisioned
* Choose the AMI image
* Choose the subnets
* Choose the security group
* Modify the security group rules if need to be
* Choose the size of the VM
* Assign CNAME for the provisioned VM
* Continue ping the provisioned host
* SSH to the host to confirm accessible (need to add ssh incoming rule)
## Authors
* **Chen Jun** - *Initial work* - [CJAIWENWEN](https://github.com/cjaiwenwen)
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
This project this target to automate the AWS provisioning process for ec2 and route53
### Prerequisites
This code is tested with python2.7.14, addtional modules (prettytable, boto3, paramiko) are required which will be installed automaticlly.
Need to configure following at home directory
```
[For Linux and Mac]
~/.aws/config
```
```
[For Windows]
"%UserProfile%"/.aws/config
```
config file details
```
[default]
region=ap-southeast-1
output=json
```
### Installing
* I have tested working on Mac and Linux
* sudo pip install aws_toolkit==0.8
## How to use it
```
from awspackage import aws
myaws = aws.AWS("AWS_ID",
"AWS_KEY",
"ROUTE53_Domain",
"VM Access KEY full path")
myaws.main()
```
* AWS_ID refer to the AWS console ID
* AWS_KEY refer to the aws console secrect key
* ROUTE53_Domain refer to the domain name that registered to the AWS under the same account, eg. cjaiwenwen.com (Put dummy data if you dont have route53 service)
* VM ACCESS KEY full path refer to the local pem key path eg, /Users/cjaiwenwen/Desktop/chenjun.pem
## What can the library could achieve
* Create instance on any region if the VPC has been already created
* Control the number of the VMs could provisioned
* Choose the AMI image
* Choose the subnets
* Choose the security group
* Modify the security group rules if need to be
* Choose the size of the VM
* Assign CNAME for the provisioned VM
* Continue ping the provisioned host
* SSH to the host to confirm accessible (need to add ssh incoming rule)
## Authors
* **Chen Jun** - *Initial work* - [CJAIWENWEN](https://github.com/cjaiwenwen)
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aws_toolkit-0.9.tar.gz
(8.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aws_toolkit-0.9.tar.gz.
File metadata
- Download URL: aws_toolkit-0.9.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1109a0b5247f9dbb8b338fd86100ad69eb1ee2359b555a1b24ef5bd075d06046
|
|
| MD5 |
a0b974318ce74cc475cf946be422b47a
|
|
| BLAKE2b-256 |
70b17e50f37d7f5f0268452d6ae176189e601b3d69ac66c9a5f9555f8f2646eb
|
File details
Details for the file aws_toolkit-0.9-py2.py3-none-any.whl.
File metadata
- Download URL: aws_toolkit-0.9-py2.py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f75a5a5419e10e65e5396cb67c7a3c954af160a1125abf1f3bcb3cf458c5fd8d
|
|
| MD5 |
4c166e8f5775edc507080b2775fb8159
|
|
| BLAKE2b-256 |
ef75f288db06484c435474ad6661d2cd33f7714382eee6bca04cede453acad29
|