I would imagine presenting web pages could be done from the Amazon Linux app itself.
There are ways to proxy output from one HTTP server and present via another, although I've not done that.
Why not simply build a web service that can be called to from the Amazon Linux server instance via an SSL connection or you could tunnel JT400 calls over SSL I believe as well to get direct IBM i services access from your Linux app, although not so sure how well a persistent connection would work.
You could also then limit connections to the IBM i web service or other corporate app server via the firewall so only selected IP addresses can connect to the web service if you want to keep things tightened up.
Not sure if that makes sense, but a few thoughts.
Regards,
Richard Schoen | Director of Document Management Technologies, HelpSystems
T: + 1 952-486-6802
RJS Software Systems | A Division of HelpSystems
richard.schoen@xxxxxxxxxxxxxxx
www.rjssoftware.com
Visit me on: Twitter | LinkedIn
------------------------------
message: 8
date: Mon, 11 Jan 2016 13:10:55 -0600
from: "Kevin Bucknum" <Kevin@xxxxxxxxxxxxxxxxxxx>
subject: Re: [WEB400] AWS Cloud to local IBM i Experience?
We host linux servers in AWS both in and outside of a VPC setup. We don't use the hardware VPN connection as we started with all of our servers outside of a VPC. We use stunnel to create connections between the servers in the cloud and a server in house. We don't directly connect to the IBM i, but that is strictly related to speed/cost issues.
I've never been able to get what I would consider a fast enough process to connect from a linux server to the IBM i. The best option available the last time I tested was using the DB2 Connector that IBM sells. It was much faster than all the other options, but the cost was prohibitive. For exchanges where some time delay (usually under 20
seconds) is acceptable we use a messaging interface. Linux server creates messages that are transferred to a relay in house that drops the message on the IFS. A program on the IBM i takes that message and processes it. We do the reverse for updates to the linux servers. For time sensitive requests, we maintain a web service powered by php hosted on the IBM i. The linux server posts the request and gets its answer immediately.
If you come up with something that works reasonably fast, be sure to post your results here.
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Holm, Paul
Sent: Monday, January 11, 2016 12:22 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] AWS Cloud to local IBM i Experience?
All,
I'm looking for any experience or insight. We are looking at the
possibility of a deploying AWS "cloud" / hybrid applications that are able to access database records from a IBM i DB2 database inside a corporate network.
Again for clarity, this would be Java or PHP running on a AWS server where the code is reading data that is on a non AWS DB2 machine inside a corporation's network. We would want the option to present web pages to the public as an alternative.
From the following page, it seems like they do support this with VPC?
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Introduction.h
tml
Anyone doing this approach? How easy/hard was the setup? Any insight?
Thanks in advance, Paul
www.planetjavainc.com
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.