-
Notifications
You must be signed in to change notification settings - Fork 2
Setup AWS for robot deployment
Giovanni Bruno edited this page May 24, 2019
·
5 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. erwhi-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. erwhi-greengrass-deploy), check and press Next: Tags
- This step is optional so just press Next: Review
- Give a name (e.g. erwhi-robomaker-greengrass) and press Create role
- Go to your role (e.g. erwhi-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
8. Next step
Now you are ready to create your robot in RoboMaker.
Go to next page.
Copyright (c) 2019 Giovanni di Dio Bruno under MIT license