How to upload file to google cloud storage using Java?

Are any ways to add own domain to my website and host it on Google Cloud Storage other than buying premium Google Apps?

  • I am new to Google Cloud Storage. I want to try Google Cloud Storage to host my web-site(web-app). Is it possible to upload my website to Google Cloud Storage and connect own domain without Google Apps premium subscription? If yes, please check my steps below, how I tried to make it works, and let me know where I where wrong? I have created Cloud Console project for my web-app. My Project ID: rippl-io Then linked the domain of the web-app to existing Google Apps account as a secondary (as I were redirected to Google Apps after trying to add new domain from the cloud console). Domain name I am going to use: rippl.io In App Engine settings in Google Apps I am clicking "Add new url" and selecting rippl.io domain. But it returns error. I am guessing I can add only primary domain and that must be a reason of error. So, next, to change rippl.io to primary domain I need to upgrade Google Apps to premium. Are any other ways to add own domain to my website on Google Cloud Storage other than buying premium Google Apps? I am also trying to implement this instruction https://developers.google.com/storage/docs/website-configuration?hl=en but do not understand everything. Particularity step 4: "4.Apply a website configuration to your bucket. Based on your requirements, you can do this using the raw XML API or the https://developers.google.com/storage/docs/gsutil tool."

  • Answer:

Navneet Joneja at Quora Visit the source

Was this solution helpful to you?

Other answers

I'm not entirely sure this will work, but if you are using Google Cloud Storage's web site mode to host your site, you'll need to create a bucket that exactly matches your domain name. As you observed, if you use Google Apps for Business with your domain, you'll be able to create a bucket. If you are not, you won't be able to create a domain because that "action requires domain ownership verification". Here's what I suggest. If you're not using Google Apps, there's another way to verify your domain: use Google Webmaster Tools. https://www.google.com/webmasters/tools/home?hl=en As I mentioned, I am not entirely sure this will work, but you may be able to achieve domain verification through Webmaster Tools instead of using Google Apps, and then use GCS (Google Cloud Storage) with your personal account. As to your question about Website Configuration, there's no way to do this in the UI right now. You'll have to use gsutil or the API. As an aside, a new product I'm building (http://grow.io) will have the ability to deploy your site to GCS. One of its features will be automatic website configuration of GCS buckets so you won't have to worry about this. :)

Jeremy Weinstein

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.