# Set up a reverse proxy with AWS and ngrok

DevFeed: [Set up a reverse proxy with AWS and ngrok](<https://devfeed.tech/articles/set-up-a-reverse-proxy-with-aws-and-ngrok-83317.md>)

Original publisher: [Read original article](<https://ngrok.com/blog/reverse-proxy-aws>)

Author: Joel Hans

Published: 2024-08-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [\[ngrok news\]](<https://devfeed.tech/sources/ngrok-news.md>)

Topics: [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [nginx](<https://devfeed.tech/topics/nginx.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [apis](<https://devfeed.tech/tags/apis.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-cloudshell](<https://devfeed.tech/tags/aws-cloudshell.md>), [aws-ec2](<https://devfeed.tech/tags/aws-ec2.md>), [caching](<https://devfeed.tech/tags/caching.md>), [certificates](<https://devfeed.tech/tags/certificates.md>), [cli](<https://devfeed.tech/tags/cli.md>), [costs](<https://devfeed.tech/tags/costs.md>), [dashboard](<https://devfeed.tech/tags/dashboard.md>), [dns](<https://devfeed.tech/tags/dns.md>), [networking](<https://devfeed.tech/tags/networking.md>), [ngrok](<https://devfeed.tech/tags/ngrok.md>), [reverse](<https://devfeed.tech/tags/reverse.md>), [reverse-proxy](<https://devfeed.tech/tags/reverse-proxy.md>), [secure-tunnels](<https://devfeed.tech/tags/secure-tunnels.md>)

## AI overview

This tutorial walks through setting up ngrok as a reverse proxy for an app or API running on an AWS EC2 instance. It covers creating a VPC and instance, configuring the ngrok agent, and exposing the service through a public endpoint, with security, certificate management, scaling, and observability features.

## Source excerpt

Discover what a reverse proxy is and why they're essential for public-facing services, apps, and APIs, and learn how to set up a reverse proxy on AWS with ngrok