List of Projects MetPlus Production environment

Production environment

Updated about 1 month ago by Joao Pereira
Current production environment:
  • Rails app
    • Code:
      • https://github.com/AgileVentures/MetPlus_PETS/tree/master
    • Server
      • http://master.coral-rodent-fox.app.push.drieapp.co/
    • Database:
      • Hosted at elephantdb with name: lampdrhz
    • Error Triggers:
      • Airbreak Not configured
    • Mail service:
      • Mailgun Not configured
    • Notifications pusher
      • Pusher Not configured
  • Cruncher Service
    • Code
      • https://github.com/AgileVentures/MetPlus_resumeCruncher/tree/master
    • Server
      • http://cruncherprod-metpluspets.rhcloud.com/
    • Database:
      • Hosted at mlab
    • Error triggers
      • Sentry IO currently same application as development
    • Requirements
      • Always on and 1Gb of RAM to run smoothly

Oct 2017:
Budget Hosting:
  • Azure:
    • Technical specs:
      • 1 Instance $9.67/Month
        • Rails application
        • Background jobs
        • Low Priority D1
      • 1 instance $9.67/Month
        • Cruncher app
        • Low Priority D1
      • 1 Postgres DB $15.21/Month
        • 1 Server 50Gb
      • 1 Cosmo DB(Mongo) $25.06/Month
        • Storage 5Gb
        • 4RU
    • Hosting Price:
      • $59.62
  • Heroku:
    • Technical specs:
      • 1 dyno Hobby, $7/Month
        • Rails application
      • 1 dyno Hobby, $7/Motnh
        • Background job
      • 1 dyno Standard $24/Month
        • Cruncher
      • 1 PG Database Hobby $9 / Month
      • 1 Mongo DB
        • Mongodb 5Gb -> $26.04/Month
        • MLab 5Gb Shared -> $75/ Month
Mailgun send emails:
0  -  10,000 Free
Next 500,000 $0.00050

Mailgun email validation:
0  -  100 Free
Next 2,500 $0.01000


Pusher price:
  • Free
    • Maximum 100 simultaneous users
    • 200k messages per day
  • $49/Month
    • Maixmum 500 simultaneous users
    • 1 Million messages per day

Jan 2017:

Budgets for hosting:
  • Amazon:
    • Only Hosting: https://calculator.s3.amazonaws.com/index.html#r=IAD&key=calc-C7EB7CB9-E928-4CC6-9405-04CF9E94C2E1
      • 1 Instance
        • Rails application
        • Background jobs
      • 1 instance
        • Cruncher application
        • Mongo Database
      • 1 RDS Postgres database
      • 1 EBS with 5GB for storing the MongoDB and the resumes
    • Agile Ventures  Support Basic to start with (DevOps)
    • Total Budget: 20 Pounds + $33.30 per Month, roughly $58.3
  • Heroku hosting with external databases
    • Rails App = $7/Month
    • Job Dyno for background tasks = $2-$7/Month
    • Cruncher App = $25/Month
    • Database:
      • Heroku Postgres DB = $0-$9/Month
      • ElephantSQL Postgres DB = $19/Month
    • Mongo
      • Mongodb(4Gb) $50/Month
      • Mlab(4Gb) $60/Month, only pay the amount of data on the database
    • Agile Ventures Support
    • Total budget: $98
  • Drie Hosting with external databases
    • Rails App(Eventually push is enough) 
      • Free tier: 300 hours per month - sleeps after 60 secs - up to 5 concurrent connections
      • 1000 instance hours a month, auto-scaling: £7/month ($8.50/mo)
    • Cruncher App(Always on) $????/Month (not available at present)
    • Database:
      • ElephantSQL Pstgres DB = $19/Month
    • Mongo
      • Mongodb(4Gb) $50/Month
      • Mlab(4Gb) $60/Month, only pay the amount of data on the database
    • Agile Ventures Support
    • Total budget: ??
  • Other options, mixed hosting
    • Rails App (Drie) $0/Month
    • Cruncher App(Amazon instance) $9.59/Month
    • Database:
      • ElephantSQL Pstgres DB = $19/Month
    • Mongo
      • Amazon instance with 5Gb of storage use same instance as the Cruncher: $0.5/Month
    • Data transfer between Rails and Cruncher 10Gb/Month: $0.81 Month
    • Agile Ventures Support: 20 Pounds per month, roughly $24.6
    • Total budget: $55/Month + Drie
Mailgun pricing:
  • Up to 10k emails per month is free
  • $0.0005 per email from 10k-510k mails
Pusher pricing:
  • Up to 100 Users: Free
  • Up to 500 Users: $49/Month

Option Total per month Pros/cons
Amazon + AV Support $58.3 - $107.3 Pros:
  • Cheaper solution, first year gives a price discount
  • More customizable 
Cons:
  • Platform maintenance(Security updates/ensure app is up and others are not covered)
  • Initial Setup time consumption
  • Big SLA for non payed support
Heroku + Heroku db + Mongodb $89 - $147 Pros:
  • No Platform maintenance needed
  • Easier automation of new releases
Cons:
  • Only Basic Support from AV
  • 2 different service providers for the application
  • Big SLA for non payed support
Heroku + Heroku db + mlab $99 - $157 Pros:
  • No Platform maintenance needed
  • Easier automation of new releases
Cons:
  • Only Basic Support from AV
  • 2 different service providers for the application
  • Big SLA for non payed support
Drie
Pros:
  • No Platform maintenance needed
Cons:
  • 3 different service providers for the application
Drie + Elephant + Amazon
Pros:
  • Roughly same price as Amazon
  • Rails application easier deployment
Cons:
  • 3 different service providers for the application
  • Platform maintenance(Security updates/ensure app is up and others are not covered)
  • Initial Setup time consumption
Revisions

comments powered by Disqus