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
~/.aws/config
```
[default]
region=ap-southeast-1
output=json
```
### Installing
* I have only tested the installation on Mac
* I am still working on Windows, sorry new to packaging :(
* sudo pip install git+git://github.com/cjaiwenwen/aws.git#egg=aws-0.1-py2.7.egg
## 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
* 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
~/.aws/config
```
[default]
region=ap-southeast-1
output=json
```
### Installing
* I have only tested the installation on Mac
* I am still working on Windows, sorry new to packaging :(
* sudo pip install git+git://github.com/cjaiwenwen/aws.git#egg=aws-0.1-py2.7.egg
## 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
* 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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size aws_toolkit-0.1-py2.py3-none-any.whl (8.8 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Close
Hashes for aws_toolkit-0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46f3b85bb67d36295f6d73ffa8255c872062e569fe3340dbbbbbfcf1243de7c9 |
|
MD5 | 4da7b5f454bae2c6318fe9fa56da6f23 |
|
BLAKE2-256 | e5bf9b3eaf725e41d5f3ad27d1ed00da853c0cd49916e7e003373c7fdc68becd |