November 15, 2015

Save AWS costs by scheduled start and stop of EC2 instances

Most of the AWS resources are billed on per-hour basis which provides us an opportunity to save cost based on the usage pattern. Especially in case of Dev/Test environment, we need them only during the working days and working hours. By using AWS Lambda function (python) in combination with EC2 instance tags, scheduled start or stop can be achieved with few lines of code. Advantages of using AWS Lambda: For 128MB memory we get 3,200,000 seconds free tier usage per month in AWS Lambda which will be more than enough for this function. IAM role will be associated with the Lambda function which will be used to perform the required task and no separate keys need to be configured. I used a tag with name as schedule & JSON string for tag value using which I could define the day and time when it needs to be started or stopped. Read more

November 8, 2015

ஆத்திசூடி – உயிர் வருக்கம்

ஆத்திசூடியை எழுதியது ஔவையார். ஔவையார் என்ற பெயருடன் பல பெண் புலவர்கள் தமிழ் இலக்கிய காலக்கட்டத்தில் இருந்தனர். ஆத்திசூடியை எழுதிய ஔவையார், சோழர் காலத்தில் (12-ஆம் நூற்றாண்டு) வாழ்ந்தவராவர். Aathichoodi was written by Avvaiyar. There were many lady poets with the name Avvaiyar during Tamil Literature period. Avvaiyar who wrote Aathichoodi lived during Chozha period that was around 12th century. ஔவையார் என்பது ஔவை + ஆர். “ஒளவை” என்பது வயதில் மூத்தவர் அல்லது தவப்பெண் என்று பொருளாகும். சிலசமயங்களில் அறிவில் முதிர்ச்சி அடைந்த பெண் என்பதை குறிக்கவும் பயன்படுத்தி இருக்கலாம். “ஆர்” என்பது மரியாதை நிமித்தமான விகுதி (பெயர்ப்பகுபத விகுதி). Read more

November 6, 2015

Best editor for AWS CloudFormation template (JSON)

AWS CloudFormation template is a way to describe the AWS resources that can be created/updated/deleted and it’s in JSON format. Like many other programming languages most of the editors/IDE don’t have proper syntax highlighting for JSON. For a long time I was using notepad++ and the built-in Javascript syntax highlighting which doesn’t provide much granular highlighting. I was looking for a much better editor and finally found Atom, the most powerful editor by GitHub. It provides the ability to customize almost everything in it. It also can be extended using huge list of packages and themes. Read more

© Prakash P 2015 - 2023

Powered by Hugo & Kiss.