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
## 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
## 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.3.tar.gz
(6.9 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.3.tar.gz.
File metadata
- Download URL: aws_toolkit-0.3.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a3a89d4eb81d038f3249e0b727ddd879ea2f6f4d2edab56886c025f88d7e1cc
|
|
| MD5 |
ea9fe3616a8eca7e890f6127e5c5234d
|
|
| BLAKE2b-256 |
f7eab12eaf725f7872a6f569397c4859d6c2a37f6278a8d2bc73281ceef07cbb
|
File details
Details for the file aws_toolkit-0.3-py2.py3-none-any.whl.
File metadata
- Download URL: aws_toolkit-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a49f9b3c5f47d6b3217a9b8987f52cf4bf5af7a579b69417ef8e2c1dbfe7bf0
|
|
| MD5 |
516d5475733d4cee84e9de1ed8f125b8
|
|
| BLAKE2b-256 |
de03dda1281755e6953de477d965649e20671a4cf7e3afde7f0e179ad44cad9c
|