Building Reverse Proxy Using API Gateway
Building Reverse Proxy Using API Gateway
Overview
Reverse proxy (Reverse Proxy) is located behind the internet and in front of the server, acting as an intermediary that forwards client requests to the appropriate server. API Gateway can serve as a reverse proxy because it routes requests to multiple servers based on paths and handles and manages user authentication to control access to endpoints, thereby strengthening security and optimizing performance.
Architecture Diagram
Invoke the single domain provided by API Gateway.
Authenticate the client request and verify that the user has server access permissions.
Based on the path name, route to Virtual Server and Cloud Functions respectively.
Use Cases
Server Security
By hiding the actual server IP address of the service provided to users, it becomes more difficult for hackers to launch targeted attacks such as DDoS. This allows the server to be protected from DDoS attacks. Additionally, user authentication and authorization can control access to the server, enhancing security.
distributed processing
Handling millions of requests on a single server is difficult, but you can distribute traffic across multiple servers using an API Gateway. By distributing traffic, you prevent overload on a single server and ensure that if a specific server goes down, other servers can handle the requests. This optimizes server performance and reduces server response time.
Prerequisites
N/A
Constraints
All components must use the same API name.
Considerations
N/A
Related service
This is a list of Samsung Cloud Platform services that are associated with the features or configurations described in this guide. Refer to it when selecting and designing services.
| service group | service | Detailed description |
|---|---|---|
| Compute | Virtual Server | Virtual server optimized for cloud computing |
| Compute | Cloud Functions | A service that runs application code in a serverless computing environment |
