-
Notifications
You must be signed in to change notification settings - Fork 4
Step 2: Setup AWS RoboMaker to deploy Robot Application
Giovanni Bruno edited this page May 30, 2019
·
3 revisions
- Go to IAM console and click on policies
- Press on Create policy and select JSON tab.
- Edit bucket-source with your bucket's name this JSON:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"robomaker:UpdateRobotDeployment"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"s3:List*",
"s3:Get*"
],
"Resource": [
"arn:aws:s3:::bucket-source/*"
]
}
]
}
Then paste in JSON tab.
4. Press on Review policy, then give a name (e.g. upbot-greengrass-deploy) and press on Create policy
- Click on roles, then press on Create role
- Choose Greengrass and press Next: Permissions
- Search for your policy (e.g. upbot-greengrass-deploy), check and press Next: Tags
- This step is optional so just press Next: Review
- Give a name (e.g. upbot-robomaker-greengrass) and press Create role
- Go to your role (e.g. upbot-robomaker-greengrass) and press on Trust relationships and then Edit trust relationship
- Copy the following JSON:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": [
"lambda.amazonaws.com",
"greengrass.amazonaws.com"
]
},
"Action": "sts:AssumeRole"
}
]
}
and press Update Trust Policy
Copyrights (c) 2019 Giovanni di Dio Bruno under MIT license.