I LOVE TO ARCHITECT

AMAZINGLY

image
Hello,

I'm Venu

Technology leader with 20 years of excellence in the digital transformation of rapidly growing businesses. Expert at leveraging the technologies that dictate the future, designing highly efficient processes, and building competent teams. From leading the development and management of mission-critical applications for different industries to migrating legacy systems to the cloud, I've been fortunate to imbibe the nuances of various domains.


Core Competence
Technology To Business Alignment

Strategic Alliances n Partnership

Agile n Hybrid

DevOps

Project Management

Team Building


Experience
Chief Technology Officer

Confidential

Chief Architect

ThoughtWorks

Senior Systems Analyst

Unisys

Software Engineer

Société Générale

SOBIS Mannheim

IBM

Infosys

BEL


My Skills
Build An AWS like Cloud
Programming
Leadership
Marketing

20

Total Years Of Experience

1664

Happy Customers

2964

Projects Done

2002

In Tech Since

How May I Help You?

Leadership

Project Management, Build Competent Teams, Automate Processes and Stive For Excellence

Winning Strategies

Strategy Planning, , Performance Optimisation, Service Deliver and Operations, BCP and Risk Management

Design

Technology To Business Alignment, Implementation, Integration, Migration,

Clean Code

Test Driven Development (TDD), Big-O, Integration and Migration, Security and Compliance

Growth

Visionary Stratergies, Strategic Alliances n Partnership, Sales and Marketing, Regulatory Expertise, Governance

Team Building

Building, hiring, and growing large teams of graphically-dispersed members inculcating the culture of commitment, accountability, and shared success.

SOME OF WORK

Vagrant on steroids


This is our life when we are working on automating some really complicated machine building and provisioning procedures. I.e. while developing the playbooks in Ansible, or CookBooks in Chef or manifests in Puppet.

It is not easy to fail faster and fix early as the script might have to download all the dependencies again and again. Adding to all the odds, it could be that the dependencies are being downloaded on a low bandwidth.

Even though Vagrant makes bringing up VM and their management faster, the provisioning (using Ansible, Chef or Puppet or etc) might take inordinately long times when it involves, and it usually does involve downloading packages on the VMs. And it gets painful when you have to download a full stack of several libraries to test your VM.

To help overcome this issue, we can use the following to cache the dependencies and test the configuration scripts or recipes faster, the following should set you up (assuming you have vagrant already installed):-

1. Install vagrant-cachier plugin


vagrant plugin install vagrant-cachier

2. Install vagrant-proxy plugin

A Vagrant plugin that configures the virtual machine to use specified proxies.

vagrant plugin install vagrant-proxyconf

3. Install a proxy server


I am on mac and hence using squidman to install it use the below one line command

sudo brew cask install squidman



Configuring to use them


1. Configuring to use the vagrant-cachier.


Edit the Vagrantfile to include these line

 if Vagrant.has_plugin?("vagrant-cachier")
    config.cache.scope              = :box
    config.cache.synced_folder_opts = {
        type:          :nfs,
        mount_options: ['rw', 'vers=3', 'tcp', 'nolock']
    }
  end 

2. Configuring vagrant-proxyconf

Change the IP appropriately

if Vagrant.has_plugin?("vagrant-proxyconf")
# Start squid-man Mac OSX proxy on port 8081
# config.proxy.enabled = false
config.proxy.http     = "http://10.211.55.2:8081"
config.proxy.https    = "http://10.211.55.2:8081"
config.proxy.no_proxy = "localhost,127.0.0.1"
end 

3. Launch SquidMan and configure

As in the screenshots below. General tab, change the IP appropriately.

Clients tab add the following depending on your subnet
And start the Squidman


Confirming that it is all working

1. If you are on Ubuntu for example you would start seeing a lot of packages in the following folder
~/.vagrant.d/cache/parallels/ubuntu-14.04/apt/

2. Run the vagrant up and check squid's access logs. (Open Squidman and press Command+T and click on "Access log")

3. After these configurations have been put in place, Provisioning gets faster from the second time onwards. As for the first time, the dependencies get cached.

And for dependencies like JDK (which don't get cached due to https) you might want to create an image by snapshotting the VM with the OS and these dependencies. This will allow you to develop recipes you can skip their installations every time you run the palybooks or cookbooks


Hope this helps. (I am finally going to hit the Publish button :) after so many days of slacking on this. However do let me know if you would need clarity on anything)


Start Work With Me

Contact Us
Venu Murthy
+91 9886782890
WorldWide

CC. Powered by Blogger.

Twitter




Punch Line

“Excellence is never an accident. It is always the result of high intention, sincere effort, and intelligent execution.... ― Aristotle

Join My Professional Network







Feature Post

Featured Post

We wasted 3 months on Area 51 - Stackexchange

In the light of wanting a discussion forum to nurture the science of PLRT, we placed a proposal on StackExchange.  But very soon reali...

Statistik

Search This Blog

Providing Solutions For Life

Stack Overflow

Stack Overflow

Github

Author Details

Hey there, We are Blossom Themes! We are trying to provide you the new way to look and use the blogger templates. Our designers are working hard and pushing the boundaries of possibilities to widen the horizon of the regular templates and provide high quality blogger templates to all hardworking bloggers!

Popular Posts