Configure for Amazon EC2

Configuring your cloud(s) is (unavoidably) the hardest part of using bootrino. We want you to succeed. So if you are having a problem, or if these instructions are incorrect or confusing, please let us know at bootrino@gmail.com and we’ll try to help you as quick as practical.

Step 1: create Amazon access key and secret access key.

You will need an account with Amazon Web Services

Sign in to your Amazon AWS account then go to the IAM policies page:

https://console.aws.amazon.com/iam/home#/policies

You should see something similar to:

It is possible that instead of the screenshot below, you might see a screen with a blue “Get Started” button on it. Press that button to see this screen:

_images/awsconfig10.png

Hit the “Create Policy” button. You should see:

_images/awsconfig20.png

Hit the “Create Your Own Policy” button. You should see:

_images/awsconfig30.png

Enter “bootrinouser” as the policy name, and in the description put “This policy gives access to bootrino users to start stop reboot terminate tag and manage instances” (without the quotes).

Copy and paste the following JSON into the “Policy Document” field.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Stmt1480830335000",
            "Effect": "Allow",
            "Action": [
                "ec2:CreateTags",
                "ec2:DeleteTags",
                "ec2:DescribeAvailabilityZones",
                "ec2:DescribeImages",
                "ec2:DescribeInstances",
                "ec2:DescribeNetworkInterfaceAttribute",
                "ec2:DescribeNetworkInterfaces",
                "ec2:DescribePlacementGroups",
                "ec2:DescribeRegions",
                "ec2:DescribeReservedInstances",
                "ec2:DescribeReservedInstancesListings",
                "ec2:DescribeRouteTables",
                "ec2:DescribeSecurityGroups",
                "ec2:DescribeSubnets",
                "ec2:DescribeTags",
                "ec2:DescribeVpcAttribute",
                "ec2:DescribeVpcs",
                "ec2:DisassociateAddress",
                "ec2:GetConsoleOutput",
                "ec2:GetConsoleScreenshot",
                "ec2:ImportKeyPair",
                "ec2:MonitorInstances",
                "ec2:RebootInstances",
                "ec2:RequestSpotInstances",
                "ec2:RunInstances",
                "ec2:RunScheduledInstances",
                "ec2:StartInstances",
                "ec2:StopInstances",
                "ec2:TerminateInstances",
                "ec2:UnassignPrivateIpAddresses"
            ],
            "Resource": [
                "*"
            ]
        }
    ]
}

Hit the “Create Policy” button.

Next we need to create a user. Go to:

https://console.aws.amazon.com/iam/home#/users

You should see something like:

_images/awsconfig40.png

Hit the “Add user” button.

You should see:

_images/awsconfig50.png

Put “bootrinouser” (without the quotes) in the “User name” field, and ensure the “Programmatic access” checkbox is selected, then hit the “Next: Permissions” button.

You should see:

_images/awsconfig60.png

Hit “Attach existing policies directly”. Then type “bootrinouser” into the filter field.

You should see:

_images/awsconfig70.png

Select the “bootrinouser” policy checkbox and then hit the “Next: Review” button.

You should see:

_images/awsconfig80.png

Hit the “Create user” button.

You should see:

_images/awsconfig90.png

You will need to put the “Access key ID” and the “Secret access key” into bootrino, so copy and paste these values somewhere ready for the next steps.

Step 2: add your Amazon access keys to bootrino.

Go to bootrino at https://console.bootrino.com

_images/commonconfig30.png

Select the “clouds” icon at the top.

_images/commonconfig31.png

You should now see your configured clouds, probably empty unless you have already configured additional clouds:

_images/commonconfig40.png

Select “New”

You should see this:

_images/commonconfig50.png

Ensure that “Amazon Web Services” is in the “Cloud type” field

Paste in your Access key id and Secret access key into the fields.

You may optionally enter a comment such as “IAM username is ‘bootrinouser’”

The credential keys that you enter here are stored on your local hard disk and are not ever sent to the bootrino servers.

Hit save.

You should see this:

_images/awsconfig100.png

Notice in the above screenshot there is a “test” button. Press it to test your configuration.

If the configuration tests OK then a message will say “no errors returned - connection looks good”.

You should see this:

_images/awsconfig110.png

You have completed your Amazon Web Services configuration!

You are now only seconds away from launching a bootrino on Amazon Web Services! Go for it! TODO link above