Skip to content

Availability zone support

Marcos Huck requested to merge feature/availability_zone into develop

Related tasks

Context

We were migrating some enviroments to another Availability Zone in order to avoid interfering with an on-going competition. In order to complete that task, cloudsim needs to have some configuration to deploy simulations to a certain Availability Zone.

Change

  • Add 2 enviroment variables to ec2Config called IGN_EC2_AVAILABILITY_ZONE for the AZ and IGN_EC2_SUBNET for the subnet.
  • Add a new field to instanceTemplate to configure the Availability zone.

Other information

  • We need to update the documentation. IGN_EC2_SUBNET defines the subnet ID cludsim will use to deploy machines. Example values: subnet-0e632d68a9032ab9d IGN_EC2_AVAILABILITY_ZONE defines the AZ cloudsim will use to deploy machines. Example values: us-east-1a

Additional documentation

  • IGN_EC2_SUBNET receives a default value. subnet-0e632d68a9032ab9d
  • IGN_EC2_AVAILABILITY_ZONE receives a default value. us-east-1a

Reviewers

@alejoasd

Edited by Marcos Huck

Merge request reports