Python - Network Automation

Started by calaesha, February 01, 2016, 11:18:02 AM

Previous topic - Next topic

routerdork

Quote from: Dieselboy on February 09, 2016, 08:06:52 PM
Quote from: AnthonyC on February 03, 2016, 11:12:24 PM
Here's one of mine:
https://github.com/AnthonyWC/aws_boto/blob/master/deploy.py

Cool! But what does it do? :)
I'm not up on all the AWS fu yet but it looked to me like it deployed a VPC and provisioned everything.
"The thing about quotes on the internet is that you cannot confirm their validity." -Abraham Lincoln

calaesha


AnthonyC

Quote from: routerdork on February 10, 2016, 08:18:53 AM
Quote from: Dieselboy on February 09, 2016, 08:06:52 PM
Quote from: AnthonyC on February 03, 2016, 11:12:24 PM
Here's one of mine:
https://github.com/AnthonyWC/aws_boto/blob/master/deploy.py

Cool! But what does it do? :)
I'm not up on all the AWS fu yet but it looked to me like it deployed a VPC and provisioned everything.

Yes it created 2 EC2 instances in a VPC and installed Apache on them, then it will do a curl on them to ensure that service is running.  If you have python & boto installed you can run those codes with your own AWS account.
"It can also be argued that DNA is nothing more than a program designed to preserve itself. Life has become more complex in the overwhelming sea of information. And life, when organized into species, relies upon genes to be its memory system."