Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
863 views
in Technique[技术] by (71.8m points)

heroku - How do I use Google cloud storage for my rails app?

I have a rails app created with rails 6.0. I've been trying to deploy my app to heroku. However, heroku is giving the error: > heroku logs --tail

I think this is happening because I'm not using any cloud storage to store my images. I've searched on the internet how to do it with amazon s3, google cloud. But for all of them I was asked to give my requisites for later payment. Is it possible to use any cloud storage without showing personal payment details as I don't have any cards to pay right now, and PayPal also doesn't function in my country.

question from:https://stackoverflow.com/questions/65650765/how-do-i-use-google-cloud-storage-for-my-rails-app

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

When using the Google Cloud Platform (commonly known as “GCP”), each of your applications requires a project, and each project requires an active billing account. The payment methods available for the Cloud Billing accounts depend on your currency & country. In many countries, you can set up a credit card, debit card, or bank account as a primary payment method. So, as you can see credit card is required to use GCP services.

If you want just check if Google Cloud Storage suits your needs you can create a free GCP tier account, but it will still need your payment details.

Same situation with AWS - AWS Free Tier also requires you to provide credit card info.

You can also search the Internet for a service that will provide a virtual debit card or a remote bank account.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...