Skip to content

baalooos/scaleway-disk-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scaleway Disk Snapshot

Serverless function to snapshot Disk and export the snapshot to S3.

Usage

  • Install Serverless Framework using the official documentation
  • Clone this repository
  • Export the required Environment Variables (see below)
  • sls deploy

Environment Variables

This program read your env variables and expect to find the following variables:

Variable Name Mandatory Description
SCW_ACCESS_KEY yes Your Scaleway access key
SCW_SECRET_KEY yes Your Scaleway secret key
ORGANIZATION_ID yes Your organization ID
PROJECT_ID yes Your project ID
DEFAULT_REGION yes The default region to use. Values are fr-par, nl-ams, pl-waw
DEFAULT_AZ yes The default Az to use
DISK_ID yes ID of the disk to snapshot
SNAPSHOT_NUMBER yes Number of snapshots to keep
EXPORT_TO_S3 yes Do your want to export the snapshot to S3? Value is true/false
BUCKET_NAME no Name of the bucket wwhere you want to store your snapshot

For more informations on Scaleway Zones and Region, please refer to: Scaleway Regions

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages