Skip to content

pkusys/LambdaReplicaCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LambdaReplicaCLI

This repository contains artifacts of the EuroSys '26 paper "Serverless Replication of Object Storage across Multi-Vendor Clouds and Regions" and exposes a command line interface.

1. Configure Python environment

cd LambdaReplicaCLI
pip3 install -e .

2. Install and configure Azure CLI

Because Azure Python SDK cannot fully automate FunctionApp deployment, we use Azure CLI for deployment.

For Mac users:

brew update && brew install azure-cli

For Linux users, please refer to Install the Azure CLI on Linux.

After Azure CLI is installed, run:

az login --service-principal \
  -u <client_id> \
  -p <client_secret> \
  --tenant <tenant_id>

3. Configure LambdaReplicaCLI

lambda-replica-config

Your will need to provide:

  • AWS Access Key
  • AWS Secret Key
  • AWS Role ARN (AWS Lambda functions use this. It must be able to read and write S3 buckets and DynamoDB tables)
  • Azure Subscription ID
  • Azure Client ID
  • Azure Tenant ID
  • Azure Client Secret
  • Azure Resource Group
  • The path to your GCP Credentials (which is an auto-generated JSON file)

4. Run LambdaReplicaCLI

To replicate the object 1M.dat from the bucket lambda.replica.test.us-east-1 at AWS to the container lambda-replica of storage account lreastus at Azure, run:

lambda-replica --source-cloud AWS \
--source-bucket lambda.replica.test.us-east-1 \
--object-key 1M.dat \
--destination-cloud Azure \
--destination-bucket lreastus/lambda-replica

For any question, please contact shujunyi@gmail.com.

About

A CLI version of LambdaReplica

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages