Customers with their own AWS account can choose to host Grid nodes under their account. This offers significant savings to customers as Grid nodes are then billed at cost price to the customer. Customers can also track allocation of spending via custom AWS billing tags. Host Your Own grid nodes is available by subscribing to one of our hosted plans.

CREATING AN AWS ACCOUNT

Amazon Web Services (AWS) delivers a set of services that when put together form a reliable, scalable, and inexpensive computing platform “in the cloud”.

To access any web service AWS offers, you must first create an AWS account at aws.amazon.com. An AWS account is simply an Amazon.com account that is enabled to use AWS products; you can use an existing Amazon.com account login and password when creating the AWS account.

CREATING A NEW IAM POLICY

In order to successfully use your own grid nodes - firstly you will need to create a new AWS IAM policy that will outline the exact permissions and AWS services that our new Flood-specific IAM user will require.

Step 1

Navigate to the IAM Management Console section in the list of AWS services:

Step 2

Under the Policies sub-menu - create a new Policy and within the JSON tab, paste the following Flood-specific policy:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "FloodIO",
            "Action": [
                "ec2:*",
                "logs:*",
                "cloudformation:*",
                "cloudwatch:PutMetricData",
                "elasticloadbalancing:*",
                "autoscaling:*",
                "iam:AddRoleToInstanceProfile",
                "iam:CreateServiceLinkedRole",
                "iam:PassRole"
            ],
            "Effect": "Allow",
            "Resource": [
                "*"
            ]
        }
    ]
}

Click Next, and name the policy FloodIO and complete the wizard.

Step 3

Now that the policy has been created - we need to create and attach it to a Flood-specific IAM User. Click on the Users sub-menu in the IAM Management Console and Add User.

Name the new user something like flood_io (or another meaningful username) and ensure that Programmatic access is selected.

click Next: Permissions to continue. 

On the Set permissions page - choose the Attach existing policies directly option, search for the previously created policy FloodIO, and select it from the policies list.

click Next: Tags to continue.

click Next: Review if you don't want to add any optional specific Tags to this user.

Review the newly created user's permissions, and click Create user.

Please take note of the Access key ID and Secret access key once the user has been created successfully. You will need to enter both of these later on the Integrations page within the Flood app.

Step 4

Now we have created a Flood-specific user with an appropriate policy - we now need to create a new Flood-specific IAM Role.

Click on the Roles sub-menu within the IAM Management console.

Click on the Create role button.

Select the AWS Service option and EC2 as the service. Click Next: Permissions to continue.

Search for the previously created FloodIO policy and select it from the filtered policy list. Click Next: Tags to continue.

click Next: Review if you don't want to add any optional specific Tags to this role.

Review the new Role details and enter flood-node as the Role name. Also, ensure that the previously created FloodIO policy is linked to this role.

Click Create role.

Step 5

Now we need to retrieve your AWS Account ID so we can enter it into the Flood Integrations section to complete your account setup.

In your IAM Management Console, click on My Account.

Under the Account Settings section take note of your Account ID.

Step 6

The last step is to add your AWS account key, secret key and AWS Account ID to Flood so you can use our platform to created your hosted Grids.

Login with your username and password to the Flood application. Click on your account settings icon in the top right hand corner of the screen and select Integrations.

Expand the Amazon AWS section within the Integrations list and click Add AWS Account...

Enter all fields with the values that you have noted in previous steps.

Click Save to continue.

Your AWS account details should be listed and ready to use!

Step 7

Now whenever you start the next Grid, you will be able to select Hosted as the infrastructure option which will launch the nodes under your own AWS account.

Did this answer your question?