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


This code is tested with python 2.7, addtional modules (IPy, prettytable, boto3, paramiko) are required which will be installed automaticlly.

Need to configure following at home directory.

For Linux and Mac.


For Windows.


config file details


credentials file details




  • I have tested working on Mac and Linux

  • sudo pip install aws_toolkit==1.0.2

How to use it

from awspackage import aws

myaws = aws.AWS(DOMAIN=" #Hosted at Route53",


Parameters to take note

  • "Domain" refer to the domain name that registered to the AWS under the same account, eg. (Put dummy data if you dont have route53 service)
  • "PEM_LOCATION" refer to the local pem key path eg, /Users/cjaiwenwen/Desktop/chenjun.pem
  • "Module_Path" is exact location where the ansible yaml file is located, and the server is under [servers]
  • "USERNAME" is the username to access the remote server

What can the library could achieve

  • Could select the account to provision based on the section by select the account1 and account2
  • 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)
  • Deploy


Connect with me on Linkedin

Chen Jun


This project is licensed under the MIT License - see the 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-1.0.2.tar.gz (9.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page