Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7897591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:12:20+00:00 2026-06-03T08:12:20+00:00

I need to use an external web API for my website and they ask

  • 0

I need to use an external web API for my website and they ask me what will be the IP address where the requests will come from. The point is that my web application is scaled on more Amazon EC2 instances, because it’s deployed using Elastic Beanstalk with auto scaling configured.

What will be the best solution to solve the problem?

The best thing I can think of is to set up a micro instance, associate an Elastic IP to it and use it as an HTTP proxy. Is there a better solution?

I’m sure I’m not the only one having this problem but I couldn’t find another question like my one on stackoverflow. A lot of e-commerce websites usually use an external payment system that requires the requests to come from one or more specific IP addresses…

Thank you.

Update – thanks to @David, I did set up an HTTP proxy using the Apache module mod_proxy. How can I configure it so that only my EC2 instances can access it? My EC2 instances are dynamically created when auto scaling.

ProxyRequests On                                                                                                                                                                   

<Proxy *>                                                                                                                                                                          
 Order deny,allow                                                                                                                                                                  
 Deny from all                                                                                                                                                                     
 Allow from ???                                                                                                                                               
</Proxy>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T08:12:21+00:00Added an answer on June 3, 2026 at 8:12 am

    Just use a (forward) proxy, Apache2 can do this. By default request will come from the IP address of the proxy (if the service is looking at “REMOTE_ADDR”). Some proxies add “HTTP_X_FORWARD_FOR” to indicate the true IP of the client where the request originated, but I doubt your service would check for this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Want know any external API web service or PHP libraries that will allow me
I am developing a web application. For some reasons, I need to use external
I have a xsl file where i need to use parameters from an external
I need to use Twitter api from iPhone 3.0 (SDK 3.0). can i use
I have a Spring Web MVC application where i need to use an external
We have an application that reconstructs external web sites in an Iframe from within
I need to reference external assemblies from a dozen asp.net web sites. These assemblies
I'm developing a C# solution where I use files as external resources. I need
I need to use some classes inside the app_code folder of a website project
I need to use something like get_or_create() but the problem is that I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.