Dataflex / Cloud Initial Setup
I've browsed this forum, and I haven't seen step-by-step instructions with respect to how to set up Dataflex on AWS Cloud. Can someone please post some instructions? I would like to use the Free AWS deal (Amazon lets you use it for 12 months for free to try it out), and just put up a "hello world" program. I think I can take it from that point on. (Maybe!)
thank you,
Guy
Re: Dataflex / Cloud Initial Setup
Guy
What I do is install DataFlex Studio then I can have the web samples up there in a jiffy. I've done the whole thing from scratch (i.e. not even having an Amazon account - just type AWS into Google) in a 30 minute presentation.
Mike
Re: Dataflex / Cloud Initial Setup
Once you have an AWS instance, installing DataFlex is done just like on any server. The 19.1 installations (both the Studio and the Server) will take care of setting up IIS correctly automatically. As Mike mentioned, if you are in the experimenting phase, you can start with the Studio and then be able to play with all the examples. Once you are ready for real deployment, you'd just get your WebApp Server license and register it in the stack on your instance (replacing the Studio license). No need to uninstall the Studio, just using a real Server code is all you'll need.
Re: Dataflex / Cloud Initial Setup
LOL -- you guys make it sound so easy, but you are speaking Greek to me! For example, what kind of AWS account do I set up? Amazon tells me to go with an EC2, but others here have told me that won't work. What WILL work?
I had no idea I needed a WebApp Server license!
These are the kinds of details we need in a "how to" document. You guys tend to skip over a few steps and just say, "It's easy!" :)
Re: Dataflex / Cloud Initial Setup
Guy
EC2 is what I use. It works perfectly. Pick a free-tier option to start with: AWS --> Sign into Console --> EC2 --> Instances --> Launch Instance; click the "Free tier only" checkbox and pick something like Microsoft Windows Server 2019 Base.
You need a web app server license if you are putting up a real application for commercial use, but for just trying it out (or "proof of concept" if we are pretending to be grown up business people :)) a personal license will do.
Mike
Re: Dataflex / Cloud Initial Setup
[QUOTE=the Guy;353278]Amazon tells me to go with an EC2, but others here have told me that won't work. What WILL work?[/QUOTE]
I take it you meant my reply to an earlier thread?
That was a reply about using EC2 as file sharing option to store your DataFlex embedded database.
It will work fine when using for a webapp (even when your webapp uses a DataFlex embedded database)
--
Wil
Re: Dataflex / Cloud Initial Setup
I just kind of assumed Guy was talking about a WebApp.
If you want to keep only your data in the cloud, I'd recommend looking at Amazon RDS Aurora - MySQL compatible, using the DataFlex ODBC driver, however I've found that using that with a local app has pretty poor performance. Using it with a web app in the same Data Center and availability zone works pretty well.
Mike
Re: Dataflex / Cloud Initial Setup
Ok... So, what do I need to do to convert my 154,223 lines of Windows code to "WebApp"?
Re: Dataflex / Cloud Initial Setup
Ah ha! Now that's the $64,000 question! :) (And cheap at the price!)
Mike
Re: Dataflex / Cloud Initial Setup
You [I]could[/I] put a Windows app on an AWS server and allow users to access it via Remote Desktop (and you could stick with the embedded database), but the maximum number connected to it would by default be two. For more you would have to buy Microsoft CALs ([URL="https://www.microsoft.com/en-gb/licensing/product-licensing/client-access-license?rtc=1"]Client Access Licenses[/URL]) - they cost money, so the advantages of a "Free for a year" server would tend to quickly disappear. I think they are around $30-$40 per user (YMMV - ask your local/favourite Microsoft reseller).
Mike