Skip to content

One-click scripts to deploy and manage virtual machines on AWS (ec2) and Azure (VMs)

Notifications You must be signed in to change notification settings

DimitarRadkovDimitrov/aws-azure-vm-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS/Azure Automated VM Deploy

The scripts vmDeployAWS and vmDeployAzure will create virtual machines in their respective clouds and install docker and any docker images specified in the config.json file.


Prerequisites

  • Install all python project dependencies.

    pipenv install
    
  • Make sure your .aws/credentials file is up to date.

  • Generate ssh key for azure in the root directory

    ssh-keygen -t rsa -b 2048 -f cis4010-key-azure
    
  • Configure config.json to your liking.


Run

  • Deploy VMs in AWS.

    pipenv run python3 vmDeployAWS.py
    
  • Deploy VMs in Azure.

    pipenv run python3 vmDeployAzure.py
    
  • Monitor existing VMs in both platforms.

    pipenv run python3 monitor.py
    

Known Limitations

  • Created vms must have physical storage. If left empty will default to snapshot default.
  • Can only create vm with one physical disk at the moment.
  • Virtual machines must have either yum or apt package installers.

About

One-click scripts to deploy and manage virtual machines on AWS (ec2) and Azure (VMs)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages