Experiment No.
7
Aim:
To study and Implement Storage as a Service using its AWS S3.
Theory:
Storage as a service (STaaS)
Storage as a service (STaaS) is a cloud business model in which a company leases or rents its storage infrastructure to
another company or individuals to store data.
Small companies and individuals often find this to be a convenient methodology for managing backups, and providing
cost savings in personnel, hardware and physical space.
As an alternative to storing magnetic tapes offsite in a vault, IT
administrators are meeting their storage and backup needs by service level
agreements (SLAs) with an SaaS provider, usually on a cost-per-
gigabyte-stored and cost-per-data-transferred basis. The client transfers
the data meant for storage to the service provider on a set schedule over
the SaaS provider’s wide area network or over the Internet.
Advantages of STaaS
1. Storage costs: Personnel, hardware and
physical storage space expenses are
reduced.
2. Disaster recovery: Having multiple copies of data stored in different locations can better enable disaster recovery
measures.
3. Scalability: With most public cloud services, users only pay for the resources that they use.
4. Syncing: Files can be automatically synced across multiple devices.
5. Security: Security can be both an advantage and a disadvantage, as security methods may change per vendor. Data tends
to be encrypted during transmission and while at rest.
Disadvantages of STaaS
1. Security: Users may end up transferring business-sensitive or mission-critical data to the cloud, which makes it
important to choose a service provider that's reliable.
2. Potential storage costs: If bandwidth limitations are exceeded, these could be expensive.
3. Potential downtimes: Vendors may go through periods of downtime where the service is not available, which can be
trouble for mission-critical data.
4. Limited customization: Since the cloud infrastructure is owned and managed by the service provider, it is less
customizable.
5. Potential for vendor lock-in: It may be difficult to migrate from one service to another
Amazon S3
Amazon S3 (Simple Storage Service) provides object storage, which is built for storing and recovering any amount of
information or data from anywhere over the internet. It provides this storage through a web services interface. While
designed for developers for easier web-scale computing, it provides 99.999999999 percent durability and 99.99 percent
availability of objects. It can also store computer files up to 5 terabytes in size.
Implmentation:
Step 1: In AWS, Services->Storage-> S3
Step 2: Click on Create bucket
Step 3: Adding Bucket name and choosing AWS Region
Step 4: Enable Bucket Versioning
Step 5: Disable Default encryption and click Create bucket
Step 6: Selecting 'achufirst' and uploading files
Step 7: Uploaded files successfully
Step 8: After uploading the same png file one by one, clicking on ‘Show versions’, we can see that the Version ID
is different for both
Step 9: Copying ARN for 'achufirst'
Step 10: Going to Permissions -> Edit Bucket Policy -> Policy Generator Do as shown
Step 11: Click on generate policy and the following json document is obtained.
Step 12: The bucket policy is updated and changes are saved.
Step 13: Successfully edited bucket policy
Step 14: Deleted objects inside bucket
Step 15: Reviewing objects in bucket and confirming deletion
Step 16: Deletion is not possible because of the policy we added
Step 17: Now, emptying bucket and bucket emptied successfully.
Step 19: Deleting bucket
Conclusion: Thus, we have learnt about Storage as a Service and implemented the same using AWS S3.