AWS Billing Credentials
Billing Account Information Required
To ensure you can fully access and use our product, we require you to provide your AWS billing account information. This step is mandatory for using Cross4Cloud (C4C) or any C4C services related to AWS and should be completed before proceeding with the setup. Completing this step unlocks access to our product and its related features.
- Please follow the instructions below to ensure you can use our services properly.
Cost Management Preferences
You can enable Cost Explorer for your account by opening Cost Explorer for the first time in the Billing and Cost Management console. You can't enable Cost Explorer using the API.
-
Go to AWS Console and log in to your account.
-
After logged in to your account, go to the search bar and search for Billing and Cost Management.
-
In the left navigation menu, click on Cost Explorer located under the Cost and Usage Analysis section. You will see either that screen
Show the instruction with images
or this screen
Show the instruction with images
1. User Creation
-
Go to AWS Console and log in to your account.
-
After logged in to your account, go to the search bar and search for IAM.
-
Click IAM under Services.
Show the instruction with images
- Click Users on the left and then click Create user.
Show the instruction with images
- Click Next button after entering a User name. Optionally you can provide user access to the AWS Management Console.
Show the instruction with images
2. Permission Assignment
-
On the screen have showed up, it is necessary to grant the user the required permissions. Therefore, click on the Attach Policies Directly button. After this point, you have two options to proceed. The first option is to manually add the permissions listed below one by one. The second option is to select only the AdministratorAccess permission, granting full authorization.
Manuel (Recommended) Full Access IAMReadOnlyAccess AdministratorAccess -
Click on the Next button at the bottom of the page.
Show the instruction with images
- After verifying the presence of the necessary permissions under the Permission Summary tab on the opened page, finally, click the Create User button.
Show the instruction with images
For more detailed information about the Policies and permissions you can check AWS Documentation.
In case of getting error that says "The AWS Access Key Id needs a subscription for the service." in AWS Console, do not worry. It takes a while AWS to proccess your card details.
You need to create an inline policy by following through guidance below so that you use those credentials properly.
3. Inline Policy Creation
- From the list of users, click on the user that you have created.
Show the instruction with images
- On the page that you see, click on the Add Permissions and Create Inline Policy.
Show the instruction with images
- Click JSON button on the right top.
Show the instruction with images
- Delete the existing code and copy-paste the following code in its place. And then Click Next button.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "ce:GetCostAndUsage",
"Resource": "*"
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": "ce:GetCostForecast",
"Resource": "*"
}
]
}
Show the instruction with images
- On the page that appers, Enter a Policy Name then Click Create Policy button.
Show the instruction with images
- On the page you have been directed to you will see your custom inline policy under Permissions policies.
After completing these steps, you should have successfully created the user with the specified permissions.
4. Key Creation
- In the same page under the same user that you have created, go to the Security Credentials tab and click Create access key under Access Keys section.
Show the instruction with images
- Choose a proper use case. In this case, we chose Commond Line Interface (CLI). Then click Next button.
Show the instruction with images
- You can add Description tag value, it's optional. After that, click Create access key.
Show the instruction with images
-
CRITICAL STEP
From the screen that you see, copy and paste your Access Key and Secret Access Key where you can access them later, you will need them in our console.
-
When you are sure that you have saved the access key and secret access key somewhere you can access later, you can click the Done button.