On-Demand Deployments
Challenges on the platform can support on-demand deployments of the challenge application, for challenges being managed by the platform. To enable this feature, "Shared Instance" mode must be disabled for the challenge. Through this feature, every participant can deploy the challenge and get a individual unique instance of the challenge.
Teams only get 1 on-demand deployment per challenges across all its members. If a member of the team deploys the challenge, all other members of the team will be able to access the same instance of the challenge, but will not be getting a separate deployment.
How it works?
- The challenge author sets up deployment configuration for the challenge - a Dockerized Application.
- When a participant opens the challenge page, the platform shows a
Start Instance
button, which lets the participant start a new instance of the challenge application. - On clicking the
Start Instance
button, the platform deploys a new instance of the challenge application and shares the link to the instance with the participant. - The participant can then use the challenge application, to solve the challenge and obtain the flag.
- The instance is terminated either when manually terminated by the participant or when the expiry time of the challenge instance has passed.
Maximum Simultaneous Instances
Organizers can optionally limit the number of challenges (i.e. their instances) a participant can deploy at a time,
through the Deployment Settings
section in Manage Challenge
page. For a team, this is the maximum number of
instances that can be started by any member of the team.
Instance Expiry Duration
Organizers can set a duration for which the challenge instance will be active, from the Deployment Settings
section
in Manage Challenge
page. After this duration, calculated from the time the instance was deployed, the instance will
be terminated automatically. The value needs to be specified in minutes.