Setup and Configure parameters in below template as per you environment :
StackName: Name of parent stack created where VPC and networking is provisioned, it is needed to define subnet and vpc in which new EC2 instance will be created.
KeyName: Name of Key Pair from your region for public private authentication to EC2 instance, Either create a new key pair or use existing ones.
AllowedAddress: Define the addresses from where you want to give access to web server ports.
InstanceType : Define instance type for your new EC2 instance
SSHLocation : Define the addresses from where you want to give SSH access.
k2IsDocker : Set docker or non docker install of K2 agents, true for docker install and vice versa.
k2IsPrivileged : Set privileged mode installation of K2 agents, true for privileged mode and vice versa.
k2VersionNumber : Set the K2 agents version for download for e.g. 1.10.10
k2CustomerId: Set your K2 customer Id for e.g. 1101
k2TempToken : Set the temp token for K2 agents tarball download, You can get it from K2 Manager UI.
############################ K2 Configuration #1 Starts Here ############################
k2IsDocker:
Type: String
Default: "true" #Configurable Section2
Description: If you want to install k2 agent in docker mode then set this parameter
to true otherwise if in non docker mode then set it to false.
AllowedValues:
["true",
"false"]
# k2IsPrivileged:
# Type: String
# Default: "false" #Configurable Section3
# Description: If you want to install k2 agent in privileged mode then set this parameter
# to true otherwise if in non privileged mode then set it to false.
# AllowedValues:
# ["true",
# "false"]
k2VersionNumber:
Type: String
Default: "1.10.10" #Configurable Section4
Description: Version of K2 agents
k2CustomerId:
Type: String
Default: "1047"
Description: Provide your customer id as provided in k2 portal.
k2TempToken:
Type: String
Default: "150098005586521625452908150271764917436" #Configurable Section5
Description: Temp token to install k2 agents tarball, You can get it from your account at k2io.net currently .
############################ K2 Configuration #1 Ends Here ############################