Skip to main content

11.AWS-Snapshots

11.AWS-Snapshots......


.....AWS-SNAPSHOTS..............

......different types of EBS  volumes... see pics..
IOPS I/P O/P Per second..
1.General purpose SSD (gp2)
2.Provisioned IOPS SSD (io1)
3.cloud HDD
4.Throughput optimisted HDD
5.Magnetic

aws caluclater...
.................
.......
Snap shot.....incremental and decrimental..

patching, time we takin befor snap shot..

...mkdir /testfolder,cd /testfolder/,mkdir nosnaptaken,cd nosnaptaken/,nano file1,cd ..  , ll
 go volume create a snapshot.. snap1 (1st snap copy all data..)
 volume can not transfer other location but using snap shot you can transfore..

..........
...inside testfolder../mkdir snap1,cd snap1/,nano file2, cd.. , ll
take snap shot...snap2,,,,(changes taken )

..............................



...inside testfolder../mkdir snap2,cd snap2/,nano file3, cd.. , ll
take snap shot...snap3,,,,,,,,(changes taken )


....................................................

...inside testfolder../mkdir snap3,cd snap3/,nano file4, cd.. , ll
take snap shot...snap4,(changes taken )

.............

all snap shots back end stored in S3 , But root volume in EBS..


..
...cd /testfolder/ , ll,rm -rf * , ll, ( all folders deleted...)

i want restore all folders.. so latest snap shot to chane volume and assined to inst..
(sanp shot in s3 but volume is in EBS.. IMP)


...lsblk(before attaching volume),lsblk(after attaching volumes..)
by default that volume created disk to part..just reqired mounting..
...cd .. ,mkdir /restore ,mount /dev/xvdf1 /restore/ ,ls /restore/testfolder/
...cp -rf /restore/testfolder/ /testfolder/ , cleare
... ls /testfolder/ , ls /testfolder/testfolder/
... lsblk,umount /restore ..........delete that volume...in volmes...(data moved in root volume..)


............decrimental.........
if i am deleted snap 123 then that all data stored in snap4..
if i am deletd snap4 very denger....... not restored ...
.............................
...............Snapshot Lifecycle Policy.....................

dailly,, time 21.oo, 30 snaps,, last 1 month recycled...
othe wis using lamda script....

.........machine inf..
in putty..
...ec2-metadata,curl http://169.254.169.254/latest/meta-data/
(google ec2 meta data shell script..)


.............................................................................................................................................................................-----------------------------------------------------------------------------------------------------..............


















Comments

Popular posts from this blog

43-Dev-git cmds

43-Dev-git cmds Harsha Veerapalli... .git clone https://github.com/username/repository  git clone https://github.com/NAVEENMJ/1 git status .git init .git status ... getting red cloure  ( a.txt ) .git add file.txt or  (git add .) .git push .git push -u origin master .................. .git branch ---list of branches .git checkout -b branch ...Creaing branches .git merge branch ... presnt in master then merge.. ................................... .git status .git init .git status ... getting red cloure  ( a.txt ) .git add file.txt .git status .... getting green cloure  ( new file: a.txt) [if multipull files in folder use git add .] .git commit -m "COMMIT-1" .. Hear COMMIT-1 Means giving name in genralli changed  name given .git log ......changes ...times.. modifi that file a.txt...... .git status .git add . .git status .git commit -m "COMMIT-2" .cls .git log ..........i want go before comited version....

Azure Devops tutorial

 Azure Devops tutorial: web sit-  Projects - Home (azure.com) AZURE DEVOPS - Organization - Projects Under project- --------- Under Pipelines ---> Pipelines( CI ) -  Under Pipelines --->Releases( CD ) -  ------------------------------------------------------------------------------------------------------------------------- Azure Pipelines:--- Pipeline structure:- A pipeline is one or more stages that describe a CI/CD process. Stages are the major divisions in a pipeline. The stages "Build this app," "Run these tests," and "Deploy to preproduction" are good examples. A stage is one or more jobs, which are units of work assignable to the same machine. You can arrange both stages and jobs into dependency graphs. Examples include "Run this stage before that one" and "This job depends on the output of that job." A job is a linear series of steps. Steps can be tasks, scripts, or references to external templates. This hierarchy is refle...

42-AWS-PROJECT-CERTIFATION

42-AWS-PROJECT-CERTIFATION ... GOOGLE....aws 6r..... 1. 2. 3. 4. 5. 6. PRE SALE -POST SALE::: DPR: Detailed PROJECT REPORT. RFI : REQUSTE FOR INF. RFP : REQUEST FOR PROPEROSAL RFQ : REQ     FOR QOOTE POC: PROOF OF CONCEPT HLD: HIGH LEVEL DEGINE  CEO,LEVEL,  HIG LEVEL DIAGROM LLD: LOW LEVEL DEGINE  .. AWS , VPC, ...... BUILD SHETT: FULL DETIALS OF IP NO.. ALL PIN TO PIN UAT: USER ACCEPTANCEY TEST ORT: OPERATION REDINESS TEST SING OFF : REMAINING AMOUT COLLECT CLOSE ARCHITECTURE: AWS CERTIFICATION: Jayandra Patil AWS .............. AWS sysops bluprint