sparse-intern-71089
09/04/2020, 3:26 PMchilly-rainbow-79265
09/04/2020, 3:30 PMchilly-rainbow-79265
09/04/2020, 3:30 PMlemon-agent-27707
09/04/2020, 3:38 PMchilly-rainbow-79265
09/04/2020, 3:42 PMconfig:
azure:location: centralindia
vm:instance_spec:
# Cassandra Cluster
- count: 1
data_disk_size: 50
name: cassandra
resource_group: pu_demo
type: Standard_A8_v2
user_name: deployer
life_span: 5 # Lifespan in days, after this time, this machine will get autodelted
image_id: cassandra # From which image the machine should be created from
password:
secure: XXXXXX
chilly-rainbow-79265
09/04/2020, 3:45 PMlife_span
field in yaml will create a tag called lifeSpan
in machine, along with the creationTime
in epoch.
every night, we'll run this pulumi program, which will check today - creationTime > lifespan
then take a snapshot and delete the VMchilly-rainbow-79265
09/04/2020, 3:48 PMlemon-agent-27707
09/04/2020, 3:50 PMlemon-agent-27707
09/04/2020, 3:50 PMlemon-agent-27707
09/04/2020, 3:50 PMchilly-rainbow-79265
09/04/2020, 3:51 PMlemon-agent-27707
09/04/2020, 3:54 PMchilly-rainbow-79265
09/04/2020, 3:54 PMchilly-rainbow-79265
09/04/2020, 4:16 PMlemon-agent-27707
09/04/2020, 4:17 PMchilly-rainbow-79265
09/04/2020, 4:19 PMlemon-agent-27707
09/04/2020, 11:43 PM