|
1 week ago | |
---|---|---|
config | 1 month ago | |
post-launch | 1 week ago | |
scripts | 6 days ago | |
tools | 1 month ago | |
.gitignore | 1 month ago | |
.pre-commit-config.yaml | 1 month ago | |
CHANGELOG.md | 6 days ago | |
Jenkinsfile | 1 month ago | |
LICENSE | 2 months ago | |
README.md | 1 month ago | |
install.sh | 1 month ago | |
requirements.txt | 1 month ago |
Linux and Windows compliant scripts for the AWS Migration Factory.
These scripts replace and add many features above the scripts given by AWS for the migration execution server.
python3
, gssntlmssp
, pwsh 7
with your OS package manager.You need to have git and curl install on the machine.
# install.sh
(careful, needs root permissions). You can use --cron
to force scripts installation regularly, making sure VCS and server have the same code;/etc/migration_factory/endpoints.yml
to add URL API;/etc/migration_factory/defaults.yml
to give the defaults values by environments;mf_setup_environment
properly. alias mf_setup_environment="source /usr/local/bin/mf_setup_environment"
A file containing default values will be installed. See installation. When environment in passed as an argument of any script, it will check dynamically that a key corresponding to the given environment exists in the defaults file.
Here are all supported environment variable:
MF_USERNAME
: The username used to log on the migration factoryMF_PASSWORD
: The password used to log on the migration factoryMF_CE_API_TOKEN
: The Cloud Endure API tokenMF_AWS_ACCESS_KEY_ID
: The AWS access key id of the target accountMF_AWS_SECRET_ACCESS_KEY
: The AWS secret access key of the target accountMF_AWS_REGION
: The AWS region of the target accountMF_ENDPOINT_CONFIG_FILE
: The location of endpoint config fileMF_WINDOWS_USERNAME
: The Windows username to connect to source hostMF_WINDOWS_PASSWORD
: The Windows password to connect to source hostYou can also use the command source mf_setup_environment
to set all these environment variables
See this repository wiki.
This repository follows Semantic Versioning 2.0.0
This repository uses pre-commit hooks.
pre-commit install
pre-commit install -t commit-msg
This repository follows the afcmf standard for it's commit messages.
0-AddProxy-Windows.py
is not working for now.