Creating Google Cloud project in Eclipse

Today, I installed Google Cloud sdk on my ubuntu OS and then created a Cloud project in Eclipse.

  • Firstly, you need to create an account in Google cloud platform( https://cloud.google.com/) where you need to link your credit/debit card.
  • Then install Google cloud sdk in your systems. Follow the installation steps from this link, for respective OS. I just ran few commands for Ubuntu OS.
  • After successful installation, open your Eclipse.
  • Go to Help -> Eclipse Marketplace. A dialog appears.
  • Search for ‘google cloud’ and click Go. Install Google Cloud Tools which appears in search results.Screenshot from 2017-07-22 10-38-39

 

  • After the installation of tools, an icon for Google cloud platform appears in Menu bar.
  • Click that icon and select Create New Project -> Maven-based Google app engine standard java project.
  • Fill the Group ID and Artifact ID. Check the App engine API in the Libraries to add to build path section.Screenshot from 2017-07-22 10-52-20
  • Select Hello World template in next section.  Then click Finish.Screenshot from 2017-07-22 10-54-57
  • After the project is created in Eclipse, come to Google cloud platform.
  • Create a new project.Screenshot from 2017-07-22 10-58-41
  • After project is created, come back to eclipse.
  • Select the Project you created. Click on Google cloud platform icon in Menu bar and click on Deploy to app Engine Standard.
  • A dialog appears showing all your projects in Cloud platform. Select the one which you created now in google cloud platform.
  • Click Deploy.
  • Your project will be deployed on cloud.

Leave a comment