Skip to content

Commit 8f32248

Browse files
authored
Adding Azure machinery and config (#922)
1 parent 9d5a7fe commit 8f32248

File tree

2 files changed

+1406
-0
lines changed

2 files changed

+1406
-0
lines changed

conf/az.conf

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
[az]
2+
# Specify the Azure Region (for example, CanadaCentral). This is case-sensitive
3+
region_name = <region_name>
4+
5+
# Resource Group for Azure
6+
resource_group = <resource_group>
7+
8+
# Subscription ID for Azure
9+
subscription_id = <subscription_id>
10+
11+
# Client ID for Azure
12+
client_id = <client_id>
13+
14+
# Secret for Azure
15+
secret = <secret>
16+
17+
# Tenant for Azure
18+
tenant = <tenant>
19+
20+
# Default network interface.
21+
interface = eth1
22+
23+
# Virtual Network containing Cuckoo host and guests
24+
vnet = <vnet>
25+
26+
# Subnet within virtual network for Cuckoo
27+
subnet = <subnet>
28+
29+
# This is the limit to the number of machines that can exist in a scale set
30+
scale_set_limit = 20
31+
32+
# Specify the maximum number of online machines that was created as a result of auto-scale operation.
33+
# Once reaching that limit, cuckoo will create a new machine only if another was terminated.
34+
# This limit prevents a situation of creating machine beyond the subnet capacity.
35+
total_machines_limit = 50
36+
37+
# Specify the machine's instance type(for example, Standard_F2s_v2, Standard_DS3_v2)
38+
instance_type = <instance_type>
39+
40+
# Specify the IP of the Result Server, as your virtual machine sees it.
41+
# It should be the nest ip address.
42+
resultserver_ip = <resultserver_ip>
43+
44+
# Specify a port number to bind the result server on.
45+
resultserver_port = 2042
46+
47+
# Specify the shared gallery name to use.
48+
gallery_name = <gallery_name>
49+
50+
# Specify the storage account type for the OS disk (for example, Standard_LRS)
51+
storage_account_type = <storage_account_type>
52+
53+
# Initial virtual machine pool size for each scale set
54+
initial_pool_size = 1
55+
56+
# Specify a comma-separated list of scale sets to be used, either available or to be created.
57+
# For each specified ID you have to define a dedicated section containing the details
58+
# about the respective scale set. (E.g. cuckoo1,cuckoo2,cuckoo3)
59+
scale_sets = cuckoo1
60+
61+
# A percentage to be used for overprovisioning a scale set. To disable overprovisiong, set to 0
62+
overprovision = 0
63+
64+
# This time, in seconds, is used to build up a queue of machines that need to be reimaged,
65+
# such that we can perform bulk reimaging.
66+
wait_time_to_reimage = 15
67+
68+
# This boolean value is used to indicate if we want to use Azure Spot instances rather than
69+
# normal instances
70+
spot_instances = false
71+
72+
[cuckoo1]
73+
# The gallery image name to use when creating the virtual machine scale set.
74+
gallery_image_name = <gallery_image_name>
75+
76+
# Specify the operating system platform used by the virtual machines in the scale set
77+
# [windows/darwin/linux].
78+
platform = windows
79+
80+
# Set the machine architecture
81+
# Required to auto select proper machine architecture for sample
82+
# x64 or x86
83+
arch = x64
84+
85+
# A tag used to specify on which guest scale set a sample should be run. All
86+
# virtual machines in this scale set will have this tag
87+
tag = <tag>

0 commit comments

Comments
 (0)