eC2 EFS P2

User Data

click to edit

User data shell scripts must start with the #! characters and the path to the interpreter you want to read the script.

Install apache web server

Start web service

Restart web service

click to edit

!/bin/bash

yum update –y

service httpd start

chkconfig httpd on

efs

moUNT TARGET

Is a file system that you mount in your VPC using NFs4

Once mounted, you can work with the files and directories in your file system just like you would with a local file system.

datasync

can use Datasyc to copy files from on-prem to EFS or S3 or FSX for window server

can be in diff region/account

AWS backup

can

up service that makes it easy to centralize and automate the back up of data across AWS services in the cloud as well as on premises using the AWS Storage Gateway.

Using AWS Backup, you can centrally configure backup policies and monitor backup activity for AWS resources, such as Amazon EBS volumes, Amazon RDS databases, Amazon DynamoDB tables, Amazon EFS file systems, and AWS Storage Gateway volumes.

Can only config 1 mount target per VPC

can be shared by multiple EC2

P state & C state

Performance and sleep state

R stands for

Memory optimized

gravition

1st generation

A1 processor

Is for Most workload

2nd genration

Significant cost savings over other general-purpose instance

7x better performance

compute optimizer

optimize the Ec2 and Auto scaling group

Identify Optimal EC2 Instance Type Using AWS Compute Optimizer - AWS Online Tech Talks

demo

s

to start Apache web service

click to edit

processors custom make by AWS

features

Provision recommendation

Over Provisioned

click to edit

Under provisioned

Mode

Performance Mode (same as EBS SSD

2 modes image

Throughput mode

image

feature

fully manged file service, avoid complexity of deploy, patch and maintain

can shedule automatic incremental backup

Allow multiple Ec2 to access EFS at the same time

Provide IP for your NFSv4 client

regional service

can grow to petabye

can store across multiple AZ

EFS IA

for less frequent access

Support lifecycle mgmt

can move if not access for 30 days

format of DNS is file-system-id.efs.region.amazonaws.com

can perform 1 time, automatic replication for recovery

pricing

Pay for the storage you used

Cost related to provision throughput are determine by throughput you specify

data sync agent as vM