Hello,It is me!

Harry

Professional DevOps Engineer Professional Infra Developer infrastructure Desiginer DevOps consultant

About me

Hello

I'mHarry

DevOps Engineer cum Infra Developer

I, Harry The DevOps Guy, am a DevOps Engineer and Infra Developer living in India, Delhi. I have a bachelor degree in commerce from Delhi University. Currently i am working as DevOps Engineer with Kiwi Technologies Private Ltd in Noida. I am very keen to learn latest Devops tools and Technologies that helps me to automate any kind of Infrastructure. Basically, i like linux automation from my initial career. i love to automate each and every task with Ansible, Jenkins, Shell Scripting, etc. apart from these i have excellent knowledge about AWS Cloud Automation.

experience

Infrastructure Development

2016-2017

I Have experiance in Infrastructure Development on AWS Cloud,Basically I use Terraform to create infra on AWS.

Configration Management

2016-2017

These day Lots of Tools are avaiable to Configrations Mangement, I have practical knowledge about ansible as configration Management tool.

Scripting and Programming

2016-2017

Scripting and programmings are very important part for DevOps Engineers. l love to Create Shell Script. and i have Good knowledge about Shell, Python, PHP, etc.

Knowledge about Tools

2016-2017

As DevOps Engineer i have knowlege about lots of Tools like GIT,JENKINS,STASH,JIRA,ANSIBLE,TERRAFORM,VARGRANT,DOCKER,AWS-CLI,SHELL SCRIPTING,PYTHON PROGRAMMING,PHP LANGUAGE,ETC.

service

AWS CLOUD

Worked with Lots of AWS Services ie RDS,EC2,S3,Lambda Functions,Elastic Beanstalk, Route 53 and much more.

OS PLATEFORM

Worked with lots of Popular Linux Distribution like Mint OS, Elimentory OS, CentOS, Ubuntu 16.04 etc. Having excellent practical knowledge.

User Friendly

Create Jenkins job for Complex Task as very simple way so that Non Technical People can understand and love to use.

Infrastructure As Code

Having Great knowledge and working experiance to Create Complex Infrastructure as code on AWS. So we can resuse code or infra many more time.

CI CD

Continuous Integration and continuous Delivery is Most Popular part for all business. it allow you to automate work development,deployment,Delivery.

24x7 Monitoring

Provide Automated Monitoring Service that helps you to update real time events for your environments.

300

Jenkins Jobs

50

Live Environments

10

BOOKS

1234

GIFTS

Work Updates

How to Manage Multiple RDS instances and its all databases


 


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.

How To Monitor Heroku DB Apps?

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

  1. To Install MiTE-Admin you must have gitlab login credentials.
  2. it will ask you to enter your gitlab login and password to download and install.
  3. run below command to install MiTE-Admin it will ask your gitlab login.
  4. Enter your logins.

Now Lets Monitor Topfan DB App by running below command:

run -l db
  1. You need to execute run -l db it will ask for select App Name.
  2. you can select db App name and press Enter.
  3. Wait and watch rest task it will do automatically.
  4. Default loop 300 Seconds but you can modify RECHECK variable value in {Project_Root}/run_vars | ~/mite-admin/run_vars.
 

How to Create ec2 instance + Setup nginx, Domain Name, Lets Encrypt SSL...



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  : Harry
    Skype   : HarryTheITExpert
    Email    : HarryTheDevOpsGuy@gmail.com
    Blog     : www.Harry-TheDevOpsGuy.blogspot.com

MiTE AWS Plateform 1 Click Automation

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

M!TE AWS PLATEFORM | Automate AWS Infrastructure Easily.


 

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.

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} --plan command 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} --apply to 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 yes else no.
  • 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 Platform bash ./main.sh -e htdg --destroy

Optional : Confirmation Approval

./main.sh -e htdg --apply|--apply -y
  • We can pass -y for 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

How To Install and Configure MiTE to Getting Start


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

testimonial

@Harry, Thanks you so much to Taking care of My Live environment and resolved all of my issue. Now its working good. You are doing Great.

Jay

Manager of Hi Tech

Good and impressive service you provided. He has excellent knowledge all about linux as well as automation. i like it.

Satya

CEO of EITS

you are doing good Harry. keep it up i like your AWS Automation tools and i am using this in my company to Creat Dev QA and stage environments.

Sanjay

Linux Administrator in Spoire Soft Technologies

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

SEND ME A MESSAGE