DeepInJava
DeepInJava

Reputation: 1961

What to use as storage mechanism which can be accessible by application and windows executable on AWS

I am new to AWS infrastructure, I would like to know what storage mechanism should I use which can be accessible by my war (hosted in AWS elasticbeanstalk) and one windows service hosted on one of my AWS machine. I have little knowledge about S3, EBS and EFS.

Use Case:

  1. my webapp in elasticbeanstalk would like to create objects in some storage system.
  2. my executable on one of aws machine produces files that should be accessible by my webapp deployed in elasticbeanstalk

Questions:

  1. Is it possible to share some storage to both my webapp and my executable.
  2. If answer of 1 is yes, What storage mechanism should I use ?

Please advise.

Upvotes: 0

Views: 30

Answers (2)

varnit
varnit

Reputation: 1897

If full hierarchical file system is not needed and you need to store plain object which seems to be the case according to use case given by you then Amazon s3 is the way to go.

Amazon EBS is the block storage service that can only be attached to one machine it resembles the physical hardisk attached to your home computer for more information read this.

EBS

Amazon EFS stands for elastic file system its also a block storage service, its different from EBS in terms that it can be shared accross multiple machines, it resembles the NAS in a datacenter. for more information on EFS read this.

EFS

Upvotes: 1

iikkoo
iikkoo

Reputation: 2856

S3 is Simple Storage Service that is reachable through a web interface. I reckon this is what you are looking for. It is reachable through an URL and is used for storing objects such as files, images, and so on.

EBS is a virtual hard disk that is connected to an EC2 instance (virtual machine).

EFS is Elastic File System used for Linux.

https://aws.amazon.com/s3/

Upvotes: 1

Related Questions