Posts

AWS EC2 vs Digital Ocean Droplet - Price Comparison

Image
AWS EC2 vs Digital Ocean Droplet - Price Comparison 4GB RAM Droplet Let's take the popular droplet plan offered by Digital ocean and compare it with the equivalent EC2 instance. Month Cost Hourly  0.03 x 720 = $21.6 . So they offer  $20/month  if you are ready to pay upfront. That makes it yearly. $20 x 12 = $240 4GB T2 Medium EC2 With the on-demand instance, you can stop or terminate the instance and Amazon will discontinue charging you the hourly fees. With the No-Upfront Reserved Instance, you commit to paying the hourly instance charge for every hour of the month for 12 months, whether or not you are actually running a matching instance. Because you promise to pay for the whole year, Amazon gives you a discount on the fees for that year. So immediately convert your on-demand EC2 instances to no-upfront if you run it full time. Comparison with Reserved Instances Let's see how the EC2 prices compare against droplet of the same capacity. R...

Linked-In Data Scrapper Python and Export data to Excel

Scraper_LinkedIn Python Linked-In Scrapper Using selenium and bs4 & data export to excel For Code Click Here Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. Prerequisites What things you need to install the software Python 3.0 or higher Python selenium library Installing A step by step series of examples that tell you how to get a development env running Import library pip install selenium Add Your Linked In Username Password In Scrapper.py Username = '' Password = '' Running the tests Run Scrapper.py Python Scrapper.py Deployment Deployment On Cloud Or Run Locally Built With Python  - Dependency Management Contributing Please read  CONTRIBUTING.md  for details on our code of conduct, and the process for submitting pull requests to us. Authors Harsh M...

Use AWS CodeBuild & CodePipeline to Automate Deployment to Elastic Beanstalk

Image
AWS has its own build and deployment offerings, called  CodeBuild  and  CodePipeline  respectively, and naturally, they are integrated with the other AWS services. CodePipeline connects your GitHub repository with CodeBuild and Elastic Beanstalk so that any update to your repository is built and deployed automatically to Elastic Beanstalk. In this post we will go through the process of integrating AWS CodeBuild and CodePipeline with our Elastic Beanstalk app. Setting up CodeBuild Most projects will have some sort of a build step before they are ready to be deployed to production, and it usually involves writing the output files that will be executed in the production environment. CodeBuild takes care of that part of the continuous deployment process. The commands to execute in CodeBuild are described in a special file, called  buildspec.yml  that should be at the root of your codebase. I’ll go through this file shortly, but let’s first crea...

AWS Auto AMI(Instance) backup across all region

Simple Easy to AWS auto AMI backup across all region or cross region using lambda (node js) Click Here For Code Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. Prerequisites What things you need to install the software AWS Lambda AWS Sdk Click Here For Code Installing A step by step series of examples that tell you how to get a development env running Make Policy Using File iam-policy.json Make Role Using File role-trust-policy.json Assign or attach policy to Role Create Two 2 New Lambda Function And Assign Role That you made Use Code From File for Lambda Functions 1. Create_AMI.js 2. Delete_AMI.js Running the tests Run Lambda Function And Check For Snap Shot and AMI Full Automation Using Cloud Watch Use Cloud Watch Event as Trigger To Make Full Automation of Backup System From ...