Free IRIS Community Edition in AWS
Good News!! You can use now the Free InterSystems IRIS Community Edition in the AWS Cloud
Hello,
It's very common that people new in InterSystems IRIS want to start to work in a personal project in a full free environment. If you are one of this, Good News!! You can use now the Free InterSystems IRIS Community Edition in the AWS Cloud.
It is pretty easy to create a new EC2 instance from InterSystems IRIS Community Edition in AWS Marketplace.
After that you have to launch your instance and then you'll can access it using ssh like this:
(note: be sure you have 'chmod 400' at pem file)
➜ ssh -i /path/mykey.pem ubuntu@xxxxx.compute.amazonaws.com
Welcome to InterSystems IRIS Community Edition.
Welcome to InterSystems IRIS Community Edition.
This instance is currently running InterSystems IRIS Community
in a Docker container named 'try-iris'.
in a Docker container named 'try-iris'.
You will need the following information to connect your IDE or
application to your 'try-iris' container.
IP: x.x.x.x
Superserver Port: 51773
Web Server Port: 52773
JDBC connection string: jdbc:IRIS://x.x.x.x:51773/USER
Management Portal URL: http://x.x.x.x:52773/csp/sys/UtilHome.csp
application to your 'try-iris' container.
IP: x.x.x.x
Superserver Port: 51773
Web Server Port: 52773
JDBC connection string: jdbc:IRIS://x.x.x.x:51773/USER
Management Portal URL: http://x.x.x.x:52773/csp/sys/UtilHome.csp
Please start by resetting your password: $iris password
For help: $iris help
Last login: Wed Jan 2 20:55:27 2019 from 12.226.24.14
Last login: Wed Jan 2 20:55:27 2019 from 12.226.24.14
After that you should change the password:
ubuntu@ip-x-x-x-x:~$ iris password
You are about to change the password for the IRIS instance.
The default credentials are the following.
The default credentials are the following.
Username: _SYSTEM
Password: SYS
Password: SYS
These credentials are expired and you will be prompted to change them
if you try to log in manually.
if you try to log in manually.
This utility will change the default password for all default accounts
and can only be run once. After that you will be responsible for the
security of the IRIS instance.
and can only be run once. After that you will be responsible for the
security of the IRIS instance.
The default system users with all permissions are _SYSTEM and SuperUser
Other predefined users are Admin and CSPSystem
Learn more here
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
Change the password? [Y/N] Y
Other predefined users are Admin and CSPSystem
Learn more here
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
Change the password? [Y/N] Y
New Password:
Confirm Password:
Password successfully reset.
Learn more with a QuickStart:
https://learning.intersystems.com/course/view.php?id=1055
Enter the IRIS container at a bash shell:
$sudo docker exec -it try-iris bash
For more options type:
$iris help
https://learning.intersystems.com/course/view.php?id=1055
Enter the IRIS container at a bash shell:
$sudo docker exec -it try-iris bash
For more options type:
$iris help
The free license let you do almost everything, these are the limits from the license key:
Hi David,
I am the editor of our user newsletter, Developments, and would like to add an article about the Community Edition. However when I followed your link, there was this message: "This version has been removed and is no longer available to new customers."
Yes, I just see it. I don't know really what is the problem, but if you search for InterSystems in the search box you get to entries:
So, the right link now is InterSystems IRIS Community Edition in AWS
The link has changed.
https://aws.amazon.com/marketplace/pp/B07MSHYLF1
I've spent quite a number of hours trying to figure out a way to modify the IRIS Container within the AWS Community version so that I can get it to run QEWD.js. I've been able to build a new Container derived from the one provided in the AWS EC2 instance into which I install Node.js and the QEWD modules, etc.
However, using the --after parameter in the docker run command, it looks like iris-main is blocking something - the QEWD Node.js startup code appears to just hang, I think because console.log is unable to write to STDOUT - presumably because of something iris-main is doing. It looks like running iris-main and Node.js together doesn't want to work
I've hit a brick wall with this now and don't know if there's any way to get QEWD working in this AWS EC2 instance, which is disappointing
Just curiosity... did you test also with GCP or Azure instances?
I don't have accounts on GCP or Azure and am not familiar with their use. I use AWS EC2 all the time so I know how to work with it. The problem is unlikely to be AWS-specific, however
OK some further digging reveals that the main problem is that QEWD is freezing at the point where it tries to start the Node.js Express web server.
I'd guess the reason is either:
- something to do with the way Express works internally that clashes with iris-main; or
- port 8080 (which is the port I'm telling Express to listen on) being unavailable because of something IRIS has done
Anyone have any clues?
There's a second problem which is that the Node.js setInterval() function appears to freeze iris-main - something that is pretty critical to have working in QEWD
One further observation: setInterval() definitely hangs everything. However setTimeout() works just fine
Ok forget all that - I've figured out how to make it work and will report back later with the solution :-)
OK Two steps forward, one step back.
When I try to connect to IRIS via the iris.node file and use the db.open() function (from within the container) I get this error
{"ErrorMessage":"Authentication: IRISSecureStart() : Access Denied : Check the audit log for the real authentication error (-15)\n","ErrorCode":-15,"ok":0}
Any ideas what's causing it and how to fix this?
Rob
OK I seem to be on my own sorting this out...but I seem to have figured it all out. I had to first adapt the changePassword utility to work on my derived Container, and once that was done I could use the System Management Portal - which showed me that the Callin Interface wasn't enabled. Once I enabled that, QEWD burst into life :-)
So a question (if anyone out there is listening) - is there a configuration setting somewhere to enable the callin interface automatically when you start up the container, ie to avoid the need to manually enable it via the System Management Portal?
I now have QEWD working in the IRIS Community Edition for AWS environment. To get it running I've had to create a new Container that is derived from the one provided in the Community Edition EC2 platform.
I've done all the hard work for you, and It's all documented here:
https://github.com/robtweed/qewd/tree/master/docker-server-iris-ce-aws
Please give it a try!
Excellent work Rob, thank you for the hard integration work!
I got my IRIS container running on AWS in ... less than 15 mins (I used a free tier t2.micro instance). Of which 2/3 of the time was learning to know the AWS website!
Let's start developing now the latest React/Vue.js/... apps with QEWD.js/Node.js back-end running on IRIS ... which is very easy now because the complete back-end is in a Docker container to try out.
And you have the choice at the front-end: communicating with the back-end using WebSockets or REST endpoints using e.g. the react-qewd or vue-qewd module ... all abstracted for you using very easy methods like this.$qewd.send() (Vue.js with WebSockets) or axios.post() (using REST calls).
Hi David,
The link for the IRIS Community Edition AWS listing has changed (it won't again). I would suggest editing this post to update it.
https://aws.amazon.com/marketplace/pp/B07MSHYLF1
Thanks,
Joe
Does the free edition has ICM and IRIS with Spark images as well? I couldnot figure that out.
Thanks,
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue