![Page 1: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/1.jpg)
Amazon Storage as a Service
![Page 2: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/2.jpg)
Recall IaaS
• Server as a Service• Storage as a Service• Connectivtiy as a Service
![Page 3: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/3.jpg)
Amazon’s Storage as a Service
• Amazon Simple Storage Service (Amazon S3)• Amazon Elastic Block Store (EBS)
![Page 4: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/4.jpg)
Amazon Elastic Block Store (EBS): Features
• EBS can provide an persistant storage to an EC2 instance
• “EBS volume data is replicated across multiple servers”• A EBS volume can be up to 1TB. You can attache
multiple EBS volume to your instance (For this course, we only use a capacity allowed by the
free usage tier). • A EBS volume can be easily ported to another instance• EBS IO rates can be even faster than local disk IO
Referece: http://aws.amazon.com/articles/1663
![Page 5: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/5.jpg)
EBS: How to use
• 1. Create a volume with a proper size (Say 20GB for this course).
• Attach this EBS volume to your EC2 instance• Format your EBS volume• Mount the volume• Move data to this volume• Create snapshots of the EBS volume• Instantiate new volume from a snapshots
![Page 6: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/6.jpg)
Create EBS Volume
![Page 7: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/7.jpg)
![Page 8: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/8.jpg)
Attach ESB Volume to EC2 Instance
![Page 9: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/9.jpg)
![Page 10: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/10.jpg)
![Page 11: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/11.jpg)
Format EBS Volume
#sudo mkfs –t ext4 /dev/sdf
![Page 12: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/12.jpg)
Mount EBS volume
#sudo mkdir /vol
#sudo mount /dev/sdf /vol #echo "/dev/sdf /vol ext3 defaults 0 0" | sudo tee –a /etc/fstab
![Page 13: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/13.jpg)
Create snapshot of the EBS Volume
![Page 14: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/14.jpg)
![Page 15: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/15.jpg)
Amazon Simple Storage Service (S3)
• Amazon S3 provides storage as a service to store and retrieve any amount of data at any time, from anywhere on the web.
Figure from docs.amazonwebservices.com
![Page 16: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/16.jpg)
![Page 17: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/17.jpg)
![Page 18: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/18.jpg)
![Page 19: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/19.jpg)
![Page 20: Amazon Storage as a Service. Recall IaaS Server as a Service Storage as a Service Connectivtiy as a Service](https://reader036.vdocument.in/reader036/viewer/2022081515/56649ef35503460f94c055a5/html5/thumbnails/20.jpg)