Posts

Showing posts from December, 2015

Amazon S3 Storage Class

                                         Amazon S3 Storage Class Infrequent Access Amazon S3 Standard - Infrequent Access:- Key Features:- low latency and high throughput performance Designed for durability of 99.999999999% of objects Designed for 99.9% availability over a given year Backed with the Amazon S3 Service Level Agreement for availability Supports SSL encryption of data in transit and at rest Lifecycle management for automatic migration of objects Standard - IA (Infrequent Access) offers the high durability, throughput, and low latency of Amazon S3 Standard, with a low per GB storage price and per GB retrieval fee. It is Storage Class of when we require access data then it provide rapid access. This combination of low cost and high performance make Standard - IA ideal for long-term storage, backups, and as a data store for disaster recov...

Delete S3 Bucket.

There are four method which AWS mentioned in their Doc. Delete From Console. Use third party tool or AWS CLI. Use lifecycle policy.           i)   Delete From Console :- Deleting from console only work when bucket contain less than 100,000 objects but our bucket contain more than 100,000 object.           ii)    Use third party tool or AWS CLI :-  Can use s3cmd for deleting bucket which is a third party tool. We use AWS CLI provided by AWS.                        Run  this command  e.g:-                            AWS s3 rb s3://<bucket-name>  --force     ...

Take AWS ec2 volume instance snapshot

This post is just related to how can you take snapshot/backup of your AWS  ec2 instance's volume using boto. Two method is their:- (which we can use) 1. Cron Method 2. Check time difference between last snapshot creation time and current time. 1. Cron method:- Two cron method (C1 ,C2 two cron)                     i)C1 runs every hour, 5th minute                        Picks up the current hour, say CHOUR                        Pick up volumes defined with backup in hours(2_hour,4_hour ... etc)                         Take 2,4 as frequency accordingly                        if(CHOUR%freq)==0 Take snapshot                   ...