Quick Guide on AWS Amplify CLI and storage configuration

Mohita Prakash
Towards AWS
Published in
2 min readMay 28, 2021

--

This article is a capsule for installing AWS Amplify CLI and configuring the storage capability.

The Amplify Storage category provides an interface for managing user content for your app in public, protected, or private storage buckets. The Storage category comes with default built-in support for Amazon Simple Storage Service (S3). The Amplify CLI helps you to create and configure the storage buckets for your app. The Amplify AWS S3 Storage plugin leverages Amazon S3.

The Amplify Command Line Interface (CLI) is a unified toolchain to create, integrate, and manage the AWS cloud services for your app.

PC : AWS DOCS

Step:- 1

Install AWS Amplify framework

Android:-

Open the project in Android Studio and in build.gradle of the app, add the below dependencies, and do Sync now.

implementation 'com.amplifyframework:aws-storage-s3:1.17.4'
implementation 'com.amplifyframework:aws-auth-cognito:1.17.4'

Step:-2

Configuring AWS Amplify

Install AWS Amplify CLI . Follow the steps in the below link.

Attaching the screenshots for your reference.

Use the above link for configuring the Amplify in Android.

Use this screenshot to configure the storage by running.

amplify add storage
amplify push

Now the Amplify is ready to go..!!!

Photo by Sergio Capuzzimati on Unsplash

--

--

Mobile Application Engineer | Talks about tech, finance and fitness | Believes in simplicity | Day Dreamer