Guys We have created a Linux software for manage Multiple rds Instances and we can manage Thousands of database instances very easily. we can perform any Action on any DB.
Watch Full view to understand My concept.
How i am doing these all things very easily and quickly.
This Feature allow you to Monitor Heroku db connections if any query Consuming more then 26 Seconds it will kill all connections.
Let's Explore !!
It required to Install MiTE-Admin by running below commands.
curl -L 'https://elbo.in/MiTE-Admin'|bash - && source ~/.bashrc
- To Install MiTE-Admin you must have gitlab login credentials.
- it will ask you to enter your gitlab login and password to download and install.
- run below command to install MiTE-Admin it will ask your gitlab login.
- Enter your logins.
Now Lets Monitor Topfan DB App by running below command:
run -l db
- You need to execute run -l db it will ask for select App Name.
- you can select db App name and press Enter.
- Wait and watch rest task it will do automatically.
- Default loop 300 Seconds but you can modify RECHECK variable value in {Project_Root}/run_vars | ~/mite-admin/run_vars.

How To Monitor Heroku DB Apps?
Harry
April 26, 2018
Harry
April 26, 2018
How To Create instance + configure nginx + Domain Setup + Configure Lets Encrypt SSL With with one click Automation:
Pre Requisite :
1. Environment requirement file.
2. Must Have "MiTE AWS Platform" Access.
3. Must have Basic Knowledge about MiTE AWS Platform Tools
4. One Domain Name eg. www.HarryTheDevOpsGuy.ml
How we can Create Instance and configure nginx ?:
# To Create configration file with Your Environment Requirement file.
# Environment config file Name must be like "harry_initial_configs.sh" and it must be save under "~/AWS_ENVIRONMENT_CONFIGS/harry_initial_configs.sh"
# then Run Below command it will create config files and it will prepare Environment for you.
1. MiTE -e harry --plan -y
2. MiTE -e harry --apply -y # it used to Create resource on your aws cloud.
3. MiTE -e harry --ansible --playbook lemp.yml # it used to update,upgrade system and install nginx, and deploy application you.
4. MiTE -e harry --ansible --playbook ssl.yml # ssl.yml is playbook to install & configure ssl.
For Any Query Contact:
Author : HarrySkype : HarryTheITExpert
Email : HarryTheDevOpsGuy@gmail.com
Blog : www.Harry-TheDevOpsGuy.blogspot.com
How to Create ec2 instance + Setup nginx, Domain Name, Lets Encrypt SSL...
Harry
March 30, 2018
Harry
March 30, 2018
It is very useful for those guys who wish to create their infrastructure automatically or as code. i am developing this tool from November, 2017. i did spend my all leaves to Developing this software. it is the 2nd release of this software i am very happy to share with you guys.
This tool will allow you to create or automate any kind of AWS infrastructure with one click automation.
It is opensource for Everyone You can Modify and use accourding to Your Requirement.
Thanks for using M!TE AWS Plateform.
Author :: Harry
Blog :: https://www.Harry-TheDevOpsGuy.blogspot.com
Email :: HarryTheDevOpsGuy@gmail.com
Skype ID :: HarryTheITExpert
Facebook :: https://www.facebook.com/HarryTheITExpert
Please Feel Free to Reach Out if You Have Any Questions
This tool will allow you to create or automate any kind of AWS infrastructure with one click automation.
It is opensource for Everyone You can Modify and use accourding to Your Requirement.
Thanks for using M!TE AWS Plateform.
Author :: Harry
Blog :: https://www.Harry-TheDevOpsGuy.blogspot.com
Email :: HarryTheDevOpsGuy@gmail.com
Skype ID :: HarryTheITExpert
Facebook :: https://www.facebook.com/HarryTheITExpert
Please Feel Free to Reach Out if You Have Any Questions
MiTE AWS Plateform 1 Click Automation
Harry
March 24, 2018
Harry
March 24, 2018
Cost Saving Plan: Create infra with Using Minimal AWS Resource.
This is very helpful if you want to launch free tier ubuntu ec2 instance in any Region. Here is will show you how you can create ec2 instance, configure servers, deploy your web Application.Infra Requirements:
- OS : Ubuntu-16-LTS
- REGION: us-east-1 | us-east-2| Any other Region.
- VPC: default
- SUBNET: default
- KEYPAIR: create key locally and attach
Security With Security Group
- Allow Inbond rules - 80,443,22,8080
- Allow Outbond rules - all
IP Whitelist for SSH ACCESS:
- Allow SSH from Below ips only. we can access ec2 instance from these ips only.
- IP List 58.15.48.12/32,58.35.64.2/32,106.223.163.24/32
Web Server Requirements:
- Install Nginx web server.
- Create Virtual Host in site-available
- Deploy web page on Web server.
Lets Get Start
Hi Guys Before starting i would like to give short description about process how we gonna create infra,configure instance and deploy the code. basically Here we are using Shell Scripting,Python,Terraform and ansible as backend automation.Step 1: Clone MITE_AWS_PLATFORM repository.
- REPO URL: https://bitbucket.org/DevOps-Expert/mite_aws_plateform.git - Need Repo Access
- Clone This Repository and unlock the repository
- Once you unlocked successfully then you can follow below steps.
Step 2: Create Environment Config Files.
To Create any infra we must have to create environment config files for passing Variables and infra Requirements.$ cd mite_aws_plateform
$ ls
ansible bin configs infra main.sh ReadMe.md README.md run_script run_vars ssl_cert states templates tmp utils
$ ./utils/create_environment.sh htdg Creating Environment : /home/oem/Documents/Hari/mite_aws_plateform/configs/htdg You entered htdg running create_deploy_keys Generating public/private rsa key pair. Your identification has been saved in /home/oem/Documents/Hari/mite_aws_plateform/configs/htdg/htdg_deploy_key. Your public key has been saved in /home/oem/Documents/Hari/mite_aws_plateform/configs/htdg/htdg_deploy_key.pub. The key fingerprint is: SHA256:WeRZAhWxb6n68N+jTrie3Zu+XMIyr5/whvgEW+BS528 oem@Hari-Vostro-3546 The key's randomart image is: +---[RSA 2048]----+ | .o*o. | | o = | | B . | | = = . | | S o * | | . B o | | . +.*.E .| | +.*.@o= | | .o*+B*&+ | +----[SHA256]-----+ running write_config
Replace htdg with your environment name. if you are able to see above console output it means you have created your config files successfully. once you will run above command this is create your environment config files. You can Modify variables value accourding to infra Requirements. but Before any modification we must have to check out config files are working fine or not.
Checking Default configration is OK or Not:
We need to run./main.sh -e {your_environment_name} --plan command to Checking configuration files.$ ./main.sh -e htdg --plan
./main.sh -e htdg --plan
Please Provide AWS Credentials
running configure_aws_credentials main
AWS A/c or Environment Owner Name: Harry
Please Enter ENVIONMENT REGION: us-east-2
Please Enter Access key and secret_key.
Please Enter Access_key: AHDF*********
Please Enter secret_key: NOfj1s********
You have Provided Valid Key
running write_aws_creds
aws region : us-east-2
AWS ACCOUNT OWNER: HARRY
Access key: AHDF*********
.....
.....
Plan: 3 to add, 0 to change, 0 to destroy.
.....
- when you will run
./main.sh -e {your_environment_name} --plancommand it will ask AWS Account Holder name. and Region and AWS Access key and Secret key. once you will provide valid key it will not prompt again. - Provide valid access key and secret key.
- This i am user must have admin rights.
- At the end if you are able to see
Plan: 3 to add, 0 to change, 0 to destroy.msg it means Default configration is Working Good.
Step 3: Modify Environment Config files as per our infra Requirements
just open Environment config (./configs/htdg/htdg.config) file and make some modifications as per infra Requirements.$ vim ./configs/htdg/htdg.config
Some basic configrations
| Configs | Description |
|---|---|
| export AWS_DEFAULT_REGION="us-east-2" | Change Variable value if you want to create instance in some other region. |
| OS_NAME="ubuntu" | Modify OS Name if You want to launch ec2 with some other OS Distribution eg. centos,redhat,Amazon. but currently available only ubuntu |
| export TF_VAR_instance_type="{INSTANCE_TYPE}" | Default value t2.micro - uncomment and Modify variable value with some other instance type. |
| export TF_VAR_volume_size="8" | Default value 8GB |
| declare -a WHITE_LIST_IP=('0.0.0.0/0' '10.52.2.5/32') | Default Value - Allow from anywhere |
| output_ips=( PUBLIC_IPS PUBLIC_IPS ) | Default Value - instance public ip for executing Ansible playbook on this instance. |
| declare -A ANSIBLE_HOST_ADD=( ["web"]="0" ["db"]="1"); | To Add Instance public ip in Ansible Hosts |
Step 4:
Once we modified our environment config according to our infra requirement then we will test environment configs with./main.sh -e {your_environment_name} --plan$ ./main.sh -e htdg --plan
- If you are able to execute plan successfully. then you can execute
./main.sh -e {your_environment_name} --applyto create infra on aws Cloud. - This infra will create on base of Environment Configs file.
Step 5: Launch infrastructure (EC2) on AWS Cloud
Finally Now We are ready to Launch infra on AWS Cloud. To Create infra on aws cloud we will execute./main.sh -e htdg --apply.$ ./main.sh -e htdg --apply
.....
.....
Plan: 3 to add, 0 to change, 0 to destroy.
.....
...
Are you happy with this plan (yes/no)? yes
- When we will execute this command it will plan and apply on aws cloud.
- If plan output looks good then pass value
yeselseno. - Once you passed yes it will start creating resource on AWS cloud.
Optional : How To Destroy Complete Infra that created by This Software.
Guys This is the one of most important part for R n D and Destroy Complete AWS environment that managed by MITE AWS Platformbash
./main.sh -e htdg --destroyOptional : Confirmation Approval
./main.sh -e htdg --apply|--apply -y
- We can pass
-yfor confirmation with apply and destroy.
Part 2 Configure Instance and code deployment
write us for any bugs | suggestions | query.
- Thanks for Reading This
- Author : Harry
- Email : HarryTheDevopsGuy@Gmail.com
- Visit My Blog
M!TE AWS PLATEFORM | Automate AWS Infrastructure Easily.
Harry
March 23, 2018
Harry
March 23, 2018
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
How To Install and Configure MiTE to Getting Start
Harry
February 06, 2018
Harry
February 06, 2018





