# PMM using AWS AMI : server\_error: server error: 502: details

**URL:** <https://forums.percona.com/t/pmm-using-aws-ami-server-error-server-error-502-details/27126>\
**Category:** Percona Monitoring and Management (PMM)\
**Created:** [December 13, 2023, 2:39pm UTC](https://forums.percona.com/t/pmm-using-aws-ami-server-error-server-error-502-details/27126 "2023-12-13T14:39:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ginab](https://avatars.discourse-cdn.com/v4/letter/g/76d3ee/32.png) [@ginab](https://forums.percona.com/u/ginab)\
**Post date:** [December 13, 2023, 2:39pm UTC](https://forums.percona.com/t/pmm-using-aws-ami-server-error-server-error-502-details/27126/1 "2023-12-13T14:39:22Z")

</div>

We installed PMM on AWS AMI. When we go to the URL, every dashboard has an error:  
server\_error: server error: 502: details. I attached a screenshot.

Thanks in advance for any insight.

 ![pmmaws](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/0/020513efbfa5d47f3806e059372d714885d390bb.png)

---

<div class="post-metadata">

**Author:** ![Edith-Puclla](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/edith-puclla/32/6980_2.png) [@Edith-Puclla](https://forums.percona.com/u/Edith-Puclla)\
**Post date:** [December 14, 2023, 11:02am UTC](https://forums.percona.com/t/pmm-using-aws-ami-server-error-server-error-502-details/27126/2 "2023-12-14T11:02:21Z")

</div>

Hello @ginab, thank you for writing to us!

I replicated the steps in the official documentation [PMM from AWS Marketplace](https://docs.percona.com/percona-monitoring-and-management/setting-up/server/aws.html), and I couldn’t reproduce that error. Could you please confirm if you followed all the steps in the documentation?

Also, could you please provide me with more details to replicate it?

Thank you, @ginab!

---

<div class="post-metadata">

**Author:** ![ginab](https://avatars.discourse-cdn.com/v4/letter/g/76d3ee/32.png) [@ginab](https://forums.percona.com/u/ginab)\
**Post date:** [December 14, 2023, 8:43pm UTC](https://forums.percona.com/t/pmm-using-aws-ami-server-error-server-error-502-details/27126/3 "2023-12-14T20:43:46Z")

</div>

Hello Edith! Thank you for your reply. I asked the Sysadmin that did the install and here is his reply:

I followed this Doc:

> **[Percona Monitoring and Management - AWS Marketplace](https://docs.percona.com/percona-monitoring-and-management/setting-up/server/aws.html)**
>
> You can run an instance of PMM Server hosted at AWS Marketplace.

The one thing that caught my eye was under “Running the instance”.  
They talk about a Public IP and you can see in their example both a Public & Private IP’s.

So, I re-installed the EC2 allowing it to create a Public IP.  
And the GUI comes up without errors.

Can this Product can be configured without a Public IP?

---

<div class="post-metadata">

**Author:** ![Edith-Puclla](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/edith-puclla/32/6980_2.png) [@Edith-Puclla](https://forums.percona.com/u/Edith-Puclla)\
**Post date:** [January 2, 2024, 9:58am UTC](https://forums.percona.com/t/pmm-using-aws-ami-server-error-server-error-502-details/27126/4 "2024-01-02T09:58:11Z")

</div>

Hi @ginab, thanks for your reply! Glad you have PMM working now! 🙂

For PMM, you can use PMM with any Elastic IP (both Public and Private).

Public Elastic IP: This type is publicly accessible from the internet, allowing you to access resources like web servers, APIs, or any service that should be reachable over the public internet.

Private Elastic IP: This type is used for internal communication within a Virtual Private Cloud (VPC) or network.

The choice between these types will depend on how you configure your VPC and your specific networking requirements.
