Quantcast
Channel: Technical Blog for Software Enthusiasts
Browsing latest articles
Browse All 26 View Live
↧

Think "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 Article


Demystified - 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 Article


Tomcat - 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 Article

Tomcat - 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 Article

Tomcat - 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 Article


Tomcat - 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 Article

Fun 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 Article

IDENTITY 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 Article


Configuration 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 Article


Innocuous 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 Article

Mounting 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 Article

ELB (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 Article

Some 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 Article


Security 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 Article

Security 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 Article


Installing 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 Article

Custom 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 Article


Updating 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 Article

Configuration & 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

Creating a Staging Environment - Customizing AWS Elastic Beanstalk

In this post we shall create a new AWS Elastic Beanstalk environment, not using the Amazon's Elastic Beanstalk console but by using a bash script file. Amazon's console is convenient and quite easy to...

View Article

Terminating a Staging Environment - Customizing AWS Elastic Beanstalk

Let us discuss the script staging-terminate.sh which terminates the staging environment. The important point about the script is that out of all the available AWS Elastic Beanstalk environments, it...

View Article


Swap Route53 DNS Records - Customizing AWS Elastic Beanstalk

Let me introduce the script swap-dns-records.sh used to swap the Route53 DNS records of production and staging environments. The script uses couple of new utility scripts and I shall present them...

View Article


Deploying Application to Existing Environment - Customizing AWS Elastic...

In this post we are going to deploy a new version of the application onto an existing AWS Elastic Beanstalk environment and it could be development, staging or the production environment.The scripts...

View Article

Development Environment - Customizing AWS Elastic Beanstalk

Let us turn our attention to the development environment which is what we extensively use on a daily basis at hudku.com. I strongly recommend one and all to make use of the Amazon's AWS Free Usage...

View Article

Final Part - Customizing AWS Elastic Beanstalk

Finally we have reached the end of this saga of customizing AWS Elastic Beanstalk using suite of Linux Bash scripts. This post contains a link to a downloadable zip file which contains all the scripts...

View Article

Browsing latest articles
Browse All 26 View Live