I have currently my setup on Rackspace. Now, I need to double my Db's capacity (memory). The prices are very high compared to AWS. I need to keep my public IP because of access rules by third parties. Therefore, I am thinking of moving only my Db to AWS and keeping my web server in rackspace (to keep my public IP).

The ping from amazon to rackspace is 0.9-1.2 milliseconds. Do you think this will cause an issue? My web service is an api: there are no web pages involved.

I was thinking of making a vpn between my web server in rackspace and my new aws setup and thus moving my webserver to AWS. That way outgoing connections will still use the same public ip but the lag will be between the incoming/outgoing connections and my webserver in AWS. My humble knowledge in networking tells me that this approach is feasible and better. Is it?

  • It's possible, but I'd be careful not to ignore the additional bandwidth costs this is likely to incur. Have you considered working with the third-parties to add new IPs to their whitelists? – ceejayoz Jun 22 '18 at 17:47
  • Too much work and too much bureaucracy involved (government and telecom sector). You make an excellent point @ceejayoz The nice thing is that I could exactly calculate the additional fees. – Sherif elKhatib Jun 22 '18 at 17:54
  • Might be worth it anyways. Start the process for several AWS, GCP, etc. IPs. Right now you've got a very big potential single point of failure. – ceejayoz Jun 22 '18 at 17:56
  • Or you could move both web and DB and use the old IP address as a reverse proxy for these third parties. – Esa Jokinen Jun 22 '18 at 18:15
  • 1
    1ms is fine, Amazon AZs are about that far apart. The first thing I'd try is negotiating with the existing provider, maybe they give a customer retention discount. Adding an AWS web server will increases costs more than necessary IMHO, I'd probably keep the current web server and just add a DB server initially. VPN or encrypted database connection, either is fine, VPN costs a little money with AWS, and AWS bandwidth is expensive. – Tim Jun 22 '18 at 18:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.