One-Click Deployment with AWS CodeDeploy

AWS CodeDeploy is a deployment system that enables developers to automate the deployment of applications on EC2 instances  and to update the applications as required.

You can deploy a nearly unlimited variety of application content, such as code, web and configuration files, executables, packages, scripts, multimedia files, and so on. AWS CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes to your existing code before you can use AWS CodeDeploy. Continue reading

Schedule Daily EC2 instance stop using CloudWatch Events


Infra/Dev-ops team do have instance created for POC/Demo/testing purpose which we need to stop daily (office off-hours) or during weekends for cost saving purpose. As this adds an overhead for us to daily stop the instance manually before leaving office and sometimes we might forget to stop the instance which again will add up the cost.So there was a demand to automate this process in order to save cost. Continue reading

SPOT-FLEET and Auto Scaling

What is Spot-Fleet?

An AWS Spot Fleet is a collection of EC2 servers purchased at reduced rates by bidding at lowest price within AWS. Spot Fleet requests are made using the Spot Fleet API or through the command-line interface (CLI). Users request a Spot Fleet by specifying the maximum desired price per instance hour, target capacity and launch specifications such as the number of instances desired, instance types and availability zones. Prices of Spot Instances constantly change, but EC2 attempts to maintain the requested target capacity of the Spot Fleet. EC2 terminates Spot Instances as prices rise above user-defined settings and launches replacement instances at the new lowest-priced option available for an another acceptable instance type. AWS automates management of these instance collections. Spot Fleet requests are active until cancelled by a user. Continue reading