Online Home Poker (2 Viewers)

I have my entire PM site managed on GitHub in a private repo. My current files are an embarrassing mis-mosh of bash grep/awk/sed/gnuplot along with some python for advanced regex. It's slow and tightly coupled to my own needs.

I'm currently working on a plan to parse/dump all of the tourney/hand files into a database so that:
  • my queries run faster
  • I can generate a lot more stats
  • I can make everything public
... but life gets in the way.

More recently, I added stack size plots auto generated after every tournament:

View attachment 638131
LOL - gotta love the power of data analytics. Or at least Jonathan-H will love it.
 
LOL - gotta love the power of data analytics. Or at least Jonathan-H will love it.
I just so happened to win the last tournament, so you're right, I do love it :) I know that Kent has said he's been looking into moving to a database and away from flat text files, so maybe we'll see that in PM7. Honestly, I'd need like a solid 2-3 days off of work to finish this project.
 
@BearMetal that tournament chart is awesome and I would love to provide that for folks. Very interested in that code if you are willing to share.
Haha ... Sure thing; let me sanitize what I've got and I'll toss it up on my public repo. I'll ping here when it's up there.

Side note: you must love pain because this code ain't pretty :ROFL: :ROFLMAO:

Edit: @StevieG - they are up there. And, as promised, it's fugly. I tried to throw together a brief README to describe the various scripts.
https://github.com/jonathan-hurley/poker-mavens
- scripts/graphs
- web/js/gnuplot
 
Last edited:
Haha ... Sure thing; let me sanitize what I've got and I'll toss it up on my public repo. I'll ping here when it's up there.

Side note: you must love pain because this code ain't pretty :ROFL: :ROFLMAO:

1) I am a bit of a masochist
2) I can afford time to puzzle through things
3) that graph is so cool it is worth it
 
Can't help you with the AWS, but shoot me a PM (private message) and I can guide you through the PM (Poker Mavens) portion.

I strongly suggest reading the following first:

  • The PM user guide
  • This whole thread (Yeah, I know it is long, but there are a whole lot of valuable nuggets on setting up both PM and AWS)
 
Welp! I just found out I may need to go out of town for two weeks for work. Which means I need to start looking into AWS pronto.

Went to there web site and damn! is it confusing. There are like a hundred different products! Which one do I need to host my Poker mavens site? Sorry, you guys were so awesome getting me up and running on my home network and now I've got to start asking stupid questions again...

Also, will I be moving my existing site to the new server, or starting all over with a re-install, setting up games, all my users setting up new IDs and passwords, yada yada yada...
 
You can leave everything on your home computer, and use the remote access feature to administer things while you are on the road (not much different than using AWS). You may need to open an additional port on your router, similar how you did for the initial setup.
 
Welp! I just found out I may need to go out of town for two weeks for work. Which means I need to start looking into AWS pronto.

Went to there web site and damn! is it confusing. There are like a hundred different products! Which one do I need to host my Poker mavens site? Sorry, you guys were so awesome getting me up and running on my home network and now I've got to start asking stupid questions again...

Also, will I be moving my existing site to the new server, or starting all over with a re-install, setting up games, all my users setting up new IDs and passwords, yada yada yada...
The AmazonEC2 Works fine for Poker mavens. It was free when I signed up for it.

I feel your pain. I know it’s confusing and honestly if something went wrong with it I’m not sure I can fix it. Luckily there was someone here that helped me out, but I’m not gonna offer his name because I’m not sure if he wants to keep helping everyone.
 
You can leave everything on your home computer, and use the remote access feature to administer things while you are on the road (not much different than using AWS). You may need to open an additional port on your router, similar how you did for the initial setup.
Unfortunately, my home computer is a laptop, which I will be taking with me to California...

Maybe I can ask the hotel where I stay if I can have admin rights to their network? :D
 
The AmazonEC2 Works fine for Poker mavens. It was free when I signed up for it.

I feel your pain. I know it’s confusing and honestly if something went wrong with it I’m not sure I can fix it. Luckily there was someone here that helped me out, but I’m not gonna offer his name because I’m not sure if he wants to keep helping everyone.
Did you start out right away on AWS, or move there after hosting from your home computer for a while? Also, the pricing page is very sketchy. I can't see what the cost is going to be after the 12 month free period. It seems they have completely revamped the page since I looked at it a few weeks ago. I thought back then it was clearly stated that the charge was $30 per month after the first year.
 
Unfortunately, my home computer is a laptop, which I will be taking with me to California...

Maybe I can ask the hotel where I stay if I can have admin rights to their network? :D
Aaah, too bad. The IP address at your hotel will be completely different, and even if you changed the PM settings, nobody would be able to get through the hotel firewall.

Good luck with the AWS thing. Wish I could help, but I'm strictly a home server savant.
 
Did you start out right away on AWS, or move there after hosting from your home computer for a while? Also, the pricing page is very sketchy. I can't see what the cost is going to be after the 12 month free period. It seems they have completely revamped the page since I looked at it a few weeks ago. I thought back then it was clearly stated that the charge was $30 per month after the first year.
Yes, I started out originally with AWS, with the direction of a PCF member. It was a free tier at the time and yes, I think it was 12 months free (which thank you for reminding me of that, because I had forgotten). It appears that this is my last month of free....I'll have to look into what the charges will be. I thought for sure that 12 months would get us through the pandemic but it's looking I might need to extend it out.

As I noted, I had trouble setting up the AWS/Mavens the first time. There was a port issue that was holding everything up. I'm good with computers and and a degreed mechanical engineer, but man...the server world is confusing as hell. I was happy to get some help... I shared my screen and he helped click some things. It's been working ever since thankfully.
 
I just purchased 1 year of EC2 t3a.micro credits for about $130; so it's like $11 / month. Here are some links to posts that can help you get started with setting up EC2:

https://www.pokerchipforum.com/threads/online-home-poker.54141/post-1052724
https://www.pokerchipforum.com/threads/online-home-poker.54141/post-1053149
https://www.pokerchipforum.com/threads/online-home-poker.54141/post-1057466
Thanks again for your help. I know you sent me those links before. I just need to keep reading them and maybe I will eventually understand... :eek: So just focus on the EC2 option and ignore all the multitudes of other options? It just all reads like Greek to me.

Like @codeman00 said above, I too think of myself as pretty computer literate, but just can't seem to get this stuff to penetrate my cranium. That price is pretty reasonable. For some reason I had a higher amount in mind for the second year from our conversations a month ago. I'll just go ahead and sign up today and start schlogging through it.
 
Reserved pricing is what you want; it offers substantial savings over on-demand pricing.

Screen Shot 2021-03-02 at 11.27.04 AM.png



With that said, yes, EC2 is the only thing you care about. EC2 = virtual machine in the cloud. The basic flow is this:
Everything else here is optional:
 
Last edited:
Reserved pricing is what you want; it offers substantial savings over on-demand pricing.

View attachment 647201


With that said, yes, EC2 is the only thing you care about. EC2 = virtual machine in the cloud. The basic flow is this:
  • Create a new AWS personal account
  • Go to EC2 and create a new free tier instance (t2.micro is free for most US regions). Windows Server 2019 or whatever.
  • Once your machine starts, you can connect to it through Microsoft's RDP (remote desktop) client. You then just install Poker Mavens on it.
  • Now you use those links above to:
    • Punch holes through AWS's firewall for that EC2 machine
    • Punch holes through Windows' firewall
Everything else here is optional:
  • Create an "Elastic IP Address" and associate it with your EC2 instance. This prevents your IP address from changing
  • Register a domain name so that you don't access your machine through an IP address and can purchase an SSL cert
  • Associate your new domain name with your static Elastic IP Address
  • Purchase an SSL certificate so you can host https:// secured endpoints
  • Configure PM to use those SSL certs
  • Change firewall options to allow for SSL communication
NIce! Very appreciative of the step by step. I think I can do this!
 
This is a wonderfully concise punchlist @BearMetal

If you could edit it to include the links for the specific topics of the needed AWS firewall and Windows firewall policy it would be even more complete and self-contained.


(yes, I know I am being a pain in the ass for something that is right there above, but I think it worth that extra bit)
 
Reserved pricing is what you want; it offers substantial savings over on-demand pricing.

View attachment 647201


With that said, yes, EC2 is the only thing you care about. EC2 = virtual machine in the cloud. The basic flow is this:
Everything else here is optional:
Regarding SSL, any opinion on free certs from Cloudflare?

https://www.cloudflare.com/learning/ssl/what-is-an-ssl-certificate/
 
I believe they offer this free as part of domain name registration or hosting packages or both.

If you want SSL then Comodo is probably your best option short of a good amount of technical work.
Thanks! That makes sense. Not much that's worth having is truly free.
 
Certainly true here. If you want to avoid paying someone for it, you are going to put in a fair amount of work. Probably more than $5 worth of time.
Yes, I knew my own certificates but I have to renew them every three months. If you just want to spend a few one time then Comodo is the way to go
 
Yes, I knew my own certificates but I have to renew them every three months. If you just want to spend a few one time then Comodo is the way to go
Same here. I use an acme package to work with LetsEncrypt and renew the certs every 3 months. But to do that I am running a full WAMP stack on the server in addition to Poker Mavens (which serves another purpose as it allows me to use the Mavens API, but that's a whole different story).

I would not advocate that for anyone.
 
Last edited:
Same here. I use an acme package to work with LetsEncrypt and renew the certs every 3 months. But to do that I am running a full WAMP stack on the server in addition to Poker Mavens (which serves another purpose as it allows me to use the Mavens API, but that's a whole different story).
Yeah, a few people wanted to try to go the free route when they first set up their PM server. At the end of the day it was a fight that they just didn't want to fight, so they gave in and agreed that they should get a paid SSL certificate. However, I just checked and it looks like you're able to buy one for like $8 for an entire year. That's quite a discount...

I mean, I'm a cheap mofo, so it's LetsEncrypt for me. But that's a pretty good deal.
You guys are speaking a foreign language
Chips for chipping stacks of barrels Paulson. Frac murders ceramics rack check for birdcages dayglo. ... Better?
 
So this is the last month of my free service. I have no idea how much the AWS service will cost per month when they start charging. AWS customer service said it was complicated and sent a link to a complex calculation page...will it be $30 a month or $5 a month. I still don’t know.

Since I only need the server for 8 hrs a week, is it possible to shut down the instance for the rest of the week? How is this achieved and is it worth it?
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account and join our community. It's easy!

Log in

Already have an account? Log in here.

Back
Top Bottom