Skip to main content

Set up Self-hosted Environments on AWS


This feature is currently in beta. If you wish to participate, you must first request access. A member of our team will follow up to discuss the steps to get the feature enabled.

Meroxa does the heavy-lifting required to deploy and run a Self-hosted Environment in your Amazon Web Services (AWS) cloud account.

This guide will take you through steps to get started with Self-hosted Environments on AWS. Including a list of supported AWS regions, how to create a new IAM Policy, and how to create a new IAM User.

The following steps assume you meet all the requirements to get started with access and privileges to create IAM users with a set policy. If you do not, you will need to ask your AWS administrator to perform these steps.

Supported AWS Regions

Self-hosted Environments may only be provisioned in the following Amazon Web Services (AWS) regions:

  • us-east-1 (N. Virginia)
  • us-east-2 (Ohio)
  • us-west-2 (Oregon)
  • ap-northeast-1 (Tokyo)
  • eu-central-1 (Frankfurt)

Create a new IAM Policy

  1. Log in to your AWS Console.
  2. Go to your IAM dashboard.
  3. Under Access management, click Policies.
  4. In your Policies dashboard, click the button Create Policy.
  5. Next to the Visual editor tab, select the tab JSON.
  6. Copy and paste the Policy Configuration below.
  7. Click the button Next: Tags.
  8. You may skip the Add tags (optional) step and click the button Next: Review.
  9. Under Review policy provide an identifiable Name. You will add this policy to your IAM User later.
  10. Click the button Create policy.

You should now see your new policy in your Policies dashboard list with the type Customer managed.

Policy Configuration

This policy enables the IAM User to take the actions required to successfully provision an environment in your Amazon Web Services (AWS) cloud account. Remember to give this policy an identifiable name as it will be to the IAM user you create. If you have any questions around what is required, please don't hesitate to contact us.

"Version": "2012-10-17",
"Statement": [
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"Resource": [
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": [
"Resource": "*"
"Sid": "VisualEditor2",
"Effect": "Allow",
"Action": [
"Resource": [
"Sid": "VisualEditor3",
"Effect": "Allow",
"Action": [
"Resource": "*"
"Sid": "VisualEditor4",
"Effect": "Allow",
"Action": [
"Resource": [
"Sid": "VisualEditor5",
"Effect": "Allow",
"Action": [
"Resource": [
"Sid": "VisualEditor6",
"Effect": "Allow",
"Action": [
"Resource": "*"
"Sid": "VisualEditor7",
"Effect": "Allow",
"Action": [
"Resource": "*"
"Sid": "VisualEditor8",
"Effect": "Allow",
"Action": [
"Resource": [
"Sid": "VisualEditor9",
"Effect": "Allow",
"Action": ["iam:SimulatePrincipalPolicy"
"Resource": [
"Sid": "VisualEditor10",
"Effect": "Allow",
"Action": [
"Resource": "*"
"Sid": "VisualEditor11",
"Effect": "Allow",
"Action": [
"Resource": [
"Sid": "VisualEditor12",
"Effect": "Allow",
"Action": [
"Resource": [

Create a new IAM User

  1. Go to your IAM dashboard.
  2. Under Access management, click Users.
  3. In your Users dashboard, click the button Add users.
  4. Under Set user details provide an identifiable User name.
  5. Under Select AWS access type, check the box next to Access key - Programmatic access.
  6. Click the botton Next: Permissions.
  7. Under Set permissions, click the option Attach existing policies directly.
  8. Next to Filter policies, use the search to find your recently created IAM policy.
  9. In the resulting policy list, check the box next to your IAM policy.
  10. Click the button Next: Tags.
  11. You may skip the Add tags (optional) step and click the button Next: Review.
  12. Check to make sure everything looks correct, then click the button Create user.
  13. You will see confirmation that your IAM user has been created.
  14. Copy and paste your Access key ID and Secret access key somewhere safe and secure.
  15. You're done, go ahead and click the button Close.

🎉 You now have an IAM User to create your Self-hosted Environment!


You can only use the IAM User used to create the VPC. You may still rotate your Secret Access Key and update your environment configuration. However, any newly generated IAM Users will not work with your Self-hosted Environment.

What's Next?

Create a Self-hosted Environment