Skip to main content

20.AWS STORAGE GATE WAY

20.AWS STORAGE GATE WAY;;;;;;;;


...................
Storage::---
S3
EFS
FSx
S3 Glacier
Storage Gateway
.......................................

Storage Gateway:::--
.........................................

EBS - can connet to the EC2 Machine
EFS - can connet to the EC2 Machine

1....
 .Deploye one EC2 Machine..
 .IAM- Create user-S3 Full acess-
 .login to Machine-Putty-mkdir /testing, cd /testing, nano file1, cp file1 file2,
  cp file1 file3,cp file1 file4,cp file1 file5,
 .aws s3 ls,aws configure,keyid,access key,us-east-1,json
 .aws s3 ls,aws s3 help,aws s3 cp help,

..... files copying from ec2 inst to s3 bucket.....by manually...
 .aws s3 cp file1 s3://mybucket/ .......here file1 from ec2vm my bucket means Your S3 buckt name..

 . ..... files copying from ec2 inst to s3 bucket.....by automaticaly....


 ....i want mount EC2 -s3 --------so directlly we cant mount by using AWS Storage gateway we can achive..

Storage Gateway::---
.Storage-Storage Gateway-File gateway-next-Amazone EC2 -
-m4.xlarg(4-16) - selet vpc-subnet-80gb root-add adtional 50 gb- next-secg(2049) - ok
- in Host platform- next-IPaddress-(our 1st machine public ip 52.90.117.83)-
connect to garway-gatwaytimezone,GWname- Activate gateway-waitfor5minitus -
-save and continue-createfileshare-give bucketname,n/wfilesystem,next-create fileshare-
......
,......now mount ec2 share folder to storge S3  via Storage gate way..
.df -h, mkdir /s3mount, cd /s3mount, nano newfile1,cp newfile1 newfile2,cp newfile1 newfile3,cp newfile1 newfile4,cp newfile1 newfile5
so automatically s3 bucket coped...


STEPS...

1.ec2istance
2.s3 bucket create
3.storage gatway(giving storage gw to s3 buckt link)
4.mountin ec2-folder to storage gatwayaddress study in storage gatway mounting cmd for linux,...
5. now keeping data into ec2 folder automatically copied to s3...

-------------------------------------------------------------------------------------------------------------------------------------



























Comments

Popular posts from this blog

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

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

22.AWS-DynamoDB-APIGateway-Lambda

22.AWS-DynamoDB-APIGateway-Lambda ::: ,,..........22.AWS-DynamoDB-APIGateway-Lambda............... .Database: RDS DynamoDB ElastiCache Neptune Amazon Redshift ..................................................... DynamoDB::--- ........ RDS- strctured Database DynamoDB -Non-Structed - NoSl(Mango,Cassandra) for ex- bigboss naminee.. .SelectDynamoDB- createtable-table name(BookStore),number(bookid),-createe .EC2-Lambda-CreateFunction-Author from Scratch-Name,node.js8.10,role,-creatr function, -writecode(18.10)-save-Test-( Event name,create )- Test .i want this lambda and Dynamo DB link... .in Lambda-Functions- BluePrints- Search Mobile-select Mobile back end-Basci information( Name,Role,ExistinRole-give this role Dynamo DB acess-)  -createFunction- test- configre test event( event name-test )- writ whic data we want to dynamo db..in json(27.34)  -create- test- ---now this scripts run and data can write on DynamoDB By using ROle permisions wer r given, ...