AWS Marketplace

I am trying out OpenRemote stack by through the AWS marketplace method.

However, I always get the following error:

"errorCode": "Client.DependencyViolation",
"errorMessage": "Network vpc-xxxxxxxxxxxxxxxxx has some mapped public address(es). Please unmap those public address(es) before detaching the gateway.",

Other than the stack name, keypair (have my own) and the instance type (t4g.large), I did not change anything on the AWS cloudformation page that AWS marketplace leads me to when clicking the launch with cloudformation button

Hello Mark,

Thanks for your message and welcome on the forum!

I haven’t seen this error before. Could you maybe share some logs in this thread? That would help us investigate the root cause of this issue.

Thanks!

Hi @denniskuijs , here is the cloudtrail event log.

{
    "eventVersion": "1.11",
    "userIdentity": {
        "type": "IAMUser",
        "principalId": "AIDATPRODSEB4MUMCGHQJ",
        "arn": "arn:aws:iam::239541129475:user/mark_dela_cerna",
        "accountId": "239541129475",
        "userName": "mark_dela_cerna",
        "sessionContext": {
            "attributes": {
                "creationDate": "2025-12-11T08:11:35Z",
                "mfaAuthenticated": "false"
            }
        },
        "invokedBy": "cloudformation.amazonaws.com"
    },
    "eventTime": "2025-12-11T08:24:34Z",
    "eventSource": "ec2.amazonaws.com",
    "eventName": "DetachInternetGateway",
    "awsRegion": "eu-west-3",
    "sourceIPAddress": "cloudformation.amazonaws.com",
    "userAgent": "cloudformation.amazonaws.com",
    "errorCode": "Client.DependencyViolation",
    "errorMessage": "Network vpc-0dc030ecb82cb376e has some mapped public address(es). Please unmap those public address(es) before detaching the gateway.",
    "requestParameters": {
        "internetGatewayId": "igw-0929b189eb881a762",
        "vpcId": "vpc-0dc030ecb82cb376e"
    },
    "responseElements": null,
    "requestID": "6a3302f6-bfd3-4021-ab5c-e65a2e26be36",
    "eventID": "7723897b-a7f9-459a-b260-537cd2a66cc6",
    "readOnly": false,
    "eventType": "AwsApiCall",
    "managementEvent": true,
    "recipientAccountId": "239541129475",
    "eventCategory": "Management",
    "sessionCredentialFromConsole": "true"
}

Thanks for sharing the logs @mark!

I tried to reproduce this error, and it seems there is an issue with the script that deploys OpenRemote. As a result, OpenRemote couldn’t be started.

If the script doesn’t send a SUCCESS signal within 10 minutes, the deployment is considered failed and CloudFormation will rollback the stack to it’s original state.

In your case, CloudFormation has entered the rollback state and is attempting to delete the resources associated with the stack, but it was unable to complete the process because of an issue with the VPC.

Could you please try to trigger the deletion of the CloudFormation stack again?

Meanwhile, I’m investigating the root cause of the script failure and will try to release a fix soon.

1 Like

Hi @denniskuijs,

Thanks for the reply. I redid the steps and triggered the deletion of the CloudFormation stack.

For now, while waiting for the fix, I will be evaluating openremote by deploying it on an EC2 instance with docker.

1 Like

Hi @mark,

I’ve implemented a fix that is now available in the AWS Marketplace.
To use it, You’ll need to redeploy the stack with the updated CloudFormation template.

1 Like

hi @denniskuijs ,

Thanks! I will try it out soon.