Skip to content
mofcloud

AWS

Last updated:

Learn how to create a custom AWS IAM policy, attach it to a user, and generate access keys for Mofis. Review the warning about leaving without saving the secret key.

Steps (27)
  1. Open “IAM” to set up the user and permissions for Mofis.
  2. Open “Policies” to define the permissions Mofis needs.
  3. Choose “Create policy” to start a custom policy.
  4. Switch to “JSON” to use the policy supplied by Mofis.
  5. Select the default JSON so you can replace it with the Mofis policy.
  6. Switch to Mofis to get the AWS policy from its setup guide.
  7. Open “JSON policies” to view the supplied permissions.
  8. Click “Copy” to copy the policy JSON.
  9. Paste the copied policy into the AWS JSON editor.
  10. Proceed to “Review and create” to name the policy.
  11. Enter “mofis-read” in “Policy name”.
  12. Review the permissions, then choose “Create policy”.
  13. Open “IAM users” to create a user for these permissions.
  14. Choose “Create user” to begin the user setup.
  15. Enter “mofis-reader” in “User name”.
  16. Choose “Next” to set the user’s permissions.
  17. Select “Attach policies directly” to use the policy you created.
  18. Search for “mofis-read” to find your custom policy.
  19. Select “mofis-read” to attach it to this user.
  20. Choose “Next” to review the user and selected policy.
  21. Confirm the user and policy, then choose “Create user”.
  22. Open “Security credentials” to manage the user’s access keys.
  23. Choose “Create access key” to start the credential setup.
  24. Select “Third-party service” for the Mofis integration.
  25. Review AWS’s recommendation, acknowledge it, then choose “Next”.
  26. Choose “Create access key” to generate the credentials.
  27. Please make sure to save credentials, it can be saved only once.

2. AWS Cost and Usage Data Exports Setup for Mofis

Section titled “2. AWS Cost and Usage Data Exports Setup for Mofis”

Learn how to configure a standard CUR 2.0 export with resource IDs and daily reporting, set up an S3 destination, and review the export’s status and configuration.

Steps (14)
  1. Open “Billing and Cost Management” to set up a cost data export.
  2. Choose “Data Exports” to manage cost and usage exports.
  3. Choose “Create” to configure a new export.
  4. Enter a unique “Export name” for this standard CUR 2.0 export.
  5. Enable “Include resource IDs” to include resource identifiers in the report.
  6. Configure additional export content before choosing the reporting interval.
  7. Select “Daily” to aggregate report line items by day.
  8. Choose “Configure” to set up the destination S3 bucket.
  9. Enter a globally unique “S3 bucket name” for the export destination.
  10. Choose “Create bucket” to create the S3 destination.
  11. Set “S3 path prefix” to “bill-export” to organize the exported files.
  12. Choose “Create” to submit the configured export.
  13. Open the export details to review its status and configuration.
  14. It needs couple of hours for AWS exporting billing data into S3 bucket.

Learn how to add an AWS cloud account, select its CUR 2.0 billing export, and check synchronization progress. Then review costs in Smart Bills and explore the breakdown in Cost explorer.

Steps (11)
  1. Choose “AWS” to add an AWS cloud account.
  2. Enter a name to identify this cloud account.
  3. Enter your AWS access key in “Access Key”.
  4. Enter the corresponding AWS secret key in “Secret Key”.
  5. Click “Select a data export” to choose the billing source.
  6. Select the CUR 2.0 billing export for this account.
  7. Click “Create” to add the configured AWS account.
  8. Open “Data Sync” to check billing synchronization.
  9. Expand the AWS task to inspect synchronization progress.
  10. Open “Smart Bills” to review the synchronized costs.
  11. Open “Cost explorer” to explore the billing breakdown.