Profile cover photo
Profile photo
Devopsideas
All about Devops
All about Devops
About
Devopsideas's interests
View all
Devopsideas's posts

Post has attachment
Unix screen command – Use cases

Unix screen command offers lot of features that we can make use of. In this article, we can see two use cases that we come across more frequently where we can make use of screen to make things simple.

Scenario:
Consider the below list of scenario.

1) You have got a request to run a long running batch job 30 mins before your work hour ends. The job cannot be interrupted once you initiate it in terminal . You need to leave office in 30 mins and you never know when the job will finish once you initiate it. If you lose connection the job gets interrupted.

2) You are conducting a technical interview from remote through phone and you want the candidate to perform few tasks in terminal. You want to follow along with the candidate and analyze his/her skills. How can you achieve this ?

Read the fulll article here

Post has attachment
IOPS – Benchmarking Disk I/O – AWS Vs DigitalOcean

Consider that you are extending your operations to cloud or planning to change your hosting cloud provider or buying a new VPS. How do you decide the VPS provided by a cloud provider will suit your requirement ?

There are many aspects that you need to try and test before choosing a provider. One such aspect is how fast is your server based on disk performance (IOPS – Input Output per second) and how do you measure its performance ?

In this article we will see how to do this and we will compare the performance between two different providers.

Read the full article here

Post has attachment
Cloudwatch monitoring configuration for EC2 and EBS

Amazon cloudwatch is one of the services provided by AWS for monitoring the cloud and application resources that you run on AWS. Through Cloudwatch monitoring you can monitor log files, set alarms, define set of actions to carry out automatically during an occurrence of an alert. You can even set cloudwatch to monitor logs generated by your application.

You can use cloudwatch for monitoring Amazon EC2 instances, EBS (Elastic Block Store) volume, ELB (Elastic Load Balancer), SQS (Simple Queue Service), DynamoDB tables and RDS (Relational Database Service) instances.


What we are going to see in this article?

We will be configuring cloudwatch monitoring and alert for EC2 and EBS. We will configure monitoring for CPU, Memory, Disk and EBS volume. To accomplish this we need to complete the below steps

Enable memory, swap, and disk space utilization metrics using perl script ( This does not come as part of default metrics )
Create SNS Topic and Subscribers for alert configuration
Configure cloud watch metrics for alert and event based action

Read the full article here


Post has attachment
Working with Logical Volume Manager (LVM)

The Logical Volume Manager also know as LVM, provides a great amount of flexibility for applications that require expanding disk space. LVM work by creating a virtual layer of storage on top of physical devices. The OS operates against the LVM disk as if it was a regular disk. However the advantages allow us to expand the disk without having to reformat the file system or create new partitions.



Scenario
Consider that your application is using database that runs on an EC2 instance. The data is stored in EBS volumes. You application has become very popular and grows widely in turn increasing the size of your database on daily basis. You are in a situation where you need to frequently increase the size of your disk space where the data gets stored. This should be done seamlessly without affecting your application at run time.

Read the full article here
Wait while more posts are being loaded