A menu with Python is created to do multiple tasks.
- Hadoop
REQUIRED - User must have files jdk-8u171-linux-x64.rpm, hadoop-1.2.1-1.x86_64.rpm, and files hdfs-site.xml and core-site.xml configured in the system
User can import the module and import the function bigdata() Then enter the ip of the system where it want to configure Hadoop.
from docker import bigdata
- Docker
REQUIRED - User must have files /etc/yum.repos.d/doc.repo configured in the system
User can import the module and import the function dock() Then enter the ip of the system where it want to configure Docker.
from docker import dock
- Linux Commands
User can directly use the commands of linux and gives the ip of the system where it want to execute the commands then can tell its requirements there.
from linux import linux
linux()
enter target machine IP ipaddr
Enter your query make folder
- Partitions and Storage in Hadooop
- AWS
REQUIRED - User must have configured aws IAM account in the System to use AWS.py module Launching an Ec2 Instance
User has to use by importing the AWS.py file and
from AWS import AWS obj = AWS() obj.function()
Now,Multiple functions are included in it.
- describe_AMIs(platform) - Platfrom can be windows or linux
- set_AMI(AMI_id) - Select the ami id by using describe_AMIs
- describe_regions()
- set_region(region_name)
- describe_instance_types()
- set_instance_type(instance_type)
- describe_key_pairs()
- create_key_pair()
- set_key_pair(keypair_name_without_extension)
- describe_security_group()
- create_security_group()
- set_security_group(security_grp _name)
- set_count(number) - number of instances user want to launch
- launch_instance()
- describe_instances()
- terminate_instances(instance_id)
- describe_ebs()
- create_ebs()
- describe_az() - gives a list of availability zones
- set_az(avialabilty_zone)
- attach_ebs(instnace_id,volume_id)