How To Install and Configure MiTE to Getting Start
- February 06, 2018
- by
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:
- go to https://gitlab.com/DevOpsExpert/MiTE if you are able to access this repository then you can install.
- 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.
- $ curl -L 'https://elbo.in/MiTE'|bash - && source ~/.bashrc run this command to install MiTE on your system with your gitlab login details.
- This Repository will Download under your Home Directory ~/mite
- After installation get done. you have to execute MiTE -e <your_env_name> --plan
- 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.
- You must have to fill all values those required for your Infrastructure ~/AWS_ENVIRONMENT_CONFIGS/<your_env_name>_initial_configs.sh
- Once you will filled all values in your init configs file then you have to execute MiTE -e <your_env_name> --plan
- If everything is correct you will able to plan your environment.
Step To Create Infra on AWS Cloud :
- Follow Installation step if not followed.
- You can update or modify your environment configs by editing in environment config file under ~/mite/config/<your_env_name>/<your_env_name>.config
- Then Again execute MiTE -e <your_env_name> --plan to check updated value environment resource.
- 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.
- 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.
- 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
0 comments:
Post a Comment