This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"vmssName": { | |
"type": "string" | |
}, | |
"sasKey": { | |
"type": "string" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"vmssName": { | |
"type": "string" | |
}, | |
"sasKey": { | |
"type": "string" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Prepare an Azure provider account for CycleCloud usage. | |
import os | |
import argparse | |
import json | |
import re | |
import random | |
import platform | |
from string import ascii_uppercase, ascii_lowercase, digits | |
import subprocess |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
restURL=$1 | |
nodeJarUrl="$restURL/node.jar" | |
protocol=$2 | |
rmHostname=$3 | |
rmUrl=$4 | |
nsName=$5 | |
nodeNamingOption=$6 | |
credentials=$7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"vmssName": { | |
"type": "string" | |
}, | |
"sasKey": { | |
"type": "string" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is used as internalCustomStartupScript to setup the VM of the Azure Scale Set. | |
# This setup is for Debian 8 VM only, and involves: | |
# - setting up Docker and Docker-Compose | |
# - setting up ProActive Node service with PNP | |
# - starting the ProActive Node service | |
# If you require additional configuration, you can add your own script as userCustomStartupScript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is used as internalCustomStartupScript to setup the VM of the Azure Scale Set. | |
# This setup is for CENTOS 7, and involves: | |
# - setting up Docker and Docker-Compose | |
# - setting up ProActive Node service with PNP | |
# - starting the ProActive Node service | |
# - install and setup the required packages/libs for the various script engine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
set -e | |
# This is to allow SSH connection on the machine | |
iptables -I INPUT -p tcp -m tcp --dport 2222 -j ACCEPT | |
service iptables save | |
# FIX: install missing dependencies, yum is not available, probably for security reasons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"vmssName": { | |
"type": "string" | |
}, | |
"sasKey": { | |
"type": "string" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is used as internalCustomStartupScript to setup the VM of the Azure Scale Set. | |
# This setup is for CENTOS 7, and involves: | |
# - setting up Docker and Docker-Compose | |
# - setting up ProActive Node service with PNP | |
# - starting the ProActive Node service | |
# - install and setup the required packages/libs for the various script engine | |
# mount /tmp folder |
NewerOlder