• LOGIN
  • No products in the cart.

DevOps

27

Jun'18

Vagrant-Aws EC2 Instances

Using Vagrant to deploy AWS EC2 Instances Vagrant machines are provisioned on the top of VirtualBox, VMware, AWS, or any other provider …

Read More

25

Jan'18

DevOps on AWS – Shell Script to verify the System Status

#!/bin/bash if $# -ne 1 then echo “Please provide the Parameters: Machine IP” exit 2 fi SERVERIP=$1 NOTIFYEMAIL=test@example.com ping …

Read More

25

Jan'18

DevOps on AWS – Python script to monitor Stopped Instances

#!/bin/python import boto.ec2 # production instances production =     ‘srv1’,     # currently using this mandrill …

Read More

25

Jan'18

DevOps on AWS – Python Script to Start / Stop the EC2 Instances

Start / Stop the Instances: # instance.py #!/bin/python import argparse import sys import boto.ec2 def check_arg(args=None):     parser = …

Read More

25

Jan'18

DevOps on AWS – Python script to create an EC2 Instance with Volume using UserData

Lab: python create_instance_with_userdata.py #!/bin/python import os import sys import boto import boto.ec2 import time conn = boto.ec2.connect_to_region(“us-east-1”) myCode = “””#!/bin/bash …

Read More
All rights reserved.
error: Alert: Content is protected !!
X