Serverless logo
Products
FRAMEWORK
Overview
CI/CD
Secrets
Plugins
Pricing
Signup
CONSOLE
Overview
Pricing
Signup
CLOUD
Overview
Pricing
FAQ
Signup
Company
ABOUT US
About
Careers
Contact Us
SUPPORT
Get Support
COMMUNITY
Slack
Forum
Partners
Meetups
LEARN
Blog
Examples
Guides
Serverless Cloud logoDocsPricingFAQ
Serverless Cloud Dashboard
Serverless Cloud logo
Serverless Cloud Dashboard
DocumentationPricingFAQ
Serverless logo
Serverless Cloud - Docs

Serverless Cloud – Documentation

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Item title

Item description

X
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Item title

Item description

Serverless logo
Product
Expand
Option 1Option 2Option 3
DocsPricing
Company
Expand

Feature 1

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 2

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 3

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 4

Lorem ipsum dolor emet sin dor lorem ipsum
Search
Sales & Support
LoginSign Up
Open MenuClose Menu
Login / Sign Up
Go to GitHub
Serverless Cloud - Build full stack apps better and faster than everyone else | Product Hunt
Home
How it Works
Development Workflows
Building Applications
Link 1Link 1Link 1
Building Applications
Link 1Link 1Link 1
Building Applications
Link 1Link 1Link 1
Automated Testing
CLI Reference

Managing Storage on Instances

Serverless Cloud provides its own embedded storage solution Serverless Storage attached to every instance as a part of its runtime. It's possible to upload, delete, download files in Serverless Storage programmatically using storage interface of the Serverless Development Kit but sometimes developers need to check the existence of files, feed their app with default files, create the folder structure for their app etc. manually. Serverless Cloud provides Storage tab on the Instance Detail page to meet this need.

Note that this feature is provided in beta and should be used accordingly.

Managing Folders on Serverless Storage

When you upload something programmatically it'll automatically appear under the root folder. However, we strongly recommend using folders for the organization of your app. The below code will automatically create the folder with name storage-uploads folder.

	
api.get("/file", async (req, res) => {
  // will redirect to a download url via Storage
  return res.sendFile("storage-uploads/myFile.txt");
});

You can create a folder from Serverless Dashboard by clicking on the "Create folder" button as seen below:

image

You can also delete folders on Serverless Cloud Dashboard.

File Actions with Serverless Cloud Dashboard

Serverless Cloud Dashbaord provides a way to upload new files to enable developers prepare the files that their applications would need. You can upload multiple files under root folder or under any folder created. You can also delete files by clicking on the file and selecting "Delete Files" option under "Actions" dropdown list. Similarly, you can copy the files under a folder and paste it to elsewhere. Finally, you can download the files by clicking "Open Selection" under "Actions" dropdown list.

Edit this page
Serverless logo
Product
Expand
Option 1Option 2Option 3
DocsPricing
Company
Expand

Feature 1

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 2

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 3

Lorem ipsum dolor emet sin dor lorem ipsum

Feature 4

Lorem ipsum dolor emet sin dor lorem ipsum
Search
Sales & Support
LoginSign Up
Open MenuClose Menu
FRAMEWORK
Overview
CI/CD
Secrets
Plugins
Pricing
CONSOLE
Overview
Pricing
Signup
RESOURCES
Framework DocsConsole DocsGuidesExamplesBlog
COMMUNITY
SlackMeetupsForum
SUPPORT
Contact UsPremium Support
COMPANY
AboutCareersPartners
Join our monthly newsletter
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
© 2022 Serverless, Inc. All rights reserved.
Terms of ServicePrivacy Policy