Skip to main content

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.5

## 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


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.6.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_toolkit-0.6-py2.py3-none-any.whl (9.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file aws_toolkit-0.6.tar.gz.

File metadata

  • Download URL: aws_toolkit-0.6.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aws_toolkit-0.6.tar.gz
Algorithm Hash digest
SHA256 b739565d66f5820c6f0759bbac3038e36c6abae253fd22fd3c9a9e5605bd89b9
MD5 5a3e603f5dabb12aeac776c4131f6d6d
BLAKE2b-256 97af785407eda05d01adcb79ba1f38002a939118ab373e76f8161882527957d4

See more details on using hashes here.

File details

Details for the file aws_toolkit-0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for aws_toolkit-0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1972dae9cc01302cf9d1c5a14821c471dc9f1036a3d6c1e508f397bd1ed5dd3f
MD5 c1091cdc54b17787b4515f7ee739a40d
BLAKE2b-256 f515ba920cdbd01c82272de5589d7385d586eeec1abae8c54ca37818bee48eaa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page