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

36.Migration & Transfer

36.Migration & Transfer Migration & Transfer:::...... .............................................. 1.Snowball::(data moving only,like box, 10gb connectivety, 80terrabytes supportes one box,encripted for portable purpouse ,aws snow mobi- like truck 40gb connectivety bunch of snow balles in side truck, we use this services for not having enf bandwidth, snowball edge.study dock) 2.Server Migration Service:: ( virtual servers not for physical servers, free tool,  google search aws sms limits, onprimisess to cloude, to over com use 3rd party tools lik platespin migrate aws,cloud endure,zerto aws )  15.54 .. video harshas desktop..(google - aws sms user guide,planning diffuclt but implementation easy,  google - aws 6r , acess key and security key required,replication,finally creating AMI) 3.Database Migration Service(crating one instnce to take replication from on premisiss to stor in aws RDS,or more given directions,trasfer over vpn) 4.AWS Migration...

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

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....