BEST DECISION FOR YOUR APP

How To Store Images For My App: AWS S3

Storage solution from Amazon Web Services. AWS S3! With buckets, you will store your files and images, and you will be comfortable for the rest!

The Freelancer
Published in
5 min readMay 16, 2020

--

Hi! In this story I am going to discuss the best solution to store image assets of your app. Should we use internal storage or remote servers? If remote servers then where?

Let’s discuss should we store them in the internal storage. Storing them internally means that you are going to use the storage of the user and keep everything locally. Let’s assume that you have an application where users can upload photos and making some changes on them. And they want to reach them anytime. First of all, your application will be working locally. Other users cannot see anything but their photos. They cannot share their photos with your application, they will need different platform for that. They may ask that feature from you in the future. Your application stays local.

Let’s think about different scenario, one of the users changed the phone and wanted to use your application. Where is the photos and all the settings? They all gone with the old phone. Because you stored everything locally. For me this problem is, to be honest, just enough to migrate your storage to the remote server instead of internal memory.

Other problem is, let’s assume that you have used lot’s of icons, images etc. from all over the web, with credentials. But months later, some of the links are not working, and your users are started to report issues about that. It may happen for sure if you trust one website and if it’s down, your application will be effected somehow eventually.

Let’s assume that we want to use remote storage for our application. Then which one? My answer at this point is Amazon S3. S3 is a storage solution served by AWS, S3 is the short version of “Simple Storage Service”. You can store your files here and get it from here, whenever you want. Let’s see how can we use it for our application!

--

--

Anil Emrah
The Freelancer

Sweden-based full-time developer, and lifelong learner. Loves to learn and experience. Motto: Stay Hungry, Stay Foolish | @anilemrah_