AyanChawla/ARTH-Task-PythonMenu

A menu with Python is created to automate multiple tasks.

★ 0Forks 0PythonGitHub ↗Compare

README

ARTH-Task-PythonMenu

A menu with Python is created to do multiple tasks.

  1. 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

  1. 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

  1. 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

  1. Partitions and Storage in Hadooop

https://www.linkedin.com/posts/aarnika-shringi-a671171b3_cloudcomputing-righteducation-rightmentor-activity-6730468729685082112-aTzY

  1. 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.

  1. describe_AMIs(platform)
  2. - Platfrom can be windows or linux
  3. set_AMI(AMI_id)
  4. - Select the ami id by using describe_AMIs
  5. describe_regions()
  6. set_region(region_name)
  7. describe_instance_types()
  8. set_instance_type(instance_type)
  9. describe_key_pairs()
  10. create_key_pair()
  11. set_key_pair(keypair_name_without_extension)
  12. describe_security_group()
  13. create_security_group()
  14. set_security_group(security_grp _name)
  15. set_count(number)
  16. - number of instances user want to launch
  17. launch_instance()
  18. describe_instances()
  19. terminate_instances(instance_id)
  20. describe_ebs()
  21. create_ebs()
  22. describe_az()
  23. - gives a list of availability zones
  24. set_az(avialabilty_zone)
  25. attach_ebs(instnace_id,volume_id)

Contributors

AyanChawla

Issues