Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Microsoft Azure #55

Merged
merged 1 commit into from
Jan 14, 2022
Merged

Add support for Microsoft Azure #55

merged 1 commit into from
Jan 14, 2022

Conversation

samkumar
Copy link
Contributor

I successfully spawned Azure instances and ran replication jobs between two Azure instances and between an AWS instance and an Azure instance. To use this, you'll need to set up Azure credentials. The code uses DefaultAzureCredential, which checks for credentials in several different places (see https://docs.microsoft.com/en-us/python/api/azure-identity/azure.identity.defaultazurecredential?view=azure-python). You'll also need to specify your Azure subscription ID as a command line argument.

The code is not optimized, and there is considerable room for optimizing the operations for managing Azure resources. We can discuss making it more efficient if necessary.

@samkumar
Copy link
Contributor Author

Here's a command you can use to test functionality:

$ skylark replicate-random aws:eu-central-1 azure:westus2 --chunk-size-mb 16 --n-chunks 1 --num-gateways 1 --num-outgoing-connections 1 --azure-subscription <your-azure-subscription-id>

Copy link
Contributor

@parasj parasj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!

@samkumar samkumar merged commit b9ed1fa into main Jan 14, 2022
@samkumar samkumar deleted the feature-azure branch January 14, 2022 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants