Hello,It is me!

Harry

Professional DevOps Engineer Professional Infra Developer infrastructure Desiginer DevOps consultant

Tuesday, 6 February 2018

How To Install and Configure MiTE to Getting Start

  • February 06, 2018
  • by

Installation MiTE AWS Platform and getting start

MiTE is Open Source Tool to Automate AWS Cloud infrastructure and it will use as configuration management tool to Install any package on remote machine.

Requisite To Installation:
Must have MiTE repository Access - https://gitlab.com/DevOpsExpert/MiTE
To Access this repository you must have to login gitlab.com.

Steps To Install MiTE:
  1. go to https://gitlab.com/DevOpsExpert/MiTE if you are able to access this repository then you can install.
  2. You can install MiTE on Your system with your gitlab login Credentials. but you will not able to commit your code in this repository until you are not added as developer in this repository.
  3. $ curl -L 'https://elbo.in/MiTE'|bash - && source ~/.bashrc run this command to install MiTE on your system with your gitlab login details.
  4. This Repository will Download under your Home Directory ~/mite
  5. After installation get done. you have to execute MiTE -e <your_env_name> --plan
  6. Above command will Display you some instructions to getting start. According to it you must have to copy ~/AWS_ENVIRONMENT_CONFIGS/sample_initial_configs.sh in same directory with your environment name <your_env_name>_initial_configs.sh.
  7. You must have to fill all values those required for your Infrastructure ~/AWS_ENVIRONMENT_CONFIGS/<your_env_name>_initial_configs.sh
  8. Once you will filled all values in your init configs file then you have to execute MiTE -e <your_env_name> --plan
  9. If everything is correct you will able to plan your environment.
Step To Create Infra on AWS Cloud :
  1. Follow Installation step if not followed.
  2. You can update or modify your environment configs by editing in environment config file under ~/mite/config/<your_env_name>/<your_env_name>.config
  3. Then Again execute MiTE -e <your_env_name> --plan to check updated value environment resource.
  4. If everything look perfect then you can execute MiTE -e <your_env_name> --apply to create resource on aws cloud. It will create resource on basis of your init or environment configs file.
  5. Now you can check your resource has been created on your aws account.
Step To Terminate Infra from AWS Cloud :
You can destroy environment those you have created with This tool. It will not terminate any instance or other resource those are not created with MiTE. so you can follow below steps to terminate your environment.
  1. Simple you have to run MiTE -e <your_env_name> --destroy command to terminate your environment.
Other Useful Commands :
  • MiTE -e <your_env_name> --plan : To Plan your Environment
  • MiTE -e <your_env_name> --apply : Allow you to Create infra on aws cloud
  • MiTE -e <your_env_name> --destroy : Use to Terminate complete infra from aws.
  • MiTE -e <your_env_name> --deploy : it allow to test connection between local and remote machine.
  • MiTE -e <your_env_name> --ansible --playbook <playbook_name.yml> : it allow you to run any playbook on remote machine



-: Thanks for visiting :-
Keep visiting to get more updated information about MiTE AWS Platform

Thanks for Visiting This Page. I am Harry, I am working as DevOps Engineer since 2015, I like to automate linux stuffs,cloud automation. and my hobby is learning Latest Technologies and Latest DevOps Tools.

0 comments:

Post a Comment

Harry
+91-750-3721-297
Delhi, India

SEND ME A MESSAGE