-
Notifications
You must be signed in to change notification settings - Fork 7
InstallAWSRoles
./deploy/endpoint/aws/AWS-Roles-CloudFormation.json
The CloudFormation template used to deploy the endpoints requires the creation of a number of roles so the component access is limited. The above template is specific to the creation of those roles.
- Deploy the
AWS-Roles-CloudFormation
stack via AWS Cloudformation - Access the roles via AWS IAM
- Copy the ARNs out for the Roles created by the stack. The ARNs are used to deploy the rest of the components.
Role | Policies |
---|---|
POP.UnifiedEndpoint.app | AWSLambdaVPCAccessExecutionRole CustomerManaged-POP.SQSEditor CustomerManaged-POP.DynamoDBEditor |
POP.Scheduler.app | AWSLambdaVPCAccessExecutionRole CustomerManaged-POP.SQSEditor CustomerManaged-POP.DynamoDBEditor CustomerManaged-POP.LambdaLauncher |
POP.Callback.trigger | AWSLambdaVPCAccessExecutionRole CustomerManaged-POP.DynamoDBEditor |
POP.Reclaimer.app | AWSLambdaVPCAccessExecutionRole CustomerManaged-POP.DynamoDBEditor |
POP.Reaper.app | AWSLambdaVPCAccessExecutionRole CustomerManaged-POP.DynamoDBEditor |
POP.authorizer | AWSLambdaVPCAccessExecutionRole |
In order for a role to be able to be used by a Lambda you must add the following to the Trust Relationship on the role.
{
"Effect": "Allow",
"Principal": {
"Service": "lambda.amazonaws.com"
},
"Action": "sts:AssumeRole"
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"sqs:ChangeMessage*",
"sqs:GetQueue*",
"sqs:*Message",
"sqs:*MessageBatch"
],
"Resource": [
"*"
]
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"dynamodb:*Table",
"dynamodb:*Item",
"dynamodb:Get*",
"dynamodb:Query",
"dynamodb:Scan",
"dynamodb:DescribeStream",
"dynamodb:Put*",
"dynamodb:List*"
],
"Resource": [
"*"
]
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "lambda:InvokeFunction",
"Resource": "*"
}
]
}
- Submission
- Scheduling
-
Execution
the ResourcePool
Agenda
the workflow
Agenda Template
the workflow definition
Customer
Insight
the scheduling queue definition
Operation Progress
the state of the running Agenda operations
Progress
the state of the running Agendas
ResourcePool
the processing resources
Agenda Service
the workflow submission
Progress Service
rolled up agenda progress summary
ResourcePool Service
getting work and updating progress
AgendaReclaimer
restarting stuck Agendas
AgendaRetry
retrying failed Agendas
DataObjectReaper
reaping expired data objects
PodReaper
reaping stuck Kubernetes pods
DevKubernetesSetup
RunLocalExecution
- RunWithMiniKube