Outline of the EC2 for Poets checklist

46 views
Skip to first unread message

Dave Winer

unread,
Aug 20, 2015, 11:31:08 AM8/20/15
to river4
Here's the checklist to launch a River4 instance on AWS.


It's just an outline, a checklist. It would be very helpful if a couple of people ran through the checklist and see if they get a functioning river on the other side.

You should be able to reboot the server and the river should come back up. 

You should be able to access it through port 1337, and watch the dashboard.

Beyond that, nothing else is functional. I want to burn this in for a little before going to the next step.

Dave


Frank McPherson

unread,
Aug 20, 2015, 4:17:20 PM8/20/15
to river4
I'll try to walk thru this over the weekend. Any thoughts about how users will get updates to RIver4 as they come out? 

--
GitHub repository: https://github.com/scripting/river4
How to ask for help: http://scripting.com/2014/03/19/howToAskForHelpWithSoftware.html
---
You received this message because you are subscribed to the Google Groups "river4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to river4+un...@googlegroups.com.
To post to this group, send email to riv...@googlegroups.com.
Visit this group at http://groups.google.com/group/river4.
To view this discussion on the web visit https://groups.google.com/d/msgid/river4/a25af7a3-e6e3-4388-a7a1-cb65298f7486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

From the tablet of Frank McPherson
frank.m...@gmail.com

Dave Winer

unread,
Aug 20, 2015, 4:37:12 PM8/20/15
to riv...@googlegroups.com
It has code in it that does the updates, automatically. ;-)

Dave



Frank McPherson

unread,
Aug 25, 2015, 3:47:13 PM8/25/15
to river4
I walked thru the checklist today and did run into a few problems. The first has to do with getting a public IP address for the instance. I don't know if this is the case for everyone, but my AWS account is configured for both "EC2 Classic" and something that Amazon calls VPC, which stands for Virtual Private Cloud. I think that if you create an instance for EC2 Classic then a public IP address is automatically assigned, but if it is created for VPC then it is not. Further, in my case, the option to create an instance as "EC2 Classic" was grayed out, I had to create it in VPC. 

The assignment of public IP addresses occurs on Step 3, Configure Instance Details. You need to be sure that the field "Auto-assign Public IP" is set to Enable. 


You can confirm this configuration on Step 7: Review Instance Launch by expanding the Instance Details section and confirming that Assign Public IP is set to Yes. 

The other issue I had had to do with the Security Group instructions. I was not able to access the River4 Home Page nor the Dashboard until I enabled port 1337. Once I had my Security Group configured as follows, everything worked.


Your instructions conclude with configuring the OS X Terminal app to access the instance. Windows users will probably use PuTTY, the instructions for configuring that can be found here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html 

BTW, when I login to my instance, I can't find an obvious way to confirm that river4.js is running. I do a forever list and it is not showing. I know it is running because I am accessing the home page and the dashboard, but I imagine the only reason why most users will ever need to access the server is to start/stop/restart river4.js. I am guessing that perhaps with the automated updating of River4 users will have little to no reason to actually login to their server. 

I hope this helps.... 

Frank McPherson

unread,
Aug 26, 2015, 9:35:48 AM8/26/15
to river4
It's been a while since I launched an instance in AWS. I did a little research and learned that you cannot launch a t2 instance in EC2 Classic, you must launch in to VPC, according to the doco here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-instances.html (From what I can tell, only people who have had AWS accounts a long time even see EC2 Classic as an option, new accounts only get access to VPC.) 

In fact, from my cursory review, by now it looks all new instances that you launch regardless of type must launch to the VPC network. I don't think there is a cost impact, but there appear to be more networking options that can appear to bring more complexity. Bottom line for our purposes is to be sure a public IP address is assigned to the instance. 

--
GitHub repository: https://github.com/scripting/river4
How to ask for help: http://scripting.com/2014/03/19/howToAskForHelpWithSoftware.html
---
You received this message because you are subscribed to the Google Groups "river4" group.
To unsubscribe from this group and stop receiving emails from it, send an email to river4+un...@googlegroups.com.
To post to this group, send email to riv...@googlegroups.com.
Visit this group at http://groups.google.com/group/river4.

For more options, visit https://groups.google.com/d/optout.

Dave Winer

unread,
Aug 26, 2015, 11:43:18 AM8/26/15
to riv...@googlegroups.com
Frank, just a quick note of thanks for digging into this. 

I'm working in another area this week, but will use your notes when I swing back around to the ec2ForPoets project.

Good work, and very useful. ;-)

Dave



Reply all
Reply to author
Forward
0 new messages