Like most Amplify feature additions, configuring your project to support online file storage is one command on the command-line. You are prompted for any needed decisions and the configuration in AWS is done for you. You can see what's done online via the AWS console but the work is done. You can focus on the app.
- [Instructor] So now we're storing our items on the server…but not the files…and we want to store the files of course…so we're going to set that up now.…So what do you think we're going to have to do?…If you guessed amplify, you're right.…We're going to use amplify to set up storage on the server.…So back in our project directory…we're going to type amplify add storage…and it's going to ask us what kind of storage we're setting.…Do we want a NoSQL database?…No, we want content.…We want images, audio, video, et cetera.…So we'll select that…and it asks us to provide a friendly name…so we'll call this filestoragepico.…
And it wants a bucket name…so we'll say picofilestorageforimages, something like that.…And it asks us who wants access to the bucket…and we're going to say authorized users only.…You have to be logged in to store files here.…And then we want to be able to read/write those files…and that's it.…Now we call amplify push and it sends it to the server.…We have to verify the changes.…We're adding storage, yes.…
Author
Released
1/8/2019- Working with the Amplify toolchain
- Creating a React app
- Adding analytics to a React app with Amplify
- User authentication via AWS
- Using Amplify to simplify account creation and management
- Creating a GraphQL API
- Storing files online
Skill Level Intermediate
Duration
Views
Related Courses
-
AWS API Gateway with HTTP, Lambda, DynamoDB, and iOS
with Bear Cahill1h 33m Intermediate -
AWS Security Best Practices for Developers
with Carlos Rivas46m 31s Intermediate
-
Introduction
-
1. AWS Amplify Overview
-
Introduction to Amplify4m 13s
-
Amplify principles2m 59s
-
Amplify toolchain2m 47s
-
-
2. Amplified React App
-
Analytics added with Amplify4m 47s
-
App hosting in S32m 38s
-
User authentication via AWS4m 45s
-
Lambdas created2m 30s
-
3. Mobile App Features
-
AWS CocoaPods2m 13s
-
Account management1m 11s
-
4. Serverless Back End
-
GraphQL API5m 28s
-
Mobile app and AppSync4m 42s
-
Store online function4m 54s
-
Save data to the server3m 35s
-
Fetch items from the server4m 52s
-
-
5. Storing Files Online
-
File storage configuration2m 19s
-
Downloading files4m 47s
-
Delete items from AWS1m 30s
-
Delete files from a bucket4m 35s
-
Debugging1m 13s
-
Billing and clean up2m 32s
-
-
Conclusion
-
Next steps42s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: File storage configuration