How do I deploy a ruby file from git to google cloud.
Is it possible to push a ruby file from github to google cloud,please can purchase a domain name,how will the ruby file be hosted on the cloud.
I understand that you want to develop a ruby application on Google Cloud. I would suggest to start by following the Quickstart for Ruby in the App Engine Standard Environment.
You can store your app on Cloud Source Repositories and Automate App Engine deployments with Cloud Build Quickstart.
You can serve your app via a custom domain, such as example.com, instead of the default appspot.com address Mapping Custom Domains.
Related
I am new to spring cloud data flow. I am trying to build a simple http source and rabbitmq sink stream using SCDF stream app.The stream should be deployed on OSCF (Cloud Foundry). Once deployed, the stream should be able to receive HTTP POST Request and send the request data to RabbitMQ.
So far, I have downloaded Data Flow Server using below link and push to cloud foundry. I am using Shall application from my local.
https://dataflow.spring.io/docs/installation/cloudfoundry/cf-cli/.
I also have HTTP Source and RabbitMQ Sink application which is deployed in CF. RabbitMQ service is also bound to sink application.
My question - how can I create a stream using application deployed in CF? Registering app requires HTTP/File/Maven URI but I am not sure how can an app deployed on CF be registered?
Appreciate your help. Please let me know if more details are needed?
Thanks
If you're using the out-of-the-box apps that we ship, the relevant Maven repo configuration is already set within SCDF, so you can freely already deploy the http app, and SCDF would resolve and pull it from the Spring Maven repository and then deploy that application to CF.
However, if you're building custom apps, you can configure your internal/private Maven repositories in SCDF/Skipper and then register your apps using the coordinates from your internal repo.
If Maven is not a viable solution for you on CF, I have seen customers resolve artifacts from s3 buckets and persistent-volume services in CF.
I have used Bitnami VM to deploy Parse Server on Azure but I cannot seem to be able to access Parse Server Dashboard. What URL is it available on? Do I need to open any ports?
Just an update on this. A new version of Parse Server provided by Bitnami is now available in the Azure Marketplace. The new version does include the Dashboard.
Have you been following Bitnami instructions?
It states you can access the dashboard using this URL: http://[server-IP-address]/parse
This means only TCP/80 port needs to be open (on your Network Security Group if you use one or in your VM ACL if you don't).
You have now other (probably easier) options to deploy Parse Server on Azure:
using a dedicated ARM template leveraging Azure services (App Service, DocumentDB, Notification hub, ...).
using Azure App Service with the original Facebook/Parse version with MongoDB.
I've got it. The bitnami guys were kind enough to reply to me for this topic:
You can launch the latest Parse version that ships the Dashboard from https://vmdepot.msopentech.com/Vhd/Show?vhdId=64574&version=66817 It could take some time to be available in the Azure Marketplace
So bottom line, use the image from VM depot and not the one on Azure Marketplace as it is an old one and doesn't include the Dashboard.
My company is wanting to use a Rails JSON API app as a backend for a desktop app. The Rails JSON API would use a Postgresql database.
However, some customers self host their data, meaning they have a postgresql server installed on a computer the desktop app uses. Because of these users, we would have to deploy this Rails app and customers would have to run the Rails API server on their machines, including Windows machines. Is this a good idea or even possible?
If your customers are running the db themselves, you probably don't need an api, right?
Otoh, there are tools like portable ruby by the phusion team that let you pacakge up a Ruby app. You can also build the app via JRuby as a jar or war and deploy that in any env with Java
I have developed rails application, which I now want to deploy to an Amazon server. How can I do this?
Also I have registered domain name from godaddy.
The easiest way to do so is to have your application stored on a Git repository, Github for example. Then on your Amazon machine, clone your repo and you will have all your file on the cloud (almost) ready to use. Take a look at this documentation from Amazon for more infos.
For your domain, you must create a redirection to your Amazon machine IP. Here is a link you should see.
Can I deploy Ruby on Rails on Azure Web Sites?
Not yet. Only .NET and PHP are supported as of now.
It looks like Microsoft have increased their Azure offering:
Microsoft Azure: Ruby Developer Center
Windows Azure SDK for Ruby (Github, docs)
This project provides a Ruby package that makes it easy to access and manage Windows Azure Services like Storage, Service Bus and Virtual Machines.
Ruby on Rails Web application on an Azure VM
This tutorial describes how to host a Ruby on Rails-based web site on Azure using a Linux virtual machine. This tutorial assumes you have no prior experience using Azure. Upon completing this tutorial, you will have a Ruby on Rails-based application up and running in the cloud.
Their Documentation Centre now (April 2014) lists the following platforms:
.Net
Node.js
Java
iOS, Android, Windows
PHP
Python
Ruby
Media
It's in preview now. I just received notification of this: https://feedback.azure.com/forums/169385-web-apps-formerly-websites/suggestions/5582607-add-deploy-support-for-ruby-rails-sinatra-app