Author Topic: Summoning all cloud experts! HEEEELLLLP  (Read 213 times)

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Summoning all cloud experts! HEEEELLLLP
« on: December 28, 2018, 01:34:13 pm »
So it has finally come to this! The server has been having memory issues again  :(

Though I have been trying to optimize the code here and there, eventually i would have to use a more beefy server. So here is my current setup:
EC2 C5xLarge
Route 53 - my domain is also with Amazon now

I cannot use a more powerful instance due to expense. So what are my options?

If i move to other service provider, do i have to also move away from Route 53? Or can i use route 53 to route to the  new service that is NOT a EC2 instance?

Sorry I am a bit of a noob on this. I am sure some of you guys have much better ideas!

I would like something that is very similar to EC2 in terms of some basic functionality :
1. Root access of course :)
2. That i can create image
3. That i can assign/unassign static IP like elastic IP
4. That i can create a QA server easily by mounting a backup image - and then turn it off but keep it if i want
5. Cheaper and more powahFUL!


MANY THANKS IN ADVANCE!  ;D

bluesky

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Re: Summoning all cloud experts! HEEEELLLLP
« Reply #1 on: December 28, 2018, 01:39:48 pm »
You should try asking this on reddit, stackoverflow, or whatever the cool kids use nowadays.

Sry, I have no idea how to help   :(

trans nations

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
Re: Summoning all cloud experts! HEEEELLLLP
« Reply #2 on: December 28, 2018, 02:18:30 pm »
I think AWS still offers the most comprehensive solution.

For the memory issue, have you considered the Memory Optimized instance? If computing is not the bottleneck we might be able
to save a little bit from that.

Code optimization might also help. (Sorry I didn't read the code so I dun know much about this part)

And for the donation, we can have more options (as low as $1) and hopefully bring more fund.

-----

Also, consider removing inactive airlines, or have some sort of strategies to avoid computing their routes.

I have an idea that for inactive airlines, we can cold-storage their data (routes, hubs, etc.) and it can be retrieved when they back.


« Last Edit: December 28, 2018, 02:31:24 pm by trans nations »
Used to be a decent airlines

Air

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Summoning all cloud experts! HEEEELLLLP
« Reply #3 on: December 28, 2018, 06:02:30 pm »
I think a Dedibox from OVH should be powerful enough to handle hosting every part of the game + the forum.

The cheapest from OVH has these specs:
CPU:  Intel Xeon E5-1620v2 - 4c/8t - 3.7GHz /3.9GHz
RAM:  32GB DDR4 ECC 1600MHz
Disks:  SoftRaid 2x4TB SATA
Costing:
$59.99/month

There are ofc bigger boxes, different boxes and offers from places like Hetzner and other dedibox providers.

Apus

  • Guest
Re: Summoning all cloud experts! HEEEELLLLP
« Reply #4 on: December 29, 2018, 12:24:43 am »
@patson You could try using DigitalOcean, with same amount of money you could get 3x more than aws
IIRC, aws C5xLarge is: 4vcpu and 8gb ram and cost roughly 120$
with digital ocean you can get 3x 4vcpu and 8gb ram

I would suggest you to separate db and app server though, for Route53, youre just using it as DNS right?
you could use cloudflare if you want, its free if you only want to use dns management service

Im not that familiar with scala, but maybe I can help you with setup-in server

TGM

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Summoning all cloud experts! HEEEELLLLP
« Reply #5 on: December 29, 2018, 09:03:30 am »
If you want to keep the single server, I'd go for OVH or Hetzner, they give you the most bang for your buck, I wouldn't go with another cloud provider such as Digital Ocean, as you're still paying more for a shared machine, whereas OVH and Hetzner give you a dedicated server.

> 4. That i can create a QA server easily by mounting a backup image - and then turn it off but keep it if i want

That's going to be tricky on a dedicated server though.


If you want to stay on AWS I'd split out the database and perhaps another machine just for serving the web (so 3 machines total) to spread the load.

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Summoning all cloud experts! HEEEELLLLP
« Reply #6 on: January 07, 2019, 01:59:48 pm »
I might try digital ocean https://www.digitalocean.com/pricing/ . I understand it's not the cheapest option. But for $80 a month, I could get 16 GB and 6 vCPUs which is much better than the 8 GB and 4vCPU im getting from AWS (for $120)

My question is - can i still use Amazon Route 53 to do the routing? As my domain name is still with them (registrar)

patson

  • Administrator
  • Hero Member
  • *****
  • Posts: 915
    • View Profile
Re: Summoning all cloud experts! HEEEELLLLP
« Reply #7 on: January 08, 2019, 11:27:15 am »
Tried digital ocean 16GB ram 6vCPU general instance yesterday

Simulation took 50-60mins each week ick


Think i might try their CPU optimized one and split the website out to another general instance