Our First Blog Post
We are glad to bring you our very first blog post. I am Arun Kumar, started my career as a Software Engineer in 1987 and you can view my full profile here.Mehar, who is my colleague, partner and...
View ArticleThink "Reserved" when you think of Amazon EC2
I had to cover this topic before moving onto the promised topic "Zero Downtime with Amazon Elastic Beanstalk". I hope you would agree once you finish reading this post.Amazon Elastic Compute Cloud...
View ArticleDemystified - Zero Downtime with AWS Elastic Beanstalk
I honestly feel that this blog post is going to be one of the most important posts of this blog site and it is my great pleasure bringing it to you. Definitely please let us know your opinion in the...
View ArticleTomcat - Setup and Run Secondary Instance - Part I
In this post let us see how to setup a secondary Tomcat instance. Actually the same method can be used to setup any number of Tomcat instances on a single server as Tomcat is very much capable of...
View ArticleTomcat - Setup and Run Secondary Instance - Part II
In this post we shall provide you the second bash script file which is called "tomcat-copy-files-to-secondary.sh".Let me suggest you the directory structure which we are using at hudku.com for these...
View ArticleTomcat - Setup and Run Secondary Instance - Part III
Now we are ready to start the secondary instance of tomcat using the script "tomcat-start-secondary.sh".In all the previous scripts I had been mentioning about only 3 ports that tomcat uses by default...
View ArticleTomcat - Setup and Run Secondary Instance - Final Part
Stopping is quite easy and you must be knowing it already what needs to be done to stop the secondary instance of tomcat. Yes, we just delete the iptables redirection rules and then stop the...
View ArticleFun Bash!!! --- On: Linux --- At: hudku
For those who are impatient we request you not to miss the last few paragraphs of this post. For those who are not impatient we want to assure you that we take your time seriously, we highly value your...
View ArticleIDENTITY Column as Primary Key - is it Ignorance??? - Part I
It could be. I am not saying that is the case always. But I have been a witness to several usages where the Identity column is used without being fully aware of all the issues surrounding it.Please...
View ArticleConfiguration Files - Customizing AWS Elastic Beanstalk
We shall kick start the complete automation of AWS Elastic Beanstalk application. For that we are going to make use of the customization facility provided by the configuration files. You can read more...
View ArticleInnocuous looking Evil Devil
Customizing the Deployment - AWS Elastic BeanstalkThe application deployment in AWS Elastic Beanstalk environment can be customized using the configuration files and you can read Amazon's documentation...
View ArticleMounting Instance Storage - Customizing AWS Elastic Beanstalk
We need several utility scripts that need to be executed as part of setup and configuration of a AWS Elastic Beanstalk environment. "mount-all-instance-storage.sh" is one such utility script.Most of...
View ArticleELB (Elastic Load Balancer) Utilities - Customizing AWS Elastic Beanstalk
AWS Elastic Beanstalk environment by default installs ELB command line utilites. You can read more about ELB hereĀ and its documentation is available here. All the AWS command line utilities require few...
View ArticleSome More Utility Scripts - Customizing AWS Elastic Beanstalk
In this post let us discuss some of the custom Elastic Beanstalk utilities we use. This is the final post covering the scripts in scripts/util directory.We need to first install the AWS Elastic...
View ArticleSecurity Credentials - Customizing AWS Elastic Beanstalk
The two main environment variables that contain AWS account's security credentials are AWS_ACCESS_KEY and AWS_SECRET_KEY. Almost all the command line utilities of AWS make use of the values of these...
View ArticleSecurity Credentials Setup - Customizing AWS Elastic Beanstalk
Continuing from the previous post, let us see how we obtain the values for all the environment variables. Just to recap, almost all the AWS command line utilities make use of the environment variables...
View ArticleInstalling Packages - Customizing AWS Elastic Beanstalk
As part of configuring AWS Elastic Beanstalk environment we need to install all the packages we require. We use the script file package-install.sh to do just that. At hudku.com we use yum to install...
View ArticleCustom Tasks - Customizing AWS Elastic Beanstalk
Definitely every application needs to run few routine tasks daily or hourly as per the requirement. Under Linux, crontab can be used for that purpose.Let us have our directory structure. In this blog...
View ArticleUpdating Route53 DNS Records - Customizing AWS Elastic Beanstalk
In this post let us see how to add or change DNS records using Amazon Route53 and the script we use for that is route53-update-dns.sh. At hudku.com we are using Route53. If you are not using Route53...
View ArticleConfiguration & Setup - Customizing AWS Elastic Beanstalk
Finally we are able to get to our main setup script file app-setup.sh. This bash script could be used to configure AWS Elastic Beanstalk environment running an application using Tomcat, Ruby, Python or...
View Article