Thanks Walter. I'm looking for something in AWS thats easy to set up, stores images and relatively cheap to run like about $US 2 -3 per month, I already have a Domain Name. Just to need change Name Servers
Cheers Dave On Tue, Jan 29, 2019 at 9:46 AM Walter Lee Davis <[email protected]> wrote: > > > On Jan 28, 2019, at 3:18 PM, David Merrick <[email protected]> wrote: > > > > Yes I have EC2 instance but its on Cloud9 > > Aha. That's like having a cloud server for your development environment. > That makes sense, then, that it would stop running when you stop working in > its console. It's like spinning up rails server in the console on your Mac. > > Now you need to do something similar, but with a production environment. > > The web is awash in tutorials that will explain how to deploy a production > instance of your Rails application on any number of different hosting > platforms. Heroku is certainly a good choice, because it exchanges you > following a set of conventions and and accepting some restrictions (and > paying for the pleasure) for seriously no-pain deployment. Amazon has their > Elastic Beanstalk service, which does something similar (I think, never > tried it). > > But you can use EC2 to set up a virtual private server. To do that, you > have to know a fair number of details about running a Linux server, since > what you get in EC2 (without another layer over the top of it) is literally > near-root (sudo) access to a bare system install Linux box. Everything you > want to add (web server, application server, ruby itself, etc.) will be put > there by your own hand. > > Be ready to use `apt-get install each individual thing` and a fair amount > of configuration (generating and installing a certificate and setting up > SSL, for example) before anyone can find your site and use it. > > But once you do, you'll have a server running an application server like > Passenger or Unicorn (which will handle scaling and restarting your app) > and a web server like Apache 2 or NGINX to proxy requests to it. And all of > that will start up whenever your virtual machine restarts, and that will > only be because you asked it to manually, or something catastrophic > happened (like Netflix and half the internet is down). > > Walter > > > > > On Tue, Jan 29, 2019 at 5:15 AM Hassan Schroeder < > [email protected]> wrote: > > On Sun, Jan 27, 2019 at 12:33 PM David Merrick <[email protected]> > wrote: > > > > > I would like to know how to do > > > + Is your system configured to monitor your app and restart it when it > crashes? > > > + Is your system configured to notify you when it can't reliably > > > restart a crashed app? > > > + Do you have monitoring in place to notify you when your app's > unreachable? > > > > Too broad to answer. It depends on the server OS, how you've set > > up Rails (web server, app server), budget, etc. etc. > > > > Do you have a current running EC2 instance, or is this brand new? > > > > -- > > Hassan Schroeder ------------------------ [email protected] > > twitter: @hassan > > Consulting Availability : Silicon Valley or remote > > > > -- > > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To post to this group, send email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDgbjbjpPFBeJnQV3MRpQToLTqZ9jenH%2BQtyNswxiA1JA%40mail.gmail.com > . > > For more options, visit https://groups.google.com/d/optout. > > > > > > -- > > Dave Merrick > > > > Daves Web Designs > > > > Website http://www.daveswebdesigns.co.nz > > > > Email [email protected] > > > > Ph 03 216 2053 > > > > Cell 027 3089 169 > > > > -- > > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To post to this group, send email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKZU%3DQyg5YoeJhVrMJXzS_zJ2kQ473q-jLBzFdvLZtvzDw%40mail.gmail.com > . > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/66FAC48E-14C7-45A7-B2AE-0EEF530419A7%40wdstudio.com > . > For more options, visit https://groups.google.com/d/optout. > -- Dave Merrick Daves Web Designs Website http://www.daveswebdesigns.co.nz Email [email protected] Ph 03 216 2053 Cell 027 3089 169 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKa-HvBrqhc7E5oS6hkSzfdi45Qx5Osa9pgNNCziPxuEnA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

