Skip to content

Commit

Permalink
Adding Azure machinery and config (#922)
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-kevin authored Jun 15, 2022
1 parent 9d5a7fe commit 8f32248
Show file tree
Hide file tree
Showing 2 changed files with 1,406 additions and 0 deletions.
87 changes: 87 additions & 0 deletions conf/az.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
[az]
# Specify the Azure Region (for example, CanadaCentral). This is case-sensitive
region_name = <region_name>

# Resource Group for Azure
resource_group = <resource_group>

# Subscription ID for Azure
subscription_id = <subscription_id>

# Client ID for Azure
client_id = <client_id>

# Secret for Azure
secret = <secret>

# Tenant for Azure
tenant = <tenant>

# Default network interface.
interface = eth1

# Virtual Network containing Cuckoo host and guests
vnet = <vnet>

# Subnet within virtual network for Cuckoo
subnet = <subnet>

# This is the limit to the number of machines that can exist in a scale set
scale_set_limit = 20

# Specify the maximum number of online machines that was created as a result of auto-scale operation.
# Once reaching that limit, cuckoo will create a new machine only if another was terminated.
# This limit prevents a situation of creating machine beyond the subnet capacity.
total_machines_limit = 50

# Specify the machine's instance type(for example, Standard_F2s_v2, Standard_DS3_v2)
instance_type = <instance_type>

# Specify the IP of the Result Server, as your virtual machine sees it.
# It should be the nest ip address.
resultserver_ip = <resultserver_ip>

# Specify a port number to bind the result server on.
resultserver_port = 2042

# Specify the shared gallery name to use.
gallery_name = <gallery_name>

# Specify the storage account type for the OS disk (for example, Standard_LRS)
storage_account_type = <storage_account_type>

# Initial virtual machine pool size for each scale set
initial_pool_size = 1

# Specify a comma-separated list of scale sets to be used, either available or to be created.
# For each specified ID you have to define a dedicated section containing the details
# about the respective scale set. (E.g. cuckoo1,cuckoo2,cuckoo3)
scale_sets = cuckoo1

# A percentage to be used for overprovisioning a scale set. To disable overprovisiong, set to 0
overprovision = 0

# This time, in seconds, is used to build up a queue of machines that need to be reimaged,
# such that we can perform bulk reimaging.
wait_time_to_reimage = 15

# This boolean value is used to indicate if we want to use Azure Spot instances rather than
# normal instances
spot_instances = false

[cuckoo1]
# The gallery image name to use when creating the virtual machine scale set.
gallery_image_name = <gallery_image_name>

# Specify the operating system platform used by the virtual machines in the scale set
# [windows/darwin/linux].
platform = windows

# Set the machine architecture
# Required to auto select proper machine architecture for sample
# x64 or x86
arch = x64

# A tag used to specify on which guest scale set a sample should be run. All
# virtual machines in this scale set will have this tag
tag = <tag>
Loading

0 comments on commit 8f32248

Please sign in to comment.