44
loading...
This website collects cookies to deliver better user experience
Access Key
and Secret Access Key
. After filling in the values and saving settings, it is possible to check if it works by clicking Test Access
button.{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ec2:AuthorizeSecurityGroupIngress",
"ec2:CreateKeyPair",
"ec2:CreateSecurityGroup",
"ec2:CreateTags",
"ec2:DeleteKeyPair",
"ec2:DescribeInstances",
"ec2:DescribeInstanceStatus"
"ec2:DescribeInstanceTypeOfferings",
"ec2:DescribeRegions",
"ec2:DescribeSecurityGroups",
"ec2:DescribeVpcs",
"ec2:RunInstances",
"ec2:TerminateInstances",
],
"Resource": "*"
}
]
}
Add New Group
button and naming it aws-t2-micro
. The newly created details will be presented on a separate tab. On this tab, there is a section Agents Deployment
. So the deployment can be manual (default)t2.micro
instance type. The rest of the checkboxes leave empty. Init script also can be blank.aws-t2-micro
Agents Group, we need to prepare a project with a branch and a stage. More details about that can be found in Introductory Guide. So let's concentrate now on defining a job.{
"parent": "root",
"triggers": {
"parent": True
},
"configs": [],
"jobs": [{
"name": "hello",
"timeout": 500,
"steps": [{
"tool": "shell",
"cmd": "echo 'hello world'"
}],
"environments": [{
"system": "ami-0967f290f3533e5a8",
"agents_group": "aws-t2-micro",
"config": "default"
}]
}]
}
aws-t2-micro
Agents Group. What's is new is system
field which points to AMI
identifier - this indicates AWS EC2 image.Run Flow
button. On the run page, the list of jobs shows our AWS job:44